0s autopkgtest [13:00:56]: starting date and time: 2024-03-16 13:00:56+0000 0s autopkgtest [13:00:56]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [13:00:56]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1f8ox1h_/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:elfutils,src:curl,src:gnutls28,src:libarchive,src:libmicrohttpd,src:libpsl,src:nettle --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-arm64-12.secgroup --name adt-noble-arm64-glib2.0-20240316-130056-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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/ 129s autopkgtest [13:03:05]: testbed dpkg architecture: arm64 129s autopkgtest [13:03:05]: testbed apt version: 2.7.12 129s autopkgtest [13:03:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 130s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 131s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 131s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 132s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [473 kB] 132s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3650 kB] 132s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [646 kB] 132s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 132s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 132s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 132s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [3974 kB] 133s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 133s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [55.8 kB] 133s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 143s Fetched 9020 kB in 5s (1656 kB/s) 144s Reading package lists... 151s Reading package lists... 152s Building dependency tree... 152s Reading state information... 154s Calculating upgrade... 155s The following packages have been kept back: 155s curl 155s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 156s Reading package lists... 157s Building dependency tree... 157s Reading state information... 159s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 161s sh: Attempting to set up Debian/Ubuntu apt sources automatically 161s sh: Distribution appears to be Ubuntu 165s Reading package lists... 166s Building dependency tree... 166s Reading state information... 168s eatmydata is already the newest version (131-1). 168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 169s Reading package lists... 169s Building dependency tree... 169s Reading state information... 171s dbus is already the newest version (1.14.10-4ubuntu1). 171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 171s Reading package lists... 172s Building dependency tree... 172s Reading state information... 174s rng-tools-debian is already the newest version (2.4). 174s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 174s Reading package lists... 175s Building dependency tree... 175s Reading state information... 177s The following packages will be REMOVED: 177s cloud-init* python3-configobj* python3-debconf* 179s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 179s After this operation, 3252 kB disk space will be freed. 179s (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 ... 75850 files and directories currently installed.) 179s Removing cloud-init (24.1.1-0ubuntu1) ... 182s Removing python3-configobj (5.0.8-3) ... 182s Removing python3-debconf (1.5.86) ... 183s Processing triggers for man-db (2.12.0-3) ... 185s (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 ... 75461 files and directories currently installed.) 185s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 188s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 188s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 188s invoke-rc.d: policy-rc.d denied execution of try-restart. 189s Reading package lists... 189s Building dependency tree... 189s Reading state information... 191s linux-generic is already the newest version (6.8.0-11.11+1). 191s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 192s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 192s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 192s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 203s Reading package lists... 203s Reading package lists... 203s Building dependency tree... 203s Reading state information... 205s Calculating upgrade... 206s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 206s Reading package lists... 207s Building dependency tree... 207s Reading state information... 208s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 209s autopkgtest [13:04:25]: rebooting testbed after setup commands that affected boot 375s autopkgtest [13:07:11]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 378s autopkgtest [13:07:14]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 397s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 397s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 397s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 397s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 397s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 397s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 397s gpgv: Can't check signature: No public key 397s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 401s autopkgtest [13:07:37]: testing package glib2.0 version 2.79.2-1~ubuntu1 402s autopkgtest [13:07:38]: build not needed 405s autopkgtest [13:07:41]: test build: preparing testbed 407s Reading package lists... 408s Building dependency tree... 408s Reading state information... 409s Starting pkgProblemResolver with broken count: 0 409s Starting 2 pkgProblemResolver with broken count: 0 409s Done 411s The following additional packages will be installed: 411s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 411s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 411s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 411s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 411s libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 411s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 411s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 411s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 411s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 411s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 411s Suggested packages: 411s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 411s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 411s glibc-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 411s libxml2-utils libstdc++-13-doc 411s Recommended packages: 411s manpages manpages-dev libc-devtools 411s The following NEW packages will be installed: 411s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu 411s cpp-aarch64-linux-gnu g++ g++-13 g++-13-aarch64-linux-gnu 411s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu 411s gcc-aarch64-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 411s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 411s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 411s libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev libmpc3 411s libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 411s libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 411s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 411s rpcsvc-proto uuid-dev zlib1g-dev 411s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 411s Need to get 66.9 MB/66.9 MB of archives. 411s After this operation, 244 MB of additional disk space will be used. 411s Get:1 /tmp/autopkgtest.NjkkEa/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [720 B] 412s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 412s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 412s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 412s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 412s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 412s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 412s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 412s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 412s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 412s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 413s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 413s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 413s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 413s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 413s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 413s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 413s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 413s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 413s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 413s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 413s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 413s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 413s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 414s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 415s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 415s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 415s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 415s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 415s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 415s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 415s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 415s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 415s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 415s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgirepository-2.0-0 arm64 2.79.2-1~ubuntu1 [71.5 kB] 415s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-bin arm64 2.79.2-1~ubuntu1 [97.1 kB] 415s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 415s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 415s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev-bin arm64 2.79.2-1~ubuntu1 [210 kB] 415s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 415s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 415s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 415s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 415s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 415s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 415s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 415s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 415s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 415s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 415s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 415s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 415s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 416s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev arm64 2.79.2-1~ubuntu1 [1884 kB] 417s Fetched 66.9 MB in 4s (15.6 MB/s) 417s Selecting previously unselected package libc-dev-bin. 418s (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 ... 75406 files and directories currently installed.) 418s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 418s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 418s Selecting previously unselected package linux-libc-dev:arm64. 418s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_arm64.deb ... 418s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 419s Selecting previously unselected package libcrypt-dev:arm64. 419s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 419s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 419s Selecting previously unselected package libtirpc-dev:arm64. 419s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 419s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 419s Selecting previously unselected package libnsl-dev:arm64. 419s Preparing to unpack .../04-libnsl-dev_1.3.0-3_arm64.deb ... 419s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 419s Selecting previously unselected package rpcsvc-proto. 419s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 419s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 420s Selecting previously unselected package libc6-dev:arm64. 420s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_arm64.deb ... 420s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 420s Selecting previously unselected package libisl23:arm64. 420s Preparing to unpack .../07-libisl23_0.26-3_arm64.deb ... 420s Unpacking libisl23:arm64 (0.26-3) ... 420s Selecting previously unselected package libmpc3:arm64. 420s Preparing to unpack .../08-libmpc3_1.3.1-1_arm64.deb ... 420s Unpacking libmpc3:arm64 (1.3.1-1) ... 420s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 420s Preparing to unpack .../09-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 420s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 421s Selecting previously unselected package cpp-13. 421s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 421s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 421s Selecting previously unselected package cpp-aarch64-linux-gnu. 421s Preparing to unpack .../11-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 421s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 421s Selecting previously unselected package cpp. 422s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 422s Unpacking cpp (4:13.2.0-7ubuntu1) ... 422s Selecting previously unselected package libcc1-0:arm64. 422s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 422s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 422s Selecting previously unselected package libgomp1:arm64. 422s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 422s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 422s Selecting previously unselected package libitm1:arm64. 422s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_arm64.deb ... 422s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 422s Selecting previously unselected package libatomic1:arm64. 422s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 422s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 422s Selecting previously unselected package libasan8:arm64. 422s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_arm64.deb ... 422s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 422s Selecting previously unselected package liblsan0:arm64. 422s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 422s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 423s Selecting previously unselected package libtsan2:arm64. 423s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 423s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 423s Selecting previously unselected package libubsan1:arm64. 423s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 423s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 423s Selecting previously unselected package libhwasan0:arm64. 423s Preparing to unpack .../21-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 423s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 423s Selecting previously unselected package libgcc-13-dev:arm64. 423s Preparing to unpack .../22-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 423s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 424s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 424s Preparing to unpack .../23-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 424s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 426s Selecting previously unselected package gcc-13. 426s Preparing to unpack .../24-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 426s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 426s Selecting previously unselected package gcc-aarch64-linux-gnu. 426s Preparing to unpack .../25-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 426s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 426s Selecting previously unselected package gcc. 426s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 426s Unpacking gcc (4:13.2.0-7ubuntu1) ... 426s Selecting previously unselected package libstdc++-13-dev:arm64. 426s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 426s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 427s Selecting previously unselected package g++-13-aarch64-linux-gnu. 427s Preparing to unpack .../28-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 427s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 428s Selecting previously unselected package g++-13. 428s Preparing to unpack .../29-g++-13_13.2.0-17ubuntu2_arm64.deb ... 428s Unpacking g++-13 (13.2.0-17ubuntu2) ... 428s Selecting previously unselected package g++-aarch64-linux-gnu. 428s Preparing to unpack .../30-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 428s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 428s Selecting previously unselected package g++. 428s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 428s Unpacking g++ (4:13.2.0-7ubuntu1) ... 428s Selecting previously unselected package build-essential. 428s Preparing to unpack .../32-build-essential_12.10ubuntu1_arm64.deb ... 428s Unpacking build-essential (12.10ubuntu1) ... 428s Selecting previously unselected package libgirepository-2.0-0:arm64. 428s Preparing to unpack .../33-libgirepository-2.0-0_2.79.2-1~ubuntu1_arm64.deb ... 428s Unpacking libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 429s Selecting previously unselected package libglib2.0-bin. 429s Preparing to unpack .../34-libglib2.0-bin_2.79.2-1~ubuntu1_arm64.deb ... 429s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 429s Selecting previously unselected package libffi-dev:arm64. 429s Preparing to unpack .../35-libffi-dev_3.4.6-1_arm64.deb ... 429s Unpacking libffi-dev:arm64 (3.4.6-1) ... 429s Selecting previously unselected package python3-packaging. 429s Preparing to unpack .../36-python3-packaging_23.2-1_all.deb ... 429s Unpacking python3-packaging (23.2-1) ... 429s Selecting previously unselected package libglib2.0-dev-bin. 429s Preparing to unpack .../37-libglib2.0-dev-bin_2.79.2-1~ubuntu1_arm64.deb ... 429s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 429s Selecting previously unselected package uuid-dev:arm64. 429s Preparing to unpack .../38-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 429s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 429s Selecting previously unselected package libblkid-dev:arm64. 429s Preparing to unpack .../39-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 429s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 429s Selecting previously unselected package libsepol-dev:arm64. 429s Preparing to unpack .../40-libsepol-dev_3.5-2_arm64.deb ... 429s Unpacking libsepol-dev:arm64 (3.5-2) ... 430s Selecting previously unselected package libpcre2-16-0:arm64. 430s Preparing to unpack .../41-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 430s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 430s Selecting previously unselected package libpcre2-32-0:arm64. 430s Preparing to unpack .../42-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 430s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 430s Selecting previously unselected package libpcre2-posix3:arm64. 430s Preparing to unpack .../43-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 430s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 430s Selecting previously unselected package libpcre2-dev:arm64. 430s Preparing to unpack .../44-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 430s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 430s Selecting previously unselected package libselinux1-dev:arm64. 430s Preparing to unpack .../45-libselinux1-dev_3.5-2build1_arm64.deb ... 430s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 430s Selecting previously unselected package libmount-dev:arm64. 430s Preparing to unpack .../46-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 430s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 430s Selecting previously unselected package libpkgconf3:arm64. 430s Preparing to unpack .../47-libpkgconf3_1.8.1-2_arm64.deb ... 430s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 431s Selecting previously unselected package pkgconf-bin. 431s Preparing to unpack .../48-pkgconf-bin_1.8.1-2_arm64.deb ... 431s Unpacking pkgconf-bin (1.8.1-2) ... 431s Selecting previously unselected package pkgconf:arm64. 431s Preparing to unpack .../49-pkgconf_1.8.1-2_arm64.deb ... 431s Unpacking pkgconf:arm64 (1.8.1-2) ... 431s Selecting previously unselected package zlib1g-dev:arm64. 431s Preparing to unpack .../50-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 431s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 431s Selecting previously unselected package libglib2.0-dev:arm64. 431s Preparing to unpack .../51-libglib2.0-dev_2.79.2-1~ubuntu1_arm64.deb ... 431s Unpacking libglib2.0-dev:arm64 (2.79.2-1~ubuntu1) ... 432s Selecting previously unselected package autopkgtest-satdep. 432s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 432s Unpacking autopkgtest-satdep (0) ... 432s Setting up libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 432s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 432s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 432s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libffi-dev:arm64 (3.4.6-1) ... 432s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 432s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 432s Setting up python3-packaging (23.2-1) ... 432s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 432s Setting up libpkgconf3:arm64 (1.8.1-2) ... 432s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 432s Setting up libmpc3:arm64 (1.3.1-1) ... 432s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libsepol-dev:arm64 (3.5-2) ... 432s Setting up pkgconf-bin (1.8.1-2) ... 432s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 432s Setting up libnsl-dev:arm64 (1.3.0-3) ... 432s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 432s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libisl23:arm64 (0.26-3) ... 432s Setting up libc-dev-bin (2.39-0ubuntu2) ... 432s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 432s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 432s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 433s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 433s Setting up pkgconf:arm64 (1.8.1-2) ... 433s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 433s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 433s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 433s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 433s Setting up cpp-13 (13.2.0-17ubuntu2) ... 433s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 433s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 433s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 433s Setting up gcc-13 (13.2.0-17ubuntu2) ... 433s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 433s Setting up cpp (4:13.2.0-7ubuntu1) ... 433s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 433s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 433s Setting up g++-13 (13.2.0-17ubuntu2) ... 433s Setting up gcc (4:13.2.0-7ubuntu1) ... 433s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 433s Setting up libglib2.0-dev:arm64 (2.79.2-1~ubuntu1) ... 433s Setting up g++ (4:13.2.0-7ubuntu1) ... 433s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 433s Setting up build-essential (12.10ubuntu1) ... 433s Processing triggers for libc-bin (2.39-0ubuntu2) ... 433s Processing triggers for man-db (2.12.0-3) ... 437s Processing triggers for install-info (7.1-3) ... 437s Processing triggers for libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 437s No schema files found: doing nothing. 437s Setting up autopkgtest-satdep (0) ... 445s (Reading database ... 79194 files and directories currently installed.) 445s Removing autopkgtest-satdep (0) ... 447s autopkgtest [13:08:23]: test build: [----------------------- 447s + mode=dynamic 447s + getopt -o --long static -n debian/tests/build -- 447s + getopt_temp= -- 447s + eval set -- -- 447s + set -- -- 447s + true 447s + shift 447s + break 447s + mktemp -d 447s + WORKDIR=/tmp/tmp.PIhtaNZtX2 447s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 447s + cd /tmp/tmp.PIhtaNZtX2 447s + [ -n ] 447s + CROSS_COMPILE= 447s + cat 447s + cat 447s + cat 447s + cat 447s + cat 447s + cat 447s + cflags= 447s + pcflags= 447s + packages=glib-2.0 447s + pkg-config --cflags --libs glib-2.0 447s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lglib-2.0 447s + echo build (glib, dynamic): OK 447s + [ -x glib-dynamic ] 447s + foo=bar ./glib-dynamic 447s build (glib, dynamic): OK 447s + echo run (glib, dynamic): OK 447s run (glib, dynamic): OK 447s + cflags= 447s + pcflags= 447s + packages=gobject-2.0 447s + pkg-config --cflags --libs gobject-2.0 447s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 448s build (gobject, dynamic): OK 448s + echo build (gobject, dynamic): OK 448s + [ -x gobject-dynamic ] 448s + foo=bar ./gobject-dynamic 448s + run (gobject, dynamic): OK 448s echo run (gobject, dynamic): OK 448s + cflags= 448s + pcflags= 448s + packages=gio-2.0 448s + pkg-config --cflags --libs gio-2.0 448s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 449s + build (gio, dynamic): OK 449s echo build (gio, dynamic): OK 449s + [ -x gio-dynamic ] 449s + foo=bar ./gio-dynamic 449s + echo run (gio, dynamic): OK 449s + cflags= 449s + pcflags= 449s + packages=gio-unix-2.0 449s run (gio, dynamic): OK 449s + pkg-config --cflags --libs gio-unix-2.0 449s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 450s build (gio-unix, dynamic): OK 450s + echo build (gio-unix, dynamic): OK 450s + [ -x gio-unix-dynamic ] 450s + foo=bar ./gio-unix-dynamic 450s + run (gio-unix, dynamic): OK 450s echo run (gio-unix, dynamic): OK 450s + cflags= 450s + pcflags= 450s + packages=gmodule-2.0 450s + pkg-config --cflags --libs gmodule-2.0 450s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 450s build (gmodule, dynamic): OK 450s + echo build (gmodule, dynamic): OK 450s + [ -x gmodule-dynamic ] 450s + foo=bar ./gmodule-dynamic 450s + echo run (gmodule, dynamic): OK 450s + cflags= 450s + pcflags= 450s + packages=gthread-2.0 450s run (gmodule, dynamic): OK 450s + pkg-config --cflags --libs gthread-2.0 450s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 451s build (gthread, dynamic): OK 451s + echo build (gthread, dynamic): OK 451s + [ -x gthread-dynamic ] 451s + foo=bar ./gthread-dynamic 451s + run (gthread, dynamic): OK 451s echo run (gthread, dynamic): OK 451s + rm -rf /tmp/tmp.PIhtaNZtX2 451s autopkgtest [13:08:27]: test build: -----------------------] 452s autopkgtest [13:08:28]: test build: - - - - - - - - - - results - - - - - - - - - - 452s build PASS (superficial) 452s autopkgtest [13:08:28]: test build-static: preparing testbed 454s Reading package lists... 455s Building dependency tree... 455s Reading state information... 456s Starting pkgProblemResolver with broken count: 0 456s Starting 2 pkgProblemResolver with broken count: 0 456s Done 458s The following NEW packages will be installed: 458s autopkgtest-satdep 458s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 458s Need to get 0 B/720 B of archives. 458s After this operation, 0 B of additional disk space will be used. 458s Get:1 /tmp/autopkgtest.NjkkEa/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [720 B] 460s Selecting previously unselected package autopkgtest-satdep. 460s (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 ... 79194 files and directories currently installed.) 460s Preparing to unpack .../2-autopkgtest-satdep.deb ... 460s Unpacking autopkgtest-satdep (0) ... 460s Setting up autopkgtest-satdep (0) ... 466s (Reading database ... 79194 files and directories currently installed.) 466s Removing autopkgtest-satdep (0) ... 467s autopkgtest [13:08:43]: test build-static: [----------------------- 467s + mode=dynamic 467s + getopt -o --long static -n debian/tests/build -- --static 467s + getopt_temp= --static -- 467s + eval set -- --static -- 467s + set -- --static -- 467s + true 467s + mode=static 467s + shift 467s + continue 467s + true 467s + shift 467s + break 467s + mktemp -d 467s + WORKDIR=/tmp/tmp.ttCQD70fc7 467s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 467s + cd /tmp/tmp.ttCQD70fc7 467s + [ -n ] 467s + CROSS_COMPILE= 467s + cat 467s + cat 467s + cat 467s + cat 467s + cat 467s + cat 467s + cflags= 467s + pcflags= 467s + packages=glib-2.0 467s + cflags=-static 467s + pcflags=--static 467s + pkg-config --static --cflags --libs glib-2.0 467s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 468s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 468s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 468s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 468s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 468s + echo build (glib, static): OK 468s build (glib, static): OK 468s + [ -x glib-static ]run (glib, static): OK 468s 468s + foo=bar ./glib-static 468s + echo run (glib, static): OK 468s + cflags= 468s + pcflags= 468s + packages=gobject-2.0 468s + cflags=-static 468s + pcflags=--static 468s + pkg-config --static --cflags --libs gobject-2.0 468s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 469s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 469s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 469s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 469s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 469s + echo build (gobject, static): OK 469s build (gobject, static): OK 469s + [ -x gobject-static ]run (gobject, static): OK 469s 469s + foo=bar ./gobject-static 469s + echo run (gobject, static): OK 469s + cflags= 469s + pcflags= 469s + packages=gio-2.0 469s + cflags=-static 469s + pcflags=--static 469s + continue 469s + cflags= 469s + pcflags= 469s + packages=gio-unix-2.0 469s + cflags=-static 469s + pcflags=--static 469s + continue 469s + cflags= 469s + pcflags= 469s + packages=gmodule-2.0 469s + cflags=-static 469s + pcflags=--static 469s + pkg-config --static --cflags --libs gmodule-2.0 469s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 469s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 469s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 469s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 469s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 469s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 469s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 470s + echo build (gmodule, static): OK 470s build (gmodule, static): OK 470s + [ -x gmodule-static ] 470s run (gmodule, static): OK 470s + foo=bar ./gmodule-static 470s + echo run (gmodule, static): OK 470s + cflags= 470s + pcflags= 470s + packages=gthread-2.0 470s + cflags=-static 470s + pcflags=--static 470s + pkg-config --static --cflags --libs gthread-2.0 470s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 470s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 470s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 470s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 470s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s + echo build (gthread, static): OK 471s + [build (gthread, static): OK 471s -x gthread-static ] 471s + foo=bar ./gthread-static 471s + run (gthread, static): OK 471s echo run (gthread, static): OK 471s + rm -rf /tmp/tmp.ttCQD70fc7 471s autopkgtest [13:08:47]: test build-static: -----------------------] 472s autopkgtest [13:08:48]: test build-static: - - - - - - - - - - results - - - - - - - - - - 472s build-static PASS (superficial) 472s autopkgtest [13:08:48]: test installed-tests: preparing testbed 625s autopkgtest [13:11:21]: testbed dpkg architecture: arm64 626s autopkgtest [13:11:22]: testbed apt version: 2.7.12 626s autopkgtest [13:11:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 627s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 628s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [474 kB] 628s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 628s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 628s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3690 kB] 629s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [646 kB] 629s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 629s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 629s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 629s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4006 kB] 629s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 629s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [55.8 kB] 629s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 640s Fetched 9092 kB in 5s (1746 kB/s) 640s Reading package lists... 646s Reading package lists... 647s Building dependency tree... 647s Reading state information... 648s Calculating upgrade... 649s The following packages have been kept back: 649s curl 649s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 650s Reading package lists... 650s Building dependency tree... 650s Reading state information... 652s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 654s sh: Attempting to set up Debian/Ubuntu apt sources automatically 654s sh: Distribution appears to be Ubuntu 657s Reading package lists... 658s Building dependency tree... 658s Reading state information... 660s eatmydata is already the newest version (131-1). 660s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 660s Reading package lists... 660s Building dependency tree... 661s Reading state information... 662s dbus is already the newest version (1.14.10-4ubuntu1). 662s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 662s Reading package lists... 663s Building dependency tree... 663s Reading state information... 665s rng-tools-debian is already the newest version (2.4). 665s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 665s Reading package lists... 666s Building dependency tree... 666s Reading state information... 667s The following packages will be REMOVED: 667s cloud-init* python3-configobj* python3-debconf* 668s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 668s After this operation, 3252 kB disk space will be freed. 669s (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 ... 75850 files and directories currently installed.) 669s Removing cloud-init (24.1.1-0ubuntu1) ... 671s Removing python3-configobj (5.0.8-3) ... 671s Removing python3-debconf (1.5.86) ... 672s Processing triggers for man-db (2.12.0-3) ... 673s (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 ... 75461 files and directories currently installed.) 673s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 675s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 675s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 675s invoke-rc.d: policy-rc.d denied execution of try-restart. 676s Reading package lists... 677s Building dependency tree... 677s Reading state information... 678s linux-generic is already the newest version (6.8.0-11.11+1). 678s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 679s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 679s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 679s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 688s Reading package lists... 688s Reading package lists... 689s Building dependency tree... 689s Reading state information... 690s Calculating upgrade... 691s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 691s Reading package lists... 692s Building dependency tree... 692s Reading state information... 694s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 694s autopkgtest [13:12:30]: rebooting testbed after setup commands that affected boot 863s Reading package lists... 864s Building dependency tree... 864s Reading state information... 865s Starting pkgProblemResolver with broken count: 0 865s Starting 2 pkgProblemResolver with broken count: 0 865s Done 867s The following additional packages will be installed: 867s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 867s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgirepository-2.0-0 libgl1 867s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 867s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 867s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 867s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 867s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 867s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 867s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 867s Suggested packages: 867s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 867s Recommended packages: 867s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 867s xfonts-base 867s The following NEW packages will be installed: 867s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 867s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 867s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 867s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 867s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 867s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 867s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 867s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 867s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 867s xvfb 867s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 867s Need to get 38.7 MB/38.7 MB of archives. 867s After this operation, 194 MB of additional disk space will be used. 867s Get:1 /tmp/autopkgtest.NjkkEa/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 867s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 dbus-x11 arm64 1.14.10-4ubuntu1 [23.2 kB] 868s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 desktop-file-utils arm64 0.26-1ubuntu5 [53.5 kB] 868s Get:4 http://ftpmaster.internal/ubuntu noble/universe arm64 gnome-desktop-testing arm64 2021.1-3 [15.7 kB] 868s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 868s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 868s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 868s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.8-1 [13.9 kB] 868s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libgirepository-2.0-0 arm64 2.79.2-1~ubuntu1 [71.5 kB] 868s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 868s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 868s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 871s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 871s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 871s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-bin arm64 2.79.2-1~ubuntu1 [97.1 kB] 871s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 871s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev-bin arm64 2.79.2-1~ubuntu1 [210 kB] 871s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 871s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 libglib2.0-tests arm64 2.79.2-1~ubuntu1 [2053 kB] 871s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 871s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 871s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 871s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 871s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 871s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 871s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 871s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 871s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 871s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 871s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 871s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 871s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 871s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 872s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 872s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 872s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 872s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 872s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] 872s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libxpm4 arm64 1:3.5.17-1 [34.5 kB] 872s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] 872s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 872s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 872s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 872s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 872s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 x11-xkb-utils arm64 7.7+8 [165 kB] 872s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 872s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 872s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 872s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 872s Get:50 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 873s Fetched 38.7 MB in 5s (8405 kB/s) 873s Selecting previously unselected package dbus-x11. 874s (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 ... 75406 files and directories currently installed.) 874s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_arm64.deb ... 874s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 874s Selecting previously unselected package desktop-file-utils. 874s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_arm64.deb ... 874s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 874s Selecting previously unselected package gnome-desktop-testing. 874s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_arm64.deb ... 874s Unpacking gnome-desktop-testing (2021.1-3) ... 874s Selecting previously unselected package libdrm-amdgpu1:arm64. 874s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 874s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 874s Selecting previously unselected package libdrm-nouveau2:arm64. 874s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_arm64.deb ... 874s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 874s Selecting previously unselected package libdrm-radeon1:arm64. 874s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_arm64.deb ... 874s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 874s Selecting previously unselected package libfontenc1:arm64. 874s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_arm64.deb ... 874s Unpacking libfontenc1:arm64 (1:1.1.8-1) ... 874s Selecting previously unselected package libgirepository-2.0-0:arm64. 874s Preparing to unpack .../07-libgirepository-2.0-0_2.79.2-1~ubuntu1_arm64.deb ... 874s Unpacking libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 874s Selecting previously unselected package libvulkan1:arm64. 874s Preparing to unpack .../08-libvulkan1_1.3.275.0-1_arm64.deb ... 874s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 875s Selecting previously unselected package libglapi-mesa:arm64. 875s Preparing to unpack .../09-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 875s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 875s Selecting previously unselected package libllvm17:arm64. 875s Preparing to unpack .../10-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 875s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 877s Selecting previously unselected package libxcb-dri3-0:arm64. 877s Preparing to unpack .../11-libxcb-dri3-0_1.15-1_arm64.deb ... 877s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 877s Selecting previously unselected package libgl1-mesa-dri:arm64. 877s Preparing to unpack .../12-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 877s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 878s Selecting previously unselected package libglib2.0-bin. 878s Preparing to unpack .../13-libglib2.0-bin_2.79.2-1~ubuntu1_arm64.deb ... 878s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 878s Selecting previously unselected package python3-packaging. 878s Preparing to unpack .../14-python3-packaging_23.2-1_all.deb ... 878s Unpacking python3-packaging (23.2-1) ... 878s Selecting previously unselected package libglib2.0-dev-bin. 878s Preparing to unpack .../15-libglib2.0-dev-bin_2.79.2-1~ubuntu1_arm64.deb ... 878s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 878s Selecting previously unselected package python3-dbusmock. 878s Preparing to unpack .../16-python3-dbusmock_0.31.1-1_all.deb ... 878s Unpacking python3-dbusmock (0.31.1-1) ... 878s Selecting previously unselected package libglib2.0-tests. 879s Preparing to unpack .../17-libglib2.0-tests_2.79.2-1~ubuntu1_arm64.deb ... 879s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 880s Selecting previously unselected package libx11-xcb1:arm64. 880s Preparing to unpack .../18-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 880s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 880s Selecting previously unselected package libxcb-dri2-0:arm64. 880s Preparing to unpack .../19-libxcb-dri2-0_1.15-1_arm64.deb ... 880s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 880s Selecting previously unselected package libxcb-glx0:arm64. 880s Preparing to unpack .../20-libxcb-glx0_1.15-1_arm64.deb ... 880s Unpacking libxcb-glx0:arm64 (1.15-1) ... 880s Selecting previously unselected package libxcb-present0:arm64. 880s Preparing to unpack .../21-libxcb-present0_1.15-1_arm64.deb ... 880s Unpacking libxcb-present0:arm64 (1.15-1) ... 880s Selecting previously unselected package libxcb-randr0:arm64. 880s Preparing to unpack .../22-libxcb-randr0_1.15-1_arm64.deb ... 880s Unpacking libxcb-randr0:arm64 (1.15-1) ... 880s Selecting previously unselected package libxcb-shm0:arm64. 880s Preparing to unpack .../23-libxcb-shm0_1.15-1_arm64.deb ... 880s Unpacking libxcb-shm0:arm64 (1.15-1) ... 880s Selecting previously unselected package libxcb-sync1:arm64. 880s Preparing to unpack .../24-libxcb-sync1_1.15-1_arm64.deb ... 880s Unpacking libxcb-sync1:arm64 (1.15-1) ... 880s Selecting previously unselected package libxcb-xfixes0:arm64. 880s Preparing to unpack .../25-libxcb-xfixes0_1.15-1_arm64.deb ... 880s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 881s Selecting previously unselected package libxfixes3:arm64. 881s Preparing to unpack .../26-libxfixes3_1%3a6.0.0-2_arm64.deb ... 881s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 881s Selecting previously unselected package libxshmfence1:arm64. 881s Preparing to unpack .../27-libxshmfence1_1.3-1build4_arm64.deb ... 881s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 881s Selecting previously unselected package libxxf86vm1:arm64. 881s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 881s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 881s Selecting previously unselected package libglx-mesa0:arm64. 881s Preparing to unpack .../29-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 881s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 881s Selecting previously unselected package x11-common. 881s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu2_all.deb ... 881s Unpacking x11-common (1:7.7+23ubuntu2) ... 881s Selecting previously unselected package libice6:arm64. 881s Preparing to unpack .../31-libice6_2%3a1.0.10-1build2_arm64.deb ... 881s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 881s Selecting previously unselected package libpixman-1-0:arm64. 881s Preparing to unpack .../32-libpixman-1-0_0.42.2-1_arm64.deb ... 881s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 881s Selecting previously unselected package libsm6:arm64. 881s Preparing to unpack .../33-libsm6_2%3a1.2.3-1build2_arm64.deb ... 881s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 882s Selecting previously unselected package libunwind8:arm64. 882s Preparing to unpack .../34-libunwind8_1.6.2-3_arm64.deb ... 882s Unpacking libunwind8:arm64 (1.6.2-3) ... 882s Selecting previously unselected package libxt6:arm64. 882s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_arm64.deb ... 882s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 882s Selecting previously unselected package libxmu6:arm64. 882s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_arm64.deb ... 882s Unpacking libxmu6:arm64 (2:1.1.3-3) ... 882s Selecting previously unselected package libxpm4:arm64. 882s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_arm64.deb ... 882s Unpacking libxpm4:arm64 (1:3.5.17-1) ... 882s Selecting previously unselected package libxaw7:arm64. 882s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_arm64.deb ... 882s Unpacking libxaw7:arm64 (2:1.0.14-1) ... 882s Selecting previously unselected package libxfont2:arm64. 882s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_arm64.deb ... 882s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 882s Selecting previously unselected package libxkbfile1:arm64. 882s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 882s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 882s Selecting previously unselected package libxrender1:arm64. 882s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 882s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 882s Selecting previously unselected package libxrandr2:arm64. 883s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_arm64.deb ... 883s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 883s Selecting previously unselected package x11-xkb-utils. 883s Preparing to unpack .../43-x11-xkb-utils_7.7+8_arm64.deb ... 883s Unpacking x11-xkb-utils (7.7+8) ... 883s Selecting previously unselected package xserver-common. 883s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 883s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 883s Selecting previously unselected package libglvnd0:arm64. 883s Preparing to unpack .../45-libglvnd0_1.7.0-1_arm64.deb ... 883s Unpacking libglvnd0:arm64 (1.7.0-1) ... 883s Selecting previously unselected package libglx0:arm64. 883s Preparing to unpack .../46-libglx0_1.7.0-1_arm64.deb ... 883s Unpacking libglx0:arm64 (1.7.0-1) ... 883s Selecting previously unselected package libgl1:arm64. 883s Preparing to unpack .../47-libgl1_1.7.0-1_arm64.deb ... 883s Unpacking libgl1:arm64 (1.7.0-1) ... 883s Selecting previously unselected package xvfb. 883s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 883s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 884s Selecting previously unselected package autopkgtest-satdep. 884s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 884s Unpacking autopkgtest-satdep (0) ... 884s Setting up gnome-desktop-testing (2021.1-3) ... 884s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 884s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 884s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 884s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 884s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 884s Setting up desktop-file-utils (0.26-1ubuntu5) ... 884s Setting up libxpm4:arm64 (1:3.5.17-1) ... 884s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 884s Setting up libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 884s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 884s Setting up libglvnd0:arm64 (1.7.0-1) ... 884s Setting up libxcb-glx0:arm64 (1.15-1) ... 884s Setting up x11-common (1:7.7+23ubuntu2) ... 886s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 886s Setting up libxcb-shm0:arm64 (1.15-1) ... 886s Setting up libunwind8:arm64 (1.6.2-3) ... 886s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 886s Setting up libxcb-present0:arm64 (1.15-1) ... 886s Setting up libfontenc1:arm64 (1:1.1.8-1) ... 886s Setting up python3-packaging (23.2-1) ... 886s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 886s Setting up libxcb-sync1:arm64 (1.15-1) ... 886s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 886s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 886s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 886s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 886s Setting up libxshmfence1:arm64 (1.3-1build4) ... 886s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 886s Setting up libxcb-randr0:arm64 (1.15-1) ... 886s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 886s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 886s Setting up libxfont2:arm64 (1:2.0.6-1) ... 886s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 886s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 887s Setting up libice6:arm64 (2:1.0.10-1build2) ... 887s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 887s Setting up python3-dbusmock (0.31.1-1) ... 888s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 889s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 889s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 889s Setting up libglx0:arm64 (1.7.0-1) ... 889s Setting up libgl1:arm64 (1.7.0-1) ... 889s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 889s Setting up libxmu6:arm64 (2:1.1.3-3) ... 889s Setting up libxaw7:arm64 (2:1.0.14-1) ... 889s Setting up x11-xkb-utils (7.7+8) ... 889s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 889s Setting up xvfb (2:21.1.11-2ubuntu1) ... 889s Setting up autopkgtest-satdep (0) ... 889s Processing triggers for man-db (2.12.0-3) ... 890s Processing triggers for libc-bin (2.39-0ubuntu2) ... 899s (Reading database ... 76889 files and directories currently installed.) 899s Removing autopkgtest-satdep (0) ... 905s autopkgtest [13:16:01]: test installed-tests: [----------------------- 905s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 905s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 905s group entry: ubuntu:x:1000: 905s Environment: 905s ADTTMP=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp 905s ADT_ARTIFACTS=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts 905s ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2 905s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts 905s AUTOPKGTEST_TESTBED_ARCH=arm64 905s AUTOPKGTEST_TEST_ARCH=arm64 905s AUTOPKGTEST_TMP=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp 905s DEBIAN_FRONTEND=noninteractive 905s DEB_BUILD_OPTIONS=parallel=1 905s GIO_USE_VFS=local 905s GIO_USE_VOLUME_MONITOR=unix 905s HOME=/home/ubuntu 905s LANG=C.UTF-8 905s LOGNAME=ubuntu 905s MAIL=/var/mail/ubuntu 905s OLDPWD=/home/ubuntu 905s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 905s PWD=/tmp/autopkgtest.NjkkEa/build.7J4/src 905s SHELL=/bin/bash 905s SHLVL=1 905s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests 905s SUDO_GID=1000 905s SUDO_UID=1000 905s SUDO_USER=ubuntu 905s TERM=linux 905s USER=ubuntu 905s XDG_RUNTIME_DIR=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp 905s http_proxy=http://squid.internal:3128 905s https_proxy=http://squid.internal:3128 905s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 905s run-with-locales: de_DE=ISO-8859-1... 905s Character set: ISO-8859-1 905s Source file: de_DE 905s Output: /tmp/tmp.wXjFUF15kh/de_DE 907s run-with-locales: de_DE.utf8... 907s Character set: UTF-8 907s Source file: de_DE 907s Output: /tmp/tmp.wXjFUF15kh/de_DE.utf8 917s run-with-locales: de_DE@euro.utf8... 917s Character set: UTF-8 917s Source file: de_DE@euro 917s Output: /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8 927s run-with-locales: el_GR.utf8... 927s Character set: UTF-8 927s Source file: el_GR 927s Output: /tmp/tmp.wXjFUF15kh/el_GR.utf8 938s run-with-locales: en_GB=ISO-8859-1... 938s Character set: ISO-8859-1 938s Source file: en_GB 938s Output: /tmp/tmp.wXjFUF15kh/en_GB 939s run-with-locales: en_GB.utf8... 939s Character set: UTF-8 939s Source file: en_GB 939s Output: /tmp/tmp.wXjFUF15kh/en_GB.utf8 949s run-with-locales: en_US=ISO-8859-1... 949s Character set: ISO-8859-1 949s Source file: en_US 949s Output: /tmp/tmp.wXjFUF15kh/en_US 950s run-with-locales: en_US.utf8... 950s Character set: UTF-8 950s Source file: en_US 950s Output: /tmp/tmp.wXjFUF15kh/en_US.utf8 959s run-with-locales: es_ES.utf8... 959s Character set: UTF-8 959s Source file: es_ES 959s Output: /tmp/tmp.wXjFUF15kh/es_ES.utf8 969s run-with-locales: fa_IR=UTF-8... 969s Character set: UTF-8 969s Source file: fa_IR 969s Output: /tmp/tmp.wXjFUF15kh/fa_IR 979s run-with-locales: fa_IR.utf8... 979s Character set: UTF-8 979s Source file: fa_IR 979s Output: /tmp/tmp.wXjFUF15kh/fa_IR.utf8 988s run-with-locales: fr_FR.utf8... 988s Character set: UTF-8 988s Source file: fr_FR 988s Output: /tmp/tmp.wXjFUF15kh/fr_FR.utf8 998s run-with-locales: hr_HR.utf8... 998s Character set: UTF-8 998s Source file: hr_HR 998s Output: /tmp/tmp.wXjFUF15kh/hr_HR.utf8 1008s run-with-locales: ja_JP.utf8... 1008s Character set: UTF-8 1008s Source file: ja_JP 1008s Output: /tmp/tmp.wXjFUF15kh/ja_JP.utf8 1011s run-with-locales: ja_JP.EUC-JP... 1011s Character set: EUC-JP 1011s Source file: ja_JP 1011s Output: /tmp/tmp.wXjFUF15kh/ja_JP.eucjp 1014s run-with-locales: lt_LT.utf8... 1014s Character set: UTF-8 1014s Source file: lt_LT 1014s Output: /tmp/tmp.wXjFUF15kh/lt_LT.utf8 1024s run-with-locales: pl_PL=ISO-8859-2... 1024s Character set: ISO-8859-2 1024s Source file: pl_PL 1024s Output: /tmp/tmp.wXjFUF15kh/pl_PL 1025s run-with-locales: pl_PL.ISO-8859-2... 1025s Character set: ISO-8859-2 1025s Source file: pl_PL 1025s Output: /tmp/tmp.wXjFUF15kh/pl_PL.iso88592 1027s run-with-locales: pl_PL.utf8... 1027s Character set: UTF-8 1027s Source file: pl_PL 1027s Output: /tmp/tmp.wXjFUF15kh/pl_PL.utf8 1037s run-with-locales: ru_RU=ISO-8859-5... 1037s Character set: ISO-8859-5 1037s Source file: ru_RU 1037s Output: /tmp/tmp.wXjFUF15kh/ru_RU 1038s run-with-locales: ru_RU.utf8... 1038s Character set: UTF-8 1038s Source file: ru_RU 1038s Output: /tmp/tmp.wXjFUF15kh/ru_RU.utf8 1049s run-with-locales: sr_RS=UTF-8... 1049s Character set: UTF-8 1049s Source file: sr_RS 1049s Output: /tmp/tmp.wXjFUF15kh/sr_RS 1060s run-with-locales: sr_RS@latin=UTF-8... 1060s Character set: UTF-8 1060s Source file: sr_RS@latin 1060s Output: /tmp/tmp.wXjFUF15kh/sr_RS@latin 1071s run-with-locales: sv_SE=ISO-8859-1... 1071s Character set: ISO-8859-1 1071s Source file: sv_SE 1071s Output: /tmp/tmp.wXjFUF15kh/sv_SE 1072s run-with-locales: sv_SE.utf8... 1072s Character set: UTF-8 1072s Source file: sv_SE 1072s Output: /tmp/tmp.wXjFUF15kh/sv_SE.utf8 1082s run-with-locales: tr_TR=ISO-8859-9... 1082s Character set: ISO-8859-9 1082s Source file: tr_TR 1082s Output: /tmp/tmp.wXjFUF15kh/tr_TR 1083s run-with-locales: tr_TR.utf8... 1083s Character set: UTF-8 1083s Source file: tr_TR 1083s Output: /tmp/tmp.wXjFUF15kh/tr_TR.utf8 1094s run-with-locales: tt_RU=UTF-8... 1094s Character set: UTF-8 1094s Source file: tt_RU 1094s Output: /tmp/tmp.wXjFUF15kh/tt_RU 1104s run-with-locales: tt_RU.utf8... 1104s Character set: UTF-8 1104s Source file: tt_RU 1104s Output: /tmp/tmp.wXjFUF15kh/tt_RU.utf8 1114s run-with-locales: tt_RU@iqtelif=UTF-8... 1114s Character set: UTF-8 1114s Source file: tt_RU@iqtelif 1114s Output: /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif 1124s /tmp/tmp.wXjFUF15kh 1124s /tmp/tmp.wXjFUF15kh/en_US 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/en_US/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/de_DE 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/de_DE/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/tr_TR.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/en_GB.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/sr_RS 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/sr_RS/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/sr_RS@latin/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/fa_IR 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/fa_IR/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/fa_IR.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/fr_FR.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/ja_JP.eucjp/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/es_ES.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/el_GR.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/lt_LT.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/ru_RU.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/de_DE@euro.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/en_GB 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/en_GB/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/hr_HR.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/pl_PL.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/ru_RU 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/ru_RU/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/sv_SE 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/sv_SE/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/en_US.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/sv_SE.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/de_DE.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/tr_TR 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/tr_TR/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/pl_PL.iso88592/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/tt_RU.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/pl_PL 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/pl_PL/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/ja_JP.utf8/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/tt_RU 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/tt_RU/LC_TELEPHONE 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_CTYPE 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_PAPER 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_COLLATE 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_IDENTIFICATION 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_MEASUREMENT 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_MONETARY 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_TIME 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_NAME 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_NUMERIC 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_ADDRESS 1124s /tmp/tmp.wXjFUF15kh/tt_RU@iqtelif/LC_TELEPHONE 1124s 1..315 1124s # Running test: glib/gdbus-connection-flush.test 1124s TAP version 13 1124s # random seed: R02S4fec4200cddb9bced1b1db688de97afc 1124s 1..2 1124s # Start of gdbus tests 1124s # Start of connection tests 1124s # Start of flush tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/busy/.dirs/runtime 1124s ok 1 /gdbus/connection/flush/busy 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_UZEKK2/gdbus/connection/flush/idle/.dirs/runtime 1124s ok 2 /gdbus/connection/flush/idle 1124s # End of flush tests 1124s # End of connection tests 1124s # End of gdbus tests 1124s ok - glib/gdbus-connection-flush.test 1124s # Running test: glib/atomic-c-90.test 1124s TAP version 13 1124s # random seed: R02S54b09ddaed560e21ae3d09bc54f5f34e 1124s 1..2 1124s # Start of atomic tests 1124s ok 1 /atomic/types 1125s ok 2 /atomic/threaded 1125s # slow test /atomic/threaded executed in 0.69 secs 1125s # End of atomic tests 1125s ok - glib/atomic-c-90.test 1125s # Running test: glib/base64.test 1125s TAP version 13 1125s # random seed: R02Sfdc022900eed877e55eaf9ea9c931094 1125s 1..28 1125s # Start of base64 tests 1125s ok 1 /base64/encode 1125s ok 2 /base64/decode 1125s ok 3 /base64/decode-inplace 1125s ok 4 /base64/encode-decode 1125s # Start of full tests 1125s ok 5 /base64/full/1 1125s ok 6 /base64/full/2 1125s ok 7 /base64/full/3 1125s ok 8 /base64/full/4 1125s # End of full tests 1125s # Start of encode tests 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1125s ok 9 /base64/encode/empty 1125s # Start of incremental tests 1125s # Start of small-block tests 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1125s ok 10 /base64/encode/incremental/small-block/1 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1125s ok 11 /base64/encode/incremental/small-block/2 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1125s ok 12 /base64/encode/incremental/small-block/3 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1125s ok 13 /base64/encode/incremental/small-block/4 1125s # End of small-block tests 1125s # End of incremental tests 1125s # End of encode tests 1125s # Start of incremental tests 1125s # Start of nobreak tests 1125s ok 14 /base64/incremental/nobreak/1 1125s ok 15 /base64/incremental/nobreak/2 1125s ok 16 /base64/incremental/nobreak/3 1125s ok 17 /base64/incremental/nobreak/4-a 1125s ok 18 /base64/incremental/nobreak/4-b 1125s ok 19 /base64/incremental/nobreak/4-c 1125s # End of nobreak tests 1125s # Start of break tests 1125s ok 20 /base64/incremental/break/1 1125s ok 21 /base64/incremental/break/2 1125s ok 22 /base64/incremental/break/3 1125s # End of break tests 1125s # Start of smallblock tests 1125s ok 23 /base64/incremental/smallblock/1 1125s ok 24 /base64/incremental/smallblock/2 1125s ok 25 /base64/incremental/smallblock/3 1125s ok 26 /base64/incremental/smallblock/4 1125s # End of smallblock tests 1125s # End of incremental tests 1125s # Start of decode tests 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1125s ok 27 /base64/decode/empty 1125s # End of decode tests 1125s # Start of encode-decode tests 1125s # Vector 0: 1125s # Vector 1: f 1125s # Vector 2: fo 1125s # Vector 3: foo 1125s # Vector 4: foob 1125s # Vector 5: fooba 1125s # Vector 6: foobar 1125s ok 28 /base64/encode-decode/rfc4648 1125s # End of encode-decode tests 1125s # End of base64 tests 1125s ok - glib/base64.test 1125s # Running test: glib/utils.test 1125s TAP version 13 1125s # random seed: R02S72be13c21a89b3ea6212111af4d75509 1125s 1..40 1125s # Start of utils tests 1125s ok 1 /utils/language-names 1125s ok 2 /utils/locale-variants 1125s ok 3 /utils/version 1125s ok 4 /utils/appname 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1125s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1125s ok 5 /utils/prgname-thread-safety 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1125s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1125s ok 6 /utils/tmpdir 1125s ok 7 /utils/basic_bits 1125s ok 8 /utils/bits 1125s ok 9 /utils/swap 1125s ok 10 /utils/find-program 1125s ok 11 /utils/find-program-for-path 1125s ok 12 /utils/debug 1125s ok 13 /utils/codeset 1125s ok 14 /utils/codeset2 1125s ok 15 /utils/console-charset 1125s ok 16 /utils/gettext 1125s ok 17 /utils/username 1125s ok 18 /utils/realname 1125s ok 19 /utils/hostname 1125s ok 20 /utils/xdgdirs 1125s ok 21 /utils/specialdir 1125s # NAME: Ubuntu 1125s ok 22 /utils/os-info 1125s ok 23 /utils/clear-pointer 1125s ok 24 /utils/clear-pointer-cast 1125s ok 25 /utils/take-pointer 1125s ok 26 /utils/clear-source 1125s ok 27 /utils/misc-mem 1125s # /utils/aligned-mem summary: Aligned memory allocator 1125s # Alignment must not be zero 1125s # Alignment must be a power of two 1125s # Alignment must be a multiple of sizeof(void*) 1125s ok 28 /utils/aligned-mem 1125s # /utils/free-sized summary: Check that g_free_sized() works 1125s ok 29 /utils/free-sized 1125s ok 30 /utils/nullify 1125s ok 31 /utils/atexit 1125s ok 32 /utils/check-setuid 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1125s ok 33 /utils/int-limits 1125s ok 34 /utils/clear-list 1125s ok 35 /utils/clear-slist 1125s # Start of specialdir tests 1125s ok 36 /utils/specialdir/desktop 1125s # End of specialdir tests 1125s # Start of clear-pointer tests 1125s ok 37 /utils/clear-pointer/side-effects 1125s # End of clear-pointer tests 1125s # Start of aligned-mem tests 1125s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1125s ok 38 /utils/aligned-mem/alignment 1125s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1125s ok 39 /utils/aligned-mem/zeroed 1125s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1125s ok 40 /utils/aligned-mem/free-sized 1125s # Start of subprocess tests 1125s # End of subprocess tests 1125s # End of aligned-mem tests 1125s # End of utils tests 1125s ok - glib/utils.test 1125s # Running test: glib/regex.test 1125s TAP version 13 1125s # random seed: R02S8fa72ee0c20324a5313502ee43816bac 1125s 1..848 1125s # Start of regex tests 1125s ok 1 /regex/properties 1125s ok 2 /regex/class 1125s ok 3 /regex/lookahead 1125s ok 4 /regex/lookbehind 1125s ok 5 /regex/subpattern 1125s ok 6 /regex/condition 1125s ok 7 /regex/recursion 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1125s ok 8 /regex/multiline 1125s ok 9 /regex/explicit-crlf 1125s ok 10 /regex/max-lookbehind 1125s ok 11 /regex/compile-errors 1125s ok 12 /regex/jit-unsupported-matching 1125s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1125s ok 13 /regex/unmatched-named-subpattern 1125s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1125s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1125s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1125s ok 14 /regex/compiled-regex-after-jit-failure 1125s # Start of new tests 1125s ok 15 /regex/new/1 1125s ok 16 /regex/new/2 1125s ok 17 /regex/new/3 1125s ok 18 /regex/new/4 1125s ok 19 /regex/new/5 1125s ok 20 /regex/new/6 1125s ok 21 /regex/new/7 1125s ok 22 /regex/new/8 1125s ok 23 /regex/new/9 1125s ok 24 /regex/new/10 1125s ok 25 /regex/new/11 1125s ok 26 /regex/new/12 1125s ok 27 /regex/new/13 1125s ok 28 /regex/new/14 1125s ok 29 /regex/new/15 1125s ok 30 /regex/new/16 1125s ok 31 /regex/new/17 1125s ok 32 /regex/new/18 1125s ok 33 /regex/new/19 1125s ok 34 /regex/new/71 1125s ok 35 /regex/new/80 1125s ok 36 /regex/new/82 1125s # End of new tests 1125s # Start of new-check-flags tests 1125s ok 37 /regex/new-check-flags/20 1125s ok 38 /regex/new-check-flags/21 1125s ok 39 /regex/new-check-flags/22 1125s ok 40 /regex/new-check-flags/23 1125s ok 41 /regex/new-check-flags/24 1125s ok 42 /regex/new-check-flags/25 1125s ok 43 /regex/new-check-flags/26 1125s ok 44 /regex/new-check-flags/27 1125s ok 45 /regex/new-check-flags/28 1125s ok 46 /regex/new-check-flags/29 1125s ok 47 /regex/new-check-flags/30 1125s ok 48 /regex/new-check-flags/31 1125s ok 49 /regex/new-check-flags/32 1125s ok 50 /regex/new-check-flags/33 1125s ok 51 /regex/new-check-flags/34 1125s ok 52 /regex/new-check-flags/35 1125s ok 53 /regex/new-check-flags/36 1125s # End of new-check-flags tests 1125s # Start of new-fail tests 1125s ok 54 /regex/new-fail/37 1125s ok 55 /regex/new-fail/38 1125s ok 56 /regex/new-fail/39 1125s ok 57 /regex/new-fail/40 1125s ok 58 /regex/new-fail/41 1125s ok 59 /regex/new-fail/42 1125s ok 60 /regex/new-fail/43 1125s ok 61 /regex/new-fail/44 1125s ok 62 /regex/new-fail/45 1125s ok 63 /regex/new-fail/46 1125s ok 64 /regex/new-fail/47 1125s ok 65 /regex/new-fail/48 1125s ok 66 /regex/new-fail/49 1125s ok 67 /regex/new-fail/50 1125s ok 68 /regex/new-fail/51 1125s ok 69 /regex/new-fail/52 1125s ok 70 /regex/new-fail/53 1125s ok 71 /regex/new-fail/54 1125s ok 72 /regex/new-fail/55 1125s ok 73 /regex/new-fail/56 1125s ok 74 /regex/new-fail/57 1125s ok 75 /regex/new-fail/58 1125s ok 76 /regex/new-fail/59 1125s ok 77 /regex/new-fail/60 1125s ok 78 /regex/new-fail/61 1125s ok 79 /regex/new-fail/62 1125s ok 80 /regex/new-fail/63 1125s ok 81 /regex/new-fail/64 1125s ok 82 /regex/new-fail/65 1125s ok 83 /regex/new-fail/66 1125s ok 84 /regex/new-fail/67 1125s ok 85 /regex/new-fail/68 1125s ok 86 /regex/new-fail/69 1125s ok 87 /regex/new-fail/70 1125s ok 88 /regex/new-fail/72 1125s ok 89 /regex/new-fail/73 1125s ok 90 /regex/new-fail/74 1125s ok 91 /regex/new-fail/75 1125s ok 92 /regex/new-fail/76 1125s ok 93 /regex/new-fail/77 1125s ok 94 /regex/new-fail/78 1125s ok 95 /regex/new-fail/79 1125s ok 96 /regex/new-fail/81 1125s ok 97 /regex/new-fail/83 1125s ok 98 /regex/new-fail/84 1125s ok 99 /regex/new-fail/85 1125s ok 100 /regex/new-fail/86 1125s ok 101 /regex/new-fail/87 1125s ok 102 /regex/new-fail/88 1125s ok 103 /regex/new-fail/89 1125s ok 104 /regex/new-fail/90 1125s ok 105 /regex/new-fail/91 1125s # End of new-fail tests 1125s # Start of match-simple tests 1125s ok 106 /regex/match-simple/92 1125s ok 107 /regex/match-simple/93 1125s ok 108 /regex/match-simple/94 1125s ok 109 /regex/match-simple/95 1125s ok 110 /regex/match-simple/96 1125s ok 111 /regex/match-simple/97 1125s ok 112 /regex/match-simple/98 1125s ok 113 /regex/match-simple/99 1125s ok 114 /regex/match-simple/100 1125s ok 115 /regex/match-simple/101 1125s ok 116 /regex/match-simple/102 1125s ok 117 /regex/match-simple/103 1125s ok 118 /regex/match-simple/104 1125s ok 119 /regex/match-simple/105 1125s ok 120 /regex/match-simple/106 1125s ok 121 /regex/match-simple/107 1125s ok 122 /regex/match-simple/108 1125s ok 123 /regex/match-simple/109 1125s ok 124 /regex/match-simple/110 1125s ok 125 /regex/match-simple/111 1125s ok 126 /regex/match-simple/112 1125s ok 127 /regex/match-simple/113 1125s ok 128 /regex/match-simple/114 1125s ok 129 /regex/match-simple/115 1125s ok 130 /regex/match-simple/116 1125s ok 131 /regex/match-simple/117 1125s ok 132 /regex/match-simple/118 1125s ok 133 /regex/match-simple/119 1125s ok 134 /regex/match-simple/120 1125s ok 135 /regex/match-simple/121 1125s ok 136 /regex/match-simple/122 1125s ok 137 /regex/match-simple/123 1125s ok 138 /regex/match-simple/124 1125s ok 139 /regex/match-simple/125 1125s ok 140 /regex/match-simple/126 1125s ok 141 /regex/match-simple/127 1125s ok 142 /regex/match-simple/128 1125s ok 143 /regex/match-simple/129 1125s ok 144 /regex/match-simple/130 1125s ok 145 /regex/match-simple/131 1125s ok 146 /regex/match-simple/132 1125s ok 147 /regex/match-simple/133 1125s ok 148 /regex/match-simple/134 1125s ok 149 /regex/match-simple/135 1125s ok 150 /regex/match-simple/136 1125s ok 151 /regex/match-simple/137 1125s ok 152 /regex/match-simple/138 1125s ok 153 /regex/match-simple/139 1125s ok 154 /regex/match-simple/140 1125s ok 155 /regex/match-simple/141 1125s ok 156 /regex/match-simple/142 1125s ok 157 /regex/match-simple/143 1125s ok 158 /regex/match-simple/144 1125s ok 159 /regex/match-simple/145 1125s ok 160 /regex/match-simple/146 1125s ok 161 /regex/match-simple/147 1125s ok 162 /regex/match-simple/148 1125s ok 163 /regex/match-simple/149 1125s ok 164 /regex/match-simple/150 1125s ok 165 /regex/match-simple/151 1125s ok 166 /regex/match-simple/152 1125s ok 167 /regex/match-simple/153 1125s ok 168 /regex/match-simple/154 1125s ok 169 /regex/match-simple/155 1125s ok 170 /regex/match-simple/156 1125s ok 171 /regex/match-simple/157 1125s ok 172 /regex/match-simple/158 1125s ok 173 /regex/match-simple/159 1125s ok 174 /regex/match-simple/160 1125s ok 175 /regex/match-simple/161 1125s ok 176 /regex/match-simple/162 1125s ok 177 /regex/match-simple/163 1125s ok 178 /regex/match-simple/164 1125s # End of match-simple tests 1125s # Start of match-simple-optimized tests 1125s ok 179 /regex/match-simple-optimized/92 1125s ok 180 /regex/match-simple-optimized/93 1125s ok 181 /regex/match-simple-optimized/94 1125s ok 182 /regex/match-simple-optimized/95 1125s ok 183 /regex/match-simple-optimized/96 1125s ok 184 /regex/match-simple-optimized/97 1125s ok 185 /regex/match-simple-optimized/98 1125s ok 186 /regex/match-simple-optimized/99 1125s ok 187 /regex/match-simple-optimized/100 1125s ok 188 /regex/match-simple-optimized/101 1125s ok 189 /regex/match-simple-optimized/102 1125s ok 190 /regex/match-simple-optimized/103 1125s ok 191 /regex/match-simple-optimized/104 1125s ok 192 /regex/match-simple-optimized/105 1125s ok 193 /regex/match-simple-optimized/106 1125s ok 194 /regex/match-simple-optimized/107 1125s ok 195 /regex/match-simple-optimized/108 1125s ok 196 /regex/match-simple-optimized/109 1125s ok 197 /regex/match-simple-optimized/110 1125s ok 198 /regex/match-simple-optimized/111 1125s ok 199 /regex/match-simple-optimized/112 1125s ok 200 /regex/match-simple-optimized/113 1125s ok 201 /regex/match-simple-optimized/114 1125s ok 202 /regex/match-simple-optimized/115 1125s ok 203 /regex/match-simple-optimized/116 1125s ok 204 /regex/match-simple-optimized/117 1125s ok 205 /regex/match-simple-optimized/118 1125s ok 206 /regex/match-simple-optimized/119 1125s ok 207 /regex/match-simple-optimized/120 1125s ok 208 /regex/match-simple-optimized/121 1125s ok 209 /regex/match-simple-optimized/122 1125s ok 210 /regex/match-simple-optimized/123 1125s ok 211 /regex/match-simple-optimized/124 1125s ok 212 /regex/match-simple-optimized/125 1125s ok 213 /regex/match-simple-optimized/126 1125s ok 214 /regex/match-simple-optimized/127 1125s ok 215 /regex/match-simple-optimized/128 1125s ok 216 /regex/match-simple-optimized/129 1125s ok 217 /regex/match-simple-optimized/130 1125s ok 218 /regex/match-simple-optimized/131 1125s ok 219 /regex/match-simple-optimized/132 1125s ok 220 /regex/match-simple-optimized/133 1125s ok 221 /regex/match-simple-optimized/134 1125s ok 222 /regex/match-simple-optimized/135 1125s ok 223 /regex/match-simple-optimized/136 1125s ok 224 /regex/match-simple-optimized/137 1125s ok 225 /regex/match-simple-optimized/138 1125s ok 226 /regex/match-simple-optimized/139 1125s ok 227 /regex/match-simple-optimized/140 1125s ok 228 /regex/match-simple-optimized/141 1125s ok 229 /regex/match-simple-optimized/142 1125s ok 230 /regex/match-simple-optimized/143 1125s ok 231 /regex/match-simple-optimized/144 1125s ok 232 /regex/match-simple-optimized/145 1125s ok 233 /regex/match-simple-optimized/146 1125s ok 234 /regex/match-simple-optimized/147 1125s ok 235 /regex/match-simple-optimized/148 1125s ok 236 /regex/match-simple-optimized/149 1125s ok 237 /regex/match-simple-optimized/150 1125s ok 238 /regex/match-simple-optimized/151 1125s ok 239 /regex/match-simple-optimized/152 1125s ok 240 /regex/match-simple-optimized/153 1125s ok 241 /regex/match-simple-optimized/154 1125s ok 242 /regex/match-simple-optimized/155 1125s ok 243 /regex/match-simple-optimized/156 1125s ok 244 /regex/match-simple-optimized/157 1125s ok 245 /regex/match-simple-optimized/158 1125s ok 246 /regex/match-simple-optimized/159 1125s ok 247 /regex/match-simple-optimized/160 1125s ok 248 /regex/match-simple-optimized/161 1125s ok 249 /regex/match-simple-optimized/162 1125s ok 250 /regex/match-simple-optimized/163 1125s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1125s ok 251 /regex/match-simple-optimized/164 1125s # End of match-simple-optimized tests 1125s # Start of match tests 1125s ok 252 /regex/match/165 1125s ok 253 /regex/match/166 1125s ok 254 /regex/match/167 1125s ok 255 /regex/match/168 1125s ok 256 /regex/match/169 1125s ok 257 /regex/match/170 1125s ok 258 /regex/match/171 1125s ok 259 /regex/match/172 1125s ok 260 /regex/match/173 1125s ok 261 /regex/match/174 1125s ok 262 /regex/match/175 1125s ok 263 /regex/match/176 1125s ok 264 /regex/match/177 1125s ok 265 /regex/match/178 1125s ok 266 /regex/match/179 1125s ok 267 /regex/match/180 1125s ok 268 /regex/match/181 1125s ok 269 /regex/match/182 1125s ok 270 /regex/match/183 1125s ok 271 /regex/match/184 1125s ok 272 /regex/match/185 1125s ok 273 /regex/match/186 1125s ok 274 /regex/match/187 1125s ok 275 /regex/match/188 1125s ok 276 /regex/match/189 1125s ok 277 /regex/match/190 1125s ok 278 /regex/match/191 1125s ok 279 /regex/match/192 1125s ok 280 /regex/match/193 1125s ok 281 /regex/match/194 1125s ok 282 /regex/match/195 1125s ok 283 /regex/match/196 1125s ok 284 /regex/match/197 1125s ok 285 /regex/match/198 1125s ok 286 /regex/match/199 1125s ok 287 /regex/match/200 1125s ok 288 /regex/match/201 1125s ok 289 /regex/match/202 1125s ok 290 /regex/match/203 1125s ok 291 /regex/match/204 1125s ok 292 /regex/match/205 1125s ok 293 /regex/match/206 1125s ok 294 /regex/match/207 1125s ok 295 /regex/match/208 1125s ok 296 /regex/match/209 1125s ok 297 /regex/match/210 1125s ok 298 /regex/match/211 1125s ok 299 /regex/match/212 1125s ok 300 /regex/match/213 1125s ok 301 /regex/match/214 1125s ok 302 /regex/match/215 1125s ok 303 /regex/match/216 1125s ok 304 /regex/match/217 1125s ok 305 /regex/match/218 1125s ok 306 /regex/match/219 1125s ok 307 /regex/match/220 1125s ok 308 /regex/match/221 1125s ok 309 /regex/match/222 1125s ok 310 /regex/match/223 1125s ok 311 /regex/match/224 1125s ok 312 /regex/match/225 1125s ok 313 /regex/match/226 1125s ok 314 /regex/match/227 1125s ok 315 /regex/match/228 1125s ok 316 /regex/match/229 1125s ok 317 /regex/match/230 1125s ok 318 /regex/match/231 1125s ok 319 /regex/match/232 1125s ok 320 /regex/match/233 1125s ok 321 /regex/match/234 1125s ok 322 /regex/match/235 1125s ok 323 /regex/match/236 1125s ok 324 /regex/match/237 1125s ok 325 /regex/match/238 1125s ok 326 /regex/match/239 1125s ok 327 /regex/match/240 1125s ok 328 /regex/match/241 1125s ok 329 /regex/match/242 1125s ok 330 /regex/match/243 1125s ok 331 /regex/match/244 1125s ok 332 /regex/match/245 1125s ok 333 /regex/match/246 1125s ok 334 /regex/match/partial281 1125s ok 335 /regex/match/partial282 1125s ok 336 /regex/match/partial283 1125s ok 337 /regex/match/partial284 1125s ok 338 /regex/match/partial285 1125s ok 339 /regex/match/partial286 1125s ok 340 /regex/match/partial287 1125s ok 341 /regex/match/partial288 1125s ok 342 /regex/match/partial289 1125s ok 343 /regex/match/partial290 1125s ok 344 /regex/match/partial291 1125s ok 345 /regex/match/partial292 1125s ok 346 /regex/match/partial293 1125s ok 347 /regex/match/partial294 1125s ok 348 /regex/match/partial295 1125s ok 349 /regex/match/partial296 1125s ok 350 /regex/match/partial297 1125s ok 351 /regex/match/partial298 1125s ok 352 /regex/match/partial299 1125s ok 353 /regex/match/partial300 1125s ok 354 /regex/match/partial301 1125s ok 355 /regex/match/partial302 1125s # Start of next0 tests 1125s ok 356 /regex/match/next0/247 1125s ok 357 /regex/match/next0/248 1125s ok 358 /regex/match/next0/249 1125s ok 359 /regex/match/next0/250 1125s # End of next0 tests 1125s # Start of next1 tests 1125s ok 360 /regex/match/next1/251 1125s ok 361 /regex/match/next1/252 1125s ok 362 /regex/match/next1/253 1125s ok 363 /regex/match/next1/254 1125s ok 364 /regex/match/next1/255 1125s # End of next1 tests 1125s # Start of next2 tests 1125s ok 365 /regex/match/next2/256 1125s ok 366 /regex/match/next2/257 1125s ok 367 /regex/match/next2/258 1125s ok 368 /regex/match/next2/259 1125s ok 369 /regex/match/next2/260 1125s ok 370 /regex/match/next2/261 1125s ok 371 /regex/match/next2/262 1125s ok 372 /regex/match/next2/263 1125s # End of next2 tests 1125s # Start of next3 tests 1125s ok 373 /regex/match/next3/264 1125s ok 374 /regex/match/next3/265 1125s ok 375 /regex/match/next3/266 1125s ok 376 /regex/match/next3/267 1125s ok 377 /regex/match/next3/268 1125s ok 378 /regex/match/next3/269 1125s # End of next3 tests 1125s # Start of next4 tests 1125s ok 379 /regex/match/next4/270 1125s # End of next4 tests 1125s # Start of count tests 1125s ok 380 /regex/match/count/271 1125s ok 381 /regex/match/count/272 1125s ok 382 /regex/match/count/273 1125s ok 383 /regex/match/count/274 1125s ok 384 /regex/match/count/275 1125s ok 385 /regex/match/count/276 1125s ok 386 /regex/match/count/277 1125s ok 387 /regex/match/count/278 1125s ok 388 /regex/match/count/279 1125s ok 389 /regex/match/count/280 1125s # End of count tests 1125s # Start of count-optimized tests 1125s ok 390 /regex/match/count-optimized/271 1125s ok 391 /regex/match/count-optimized/272 1125s ok 392 /regex/match/count-optimized/273 1125s ok 393 /regex/match/count-optimized/274 1125s ok 394 /regex/match/count-optimized/275 1125s ok 395 /regex/match/count-optimized/276 1125s ok 396 /regex/match/count-optimized/277 1125s ok 397 /regex/match/count-optimized/278 1125s ok 398 /regex/match/count-optimized/279 1125s ok 399 /regex/match/count-optimized/280 1125s # End of count-optimized tests 1125s # Start of partial-optimized tests 1125s ok 400 /regex/match/partial-optimized/281 1125s ok 401 /regex/match/partial-optimized/282 1125s ok 402 /regex/match/partial-optimized/283 1125s ok 403 /regex/match/partial-optimized/284 1125s ok 404 /regex/match/partial-optimized/285 1125s ok 405 /regex/match/partial-optimized/286 1125s ok 406 /regex/match/partial-optimized/287 1125s ok 407 /regex/match/partial-optimized/288 1125s ok 408 /regex/match/partial-optimized/289 1125s ok 409 /regex/match/partial-optimized/290 1125s ok 410 /regex/match/partial-optimized/291 1125s ok 411 /regex/match/partial-optimized/292 1125s ok 412 /regex/match/partial-optimized/293 1125s ok 413 /regex/match/partial-optimized/294 1125s ok 414 /regex/match/partial-optimized/295 1125s ok 415 /regex/match/partial-optimized/296 1125s ok 416 /regex/match/partial-optimized/297 1125s ok 417 /regex/match/partial-optimized/298 1125s ok 418 /regex/match/partial-optimized/299 1125s ok 419 /regex/match/partial-optimized/300 1125s ok 420 /regex/match/partial-optimized/301 1125s ok 421 /regex/match/partial-optimized/302 1125s # End of partial-optimized tests 1125s # Start of subpattern tests 1125s ok 422 /regex/match/subpattern/303 1125s ok 423 /regex/match/subpattern/304 1125s ok 424 /regex/match/subpattern/305 1125s ok 425 /regex/match/subpattern/306 1125s ok 426 /regex/match/subpattern/307 1125s ok 427 /regex/match/subpattern/308 1125s ok 428 /regex/match/subpattern/309 1125s ok 429 /regex/match/subpattern/310 1125s ok 430 /regex/match/subpattern/311 1125s ok 431 /regex/match/subpattern/312 1125s ok 432 /regex/match/subpattern/313 1125s ok 433 /regex/match/subpattern/314 1125s ok 434 /regex/match/subpattern/315 1125s # Start of named tests 1125s # Start of dupnames tests 1125s ok 435 /regex/match/subpattern/named/dupnames/325 1125s ok 436 /regex/match/subpattern/named/dupnames/326 1125s ok 437 /regex/match/subpattern/named/dupnames/327 1125s ok 438 /regex/match/subpattern/named/dupnames/328 1125s ok 439 /regex/match/subpattern/named/dupnames/329 1125s # End of dupnames tests 1125s # End of named tests 1125s # End of subpattern tests 1125s # Start of subpattern-optimized tests 1125s ok 440 /regex/match/subpattern-optimized/303 1125s ok 441 /regex/match/subpattern-optimized/304 1125s ok 442 /regex/match/subpattern-optimized/305 1125s ok 443 /regex/match/subpattern-optimized/306 1125s ok 444 /regex/match/subpattern-optimized/307 1125s ok 445 /regex/match/subpattern-optimized/308 1125s ok 446 /regex/match/subpattern-optimized/309 1125s ok 447 /regex/match/subpattern-optimized/310 1125s ok 448 /regex/match/subpattern-optimized/311 1125s ok 449 /regex/match/subpattern-optimized/312 1125s ok 450 /regex/match/subpattern-optimized/313 1125s ok 451 /regex/match/subpattern-optimized/314 1125s ok 452 /regex/match/subpattern-optimized/315 1125s # End of subpattern-optimized tests 1125s # Start of named tests 1125s # Start of subpattern tests 1125s ok 453 /regex/match/named/subpattern/316 1125s ok 454 /regex/match/named/subpattern/317 1125s ok 455 /regex/match/named/subpattern/318 1125s ok 456 /regex/match/named/subpattern/319 1125s ok 457 /regex/match/named/subpattern/320 1125s ok 458 /regex/match/named/subpattern/321 1125s ok 459 /regex/match/named/subpattern/322 1125s ok 460 /regex/match/named/subpattern/323 1125s ok 461 /regex/match/named/subpattern/324 1125s ok 462 /regex/match/named/subpattern/330 1125s ok 463 /regex/match/named/subpattern/331 1125s ok 464 /regex/match/named/subpattern/332 1125s ok 465 /regex/match/named/subpattern/333 1125s ok 466 /regex/match/named/subpattern/334 1125s # End of subpattern tests 1125s # End of named tests 1125s # End of match tests 1125s # Start of match-optimized tests 1125s ok 467 /regex/match-optimized/165 1125s ok 468 /regex/match-optimized/166 1125s ok 469 /regex/match-optimized/167 1125s ok 470 /regex/match-optimized/168 1125s ok 471 /regex/match-optimized/169 1125s ok 472 /regex/match-optimized/170 1125s ok 473 /regex/match-optimized/171 1125s ok 474 /regex/match-optimized/172 1125s ok 475 /regex/match-optimized/173 1125s ok 476 /regex/match-optimized/174 1125s ok 477 /regex/match-optimized/175 1125s ok 478 /regex/match-optimized/176 1125s ok 479 /regex/match-optimized/177 1125s ok 480 /regex/match-optimized/178 1125s ok 481 /regex/match-optimized/179 1125s ok 482 /regex/match-optimized/180 1125s ok 483 /regex/match-optimized/181 1125s ok 484 /regex/match-optimized/182 1125s ok 485 /regex/match-optimized/183 1125s ok 486 /regex/match-optimized/184 1125s ok 487 /regex/match-optimized/185 1125s ok 488 /regex/match-optimized/186 1125s ok 489 /regex/match-optimized/187 1125s ok 490 /regex/match-optimized/188 1125s ok 491 /regex/match-optimized/189 1125s ok 492 /regex/match-optimized/190 1125s ok 493 /regex/match-optimized/191 1125s ok 494 /regex/match-optimized/192 1125s ok 495 /regex/match-optimized/193 1125s ok 496 /regex/match-optimized/194 1125s ok 497 /regex/match-optimized/195 1125s ok 498 /regex/match-optimized/196 1125s ok 499 /regex/match-optimized/197 1125s ok 500 /regex/match-optimized/198 1125s ok 501 /regex/match-optimized/199 1125s ok 502 /regex/match-optimized/200 1125s ok 503 /regex/match-optimized/201 1125s ok 504 /regex/match-optimized/202 1125s ok 505 /regex/match-optimized/203 1125s ok 506 /regex/match-optimized/204 1125s ok 507 /regex/match-optimized/205 1125s ok 508 /regex/match-optimized/206 1125s ok 509 /regex/match-optimized/207 1125s ok 510 /regex/match-optimized/208 1125s ok 511 /regex/match-optimized/209 1125s ok 512 /regex/match-optimized/210 1125s ok 513 /regex/match-optimized/211 1125s ok 514 /regex/match-optimized/212 1125s ok 515 /regex/match-optimized/213 1125s ok 516 /regex/match-optimized/214 1125s ok 517 /regex/match-optimized/215 1125s ok 518 /regex/match-optimized/216 1125s ok 519 /regex/match-optimized/217 1125s ok 520 /regex/match-optimized/218 1125s ok 521 /regex/match-optimized/219 1125s ok 522 /regex/match-optimized/220 1125s ok 523 /regex/match-optimized/221 1125s ok 524 /regex/match-optimized/222 1125s ok 525 /regex/match-optimized/223 1125s ok 526 /regex/match-optimized/224 1125s ok 527 /regex/match-optimized/225 1125s ok 528 /regex/match-optimized/226 1125s ok 529 /regex/match-optimized/227 1125s ok 530 /regex/match-optimized/228 1125s ok 531 /regex/match-optimized/229 1125s ok 532 /regex/match-optimized/230 1125s ok 533 /regex/match-optimized/231 1125s ok 534 /regex/match-optimized/232 1125s ok 535 /regex/match-optimized/233 1125s ok 536 /regex/match-optimized/234 1125s ok 537 /regex/match-optimized/235 1125s ok 538 /regex/match-optimized/236 1125s ok 539 /regex/match-optimized/237 1125s ok 540 /regex/match-optimized/238 1125s ok 541 /regex/match-optimized/239 1125s ok 542 /regex/match-optimized/240 1125s ok 543 /regex/match-optimized/241 1125s ok 544 /regex/match-optimized/242 1125s ok 545 /regex/match-optimized/243 1125s ok 546 /regex/match-optimized/244 1125s ok 547 /regex/match-optimized/245 1125s ok 548 /regex/match-optimized/246 1125s # End of match-optimized tests 1125s # Start of fetch-all0 tests 1125s ok 549 /regex/fetch-all0/335 1125s ok 550 /regex/fetch-all0/336 1125s # End of fetch-all0 tests 1125s # Start of fetch-all1 tests 1125s ok 551 /regex/fetch-all1/337 1126s ok 552 /regex/fetch-all1/338 1126s ok 553 /regex/fetch-all1/339 1126s # End of fetch-all1 tests 1126s # Start of fetch-all2 tests 1126s ok 554 /regex/fetch-all2/340 1126s ok 555 /regex/fetch-all2/341 1126s ok 556 /regex/fetch-all2/342 1126s # End of fetch-all2 tests 1126s # Start of fetch-all3 tests 1126s ok 557 /regex/fetch-all3/343 1126s ok 558 /regex/fetch-all3/344 1126s ok 559 /regex/fetch-all3/345 1126s ok 560 /regex/fetch-all3/346 1126s ok 561 /regex/fetch-all3/347 1126s # End of fetch-all3 tests 1126s # Start of split tests 1126s # Start of simple0 tests 1126s ok 562 /regex/split/simple0/348 1126s ok 563 /regex/split/simple0/349 1126s ok 564 /regex/split/simple0/364 1126s ok 565 /regex/split/simple0/365 1126s # End of simple0 tests 1126s # Start of simple1 tests 1126s ok 566 /regex/split/simple1/350 1126s ok 567 /regex/split/simple1/351 1126s # End of simple1 tests 1126s # Start of simple2 tests 1126s ok 568 /regex/split/simple2/352 1126s ok 569 /regex/split/simple2/358 1126s ok 570 /regex/split/simple2/360 1126s # End of simple2 tests 1126s # Start of simple3 tests 1126s ok 571 /regex/split/simple3/353 1126s ok 572 /regex/split/simple3/354 1126s ok 573 /regex/split/simple3/355 1126s ok 574 /regex/split/simple3/356 1126s ok 575 /regex/split/simple3/357 1126s ok 576 /regex/split/simple3/359 1126s ok 577 /regex/split/simple3/361 1126s ok 578 /regex/split/simple3/362 1126s ok 579 /regex/split/simple3/363 1126s # End of simple3 tests 1126s # End of split tests 1126s # Start of split0 tests 1126s ok 580 /regex/split0/366 1126s ok 581 /regex/split0/368 1126s # End of split0 tests 1126s # Start of full-split0 tests 1126s ok 582 /regex/full-split0/367 1126s ok 583 /regex/full-split0/369 1126s ok 584 /regex/full-split0/370 1126s ok 585 /regex/full-split0/371 1126s ok 586 /regex/full-split0/372 1126s # End of full-split0 tests 1126s # Start of split1 tests 1126s ok 587 /regex/split1/373 1126s ok 588 /regex/split1/376 1126s # End of split1 tests 1126s # Start of full-split1 tests 1126s ok 589 /regex/full-split1/374 1126s ok 590 /regex/full-split1/375 1126s ok 591 /regex/full-split1/377 1126s ok 592 /regex/full-split1/378 1126s ok 593 /regex/full-split1/404 1126s # End of full-split1 tests 1126s # Start of split2 tests 1126s ok 594 /regex/split2/379 1126s ok 595 /regex/split2/383 1126s ok 596 /regex/split2/395 1126s # End of split2 tests 1126s # Start of full-split2 tests 1126s ok 597 /regex/full-split2/380 1126s ok 598 /regex/full-split2/381 1126s ok 599 /regex/full-split2/382 1126s ok 600 /regex/full-split2/384 1126s ok 601 /regex/full-split2/396 1126s ok 602 /regex/full-split2/399 1126s ok 603 /regex/full-split2/405 1126s # End of full-split2 tests 1126s # Start of split3 tests 1126s ok 604 /regex/split3/385 1126s ok 605 /regex/split3/387 1126s ok 606 /regex/split3/389 1126s ok 607 /regex/split3/391 1126s ok 608 /regex/split3/393 1126s ok 609 /regex/split3/397 1126s ok 610 /regex/split3/400 1126s ok 611 /regex/split3/402 1126s # End of split3 tests 1126s # Start of full-split3 tests 1126s ok 612 /regex/full-split3/386 1126s ok 613 /regex/full-split3/388 1126s ok 614 /regex/full-split3/390 1126s ok 615 /regex/full-split3/392 1126s ok 616 /regex/full-split3/394 1126s ok 617 /regex/full-split3/398 1126s ok 618 /regex/full-split3/401 1126s ok 619 /regex/full-split3/403 1126s ok 620 /regex/full-split3/406 1126s ok 621 /regex/full-split3/407 1126s # End of full-split3 tests 1126s # Start of check-repacement tests 1126s ok 622 /regex/check-repacement/408 1126s ok 623 /regex/check-repacement/409 1126s ok 624 /regex/check-repacement/410 1126s ok 625 /regex/check-repacement/411 1126s ok 626 /regex/check-repacement/412 1126s ok 627 /regex/check-repacement/413 1126s ok 628 /regex/check-repacement/414 1126s ok 629 /regex/check-repacement/415 1126s # End of check-repacement tests 1126s # Start of expand tests 1126s ok 630 /regex/expand/416 1126s ok 631 /regex/expand/417 1126s ok 632 /regex/expand/418 1126s ok 633 /regex/expand/419 1126s ok 634 /regex/expand/420 1126s ok 635 /regex/expand/421 1126s ok 636 /regex/expand/422 1126s ok 637 /regex/expand/423 1126s ok 638 /regex/expand/424 1126s ok 639 /regex/expand/425 1126s ok 640 /regex/expand/426 1126s ok 641 /regex/expand/427 1126s ok 642 /regex/expand/428 1126s ok 643 /regex/expand/429 1126s ok 644 /regex/expand/430 1126s ok 645 /regex/expand/431 1126s ok 646 /regex/expand/432 1126s ok 647 /regex/expand/433 1126s ok 648 /regex/expand/434 1126s ok 649 /regex/expand/435 1126s ok 650 /regex/expand/436 1126s ok 651 /regex/expand/437 1126s ok 652 /regex/expand/438 1126s ok 653 /regex/expand/439 1126s ok 654 /regex/expand/440 1126s ok 655 /regex/expand/441 1126s ok 656 /regex/expand/442 1126s ok 657 /regex/expand/443 1126s ok 658 /regex/expand/444 1126s ok 659 /regex/expand/445 1126s ok 660 /regex/expand/446 1126s ok 661 /regex/expand/447 1126s ok 662 /regex/expand/448 1126s ok 663 /regex/expand/449 1126s ok 664 /regex/expand/450 1126s ok 665 /regex/expand/451 1126s ok 666 /regex/expand/452 1126s ok 667 /regex/expand/453 1126s ok 668 /regex/expand/454 1126s ok 669 /regex/expand/455 1126s ok 670 /regex/expand/456 1126s ok 671 /regex/expand/457 1126s ok 672 /regex/expand/458 1126s ok 673 /regex/expand/459 1126s ok 674 /regex/expand/460 1126s ok 675 /regex/expand/461 1126s ok 676 /regex/expand/462 1126s ok 677 /regex/expand/463 1126s ok 678 /regex/expand/464 1126s ok 679 /regex/expand/465 1126s ok 680 /regex/expand/466 1126s ok 681 /regex/expand/467 1126s ok 682 /regex/expand/468 1126s ok 683 /regex/expand/469 1126s ok 684 /regex/expand/470 1126s ok 685 /regex/expand/471 1126s ok 686 /regex/expand/472 1126s ok 687 /regex/expand/473 1126s ok 688 /regex/expand/474 1126s ok 689 /regex/expand/475 1126s ok 690 /regex/expand/476 1126s ok 691 /regex/expand/477 1126s ok 692 /regex/expand/478 1126s ok 693 /regex/expand/479 1126s ok 694 /regex/expand/480 1126s ok 695 /regex/expand/481 1126s # End of expand tests 1126s # Start of replace tests 1126s ok 696 /regex/replace/482 1126s ok 697 /regex/replace/483 1126s ok 698 /regex/replace/484 1126s ok 699 /regex/replace/485 1126s ok 700 /regex/replace/486 1126s ok 701 /regex/replace/487 1126s ok 702 /regex/replace/488 1126s ok 703 /regex/replace/489 1126s ok 704 /regex/replace/490 1126s ok 705 /regex/replace/491 1126s ok 706 /regex/replace/492 1126s ok 707 /regex/replace/493 1126s ok 708 /regex/replace/494 1126s ok 709 /regex/replace/495 1126s ok 710 /regex/replace/496 1126s ok 711 /regex/replace/497 1126s ok 712 /regex/replace/498 1126s ok 713 /regex/replace/499 1126s ok 714 /regex/replace/500 1126s ok 715 /regex/replace/501 1126s ok 716 /regex/replace/502 1126s ok 717 /regex/replace/503 1126s ok 718 /regex/replace/504 1126s ok 719 /regex/replace/505 1126s ok 720 /regex/replace/506 1126s ok 721 /regex/replace/507 1126s ok 722 /regex/replace/508 1126s ok 723 /regex/replace/509 1126s # End of replace tests 1126s # Start of replace-optimized tests 1126s ok 724 /regex/replace-optimized/482 1126s ok 725 /regex/replace-optimized/483 1126s ok 726 /regex/replace-optimized/484 1126s ok 727 /regex/replace-optimized/485 1126s ok 728 /regex/replace-optimized/486 1126s ok 729 /regex/replace-optimized/487 1126s ok 730 /regex/replace-optimized/488 1126s ok 731 /regex/replace-optimized/489 1126s ok 732 /regex/replace-optimized/490 1126s ok 733 /regex/replace-optimized/491 1126s ok 734 /regex/replace-optimized/492 1126s ok 735 /regex/replace-optimized/493 1126s ok 736 /regex/replace-optimized/494 1126s ok 737 /regex/replace-optimized/495 1126s ok 738 /regex/replace-optimized/496 1126s ok 739 /regex/replace-optimized/497 1126s ok 740 /regex/replace-optimized/498 1126s ok 741 /regex/replace-optimized/499 1126s ok 742 /regex/replace-optimized/500 1126s ok 743 /regex/replace-optimized/501 1126s ok 744 /regex/replace-optimized/502 1126s ok 745 /regex/replace-optimized/503 1126s ok 746 /regex/replace-optimized/504 1126s ok 747 /regex/replace-optimized/505 1126s ok 748 /regex/replace-optimized/506 1126s ok 749 /regex/replace-optimized/507 1126s ok 750 /regex/replace-optimized/508 1126s ok 751 /regex/replace-optimized/509 1126s # End of replace-optimized tests 1126s # Start of replace-literally tests 1126s ok 752 /regex/replace-literally/510 1126s ok 753 /regex/replace-literally/511 1126s ok 754 /regex/replace-literally/512 1126s ok 755 /regex/replace-literally/513 1126s ok 756 /regex/replace-literally/514 1126s ok 757 /regex/replace-literally/515 1126s ok 758 /regex/replace-literally/516 1126s ok 759 /regex/replace-literally/517 1126s ok 760 /regex/replace-literally/518 1126s ok 761 /regex/replace-literally/519 1126s ok 762 /regex/replace-literally/520 1126s ok 763 /regex/replace-literally/521 1126s ok 764 /regex/replace-literally/522 1126s ok 765 /regex/replace-literally/523 1126s ok 766 /regex/replace-literally/524 1126s ok 767 /regex/replace-literally/525 1126s ok 768 /regex/replace-literally/526 1126s ok 769 /regex/replace-literally/527 1126s ok 770 /regex/replace-literally/528 1126s ok 771 /regex/replace-literally/529 1126s # End of replace-literally tests 1126s # Start of string-number tests 1126s ok 772 /regex/string-number/530 1126s ok 773 /regex/string-number/531 1126s ok 774 /regex/string-number/532 1126s ok 775 /regex/string-number/533 1126s ok 776 /regex/string-number/534 1126s ok 777 /regex/string-number/535 1126s ok 778 /regex/string-number/536 1126s ok 779 /regex/string-number/537 1126s ok 780 /regex/string-number/538 1126s ok 781 /regex/string-number/539 1126s ok 782 /regex/string-number/540 1126s ok 783 /regex/string-number/541 1126s ok 784 /regex/string-number/542 1126s ok 785 /regex/string-number/543 1126s ok 786 /regex/string-number/544 1126s # End of string-number tests 1126s # Start of escape_nul tests 1126s ok 787 /regex/escape_nul/545 1126s ok 788 /regex/escape_nul/546 1126s ok 789 /regex/escape_nul/547 1126s ok 790 /regex/escape_nul/548 1126s ok 791 /regex/escape_nul/549 1126s ok 792 /regex/escape_nul/550 1126s ok 793 /regex/escape_nul/551 1126s ok 794 /regex/escape_nul/552 1126s ok 795 /regex/escape_nul/553 1126s ok 796 /regex/escape_nul/554 1126s ok 797 /regex/escape_nul/555 1126s ok 798 /regex/escape_nul/556 1126s ok 799 /regex/escape_nul/557 1126s ok 800 /regex/escape_nul/558 1126s ok 801 /regex/escape_nul/559 1126s # End of escape_nul tests 1126s # Start of escape tests 1126s ok 802 /regex/escape/560 1126s ok 803 /regex/escape/561 1126s ok 804 /regex/escape/562 1126s ok 805 /regex/escape/563 1126s ok 806 /regex/escape/564 1126s ok 807 /regex/escape/565 1126s ok 808 /regex/escape/566 1126s ok 809 /regex/escape/567 1126s ok 810 /regex/escape/568 1126s ok 811 /regex/escape/569 1126s ok 812 /regex/escape/570 1126s ok 813 /regex/escape/571 1126s ok 814 /regex/escape/572 1126s ok 815 /regex/escape/573 1126s ok 816 /regex/escape/574 1126s ok 817 /regex/escape/575 1126s ok 818 /regex/escape/576 1126s ok 819 /regex/escape/577 1126s # End of escape tests 1126s # Start of match-all0 tests 1126s ok 820 /regex/match-all0/578 1126s ok 821 /regex/match-all0/580 1126s # End of match-all0 tests 1126s # Start of match-all-full0 tests 1126s ok 822 /regex/match-all-full0/579 1126s ok 823 /regex/match-all-full0/581 1126s ok 824 /regex/match-all-full0/582 1126s ok 825 /regex/match-all-full0/583 1126s # End of match-all-full0 tests 1126s # Start of match-all1 tests 1126s ok 826 /regex/match-all1/584 1126s ok 827 /regex/match-all1/586 1126s ok 828 /regex/match-all1/591 1126s # End of match-all1 tests 1126s # Start of match-all-full1 tests 1126s ok 829 /regex/match-all-full1/585 1126s ok 830 /regex/match-all-full1/587 1126s ok 831 /regex/match-all-full1/588 1126s ok 832 /regex/match-all-full1/589 1126s ok 833 /regex/match-all-full1/590 1126s ok 834 /regex/match-all-full1/592 1126s # End of match-all-full1 tests 1126s # Start of match-all2 tests 1126s ok 835 /regex/match-all2/593 1126s ok 836 /regex/match-all2/595 1126s ok 837 /regex/match-all2/597 1126s # End of match-all2 tests 1126s # Start of match-all-full2 tests 1126s ok 838 /regex/match-all-full2/594 1126s ok 839 /regex/match-all-full2/596 1126s ok 840 /regex/match-all-full2/598 1126s # End of match-all-full2 tests 1126s # Start of match-all3 tests 1126s ok 841 /regex/match-all3/599 1126s ok 842 /regex/match-all3/601 1126s # End of match-all3 tests 1126s # Start of match-all-full3 tests 1126s ok 843 /regex/match-all-full3/600 1126s ok 844 /regex/match-all-full3/602 1126s # End of match-all-full3 tests 1126s # Start of match-notempty tests 1126s ok 845 /regex/match-notempty/603 1126s # End of match-notempty tests 1126s # Start of match-notempty-optimized tests 1126s ok 846 /regex/match-notempty-optimized/603 1126s # End of match-notempty-optimized tests 1126s # Start of match-notempty-atstart tests 1126s ok 847 /regex/match-notempty-atstart/604 1126s # End of match-notempty-atstart tests 1126s # Start of match-notempty-atstart-optimized tests 1126s ok 848 /regex/match-notempty-atstart-optimized/604 1126s # End of match-notempty-atstart-optimized tests 1126s # End of regex tests 1126s ok - glib/regex.test 1126s # Running test: glib/atomic-c-17.test 1126s TAP version 13 1126s # random seed: R02S005a4fa4f4243ed891c3962b4f090eb5 1126s 1..2 1126s # Start of atomic tests 1126s ok 1 /atomic/types 1126s ok 2 /atomic/threaded 1126s # slow test /atomic/threaded executed in 0.69 secs 1126s # End of atomic tests 1126s ok - glib/atomic-c-17.test 1126s # Running test: glib/gnotification.test 1126s TAP version 13 1126s # random seed: R02S2f0f4da5f6c1468a7db2394d89f23149 1126s 1..2 1126s # Start of gnotification tests 1126s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1126s ok 1 /gnotification/basic 1126s ok 2 /gnotification/properties 1126s # End of gnotification tests 1126s ok - glib/gnotification.test 1126s # Running test: glib/dbus-appinfo.test 1126s TAP version 13 1126s # random seed: R02S858a3fcfbdd6a6fbe3d38f385ae5a843 1126s 1..3 1126s # Start of appinfo tests 1126s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1126s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1126s ok 1 /appinfo/dbusappinfo 1126s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1126s dbus-daemon[1866]: [session uid=1000 pid=1866] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=1865 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1126s # Acquired a message bus connection 1126s dbus-daemon[1866]: [session uid=1000 pid=1866] Successfully activated service 'org.freedesktop.portal.Documents' 1126s # Acquired the name org.freedesktop.portal.Documents 1126s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1126s ok 2 /appinfo/flatpak-doc-export 1126s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1126s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1126s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1126s ok 3 /appinfo/flatpak-missing-doc-export 1126s # End of appinfo tests 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1126s # Lost the name org.freedesktop.portal.Documents 1126s ok - glib/dbus-appinfo.test 1126s # Running test: glib/binding.test 1126s TAP version 13 1126s # random seed: R02S5f12c84583e1687f287b83b1b39ebf0c 1126s 1..19 1126s # Start of binding tests 1126s ok 1 /binding/default 1126s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1126s ok 2 /binding/canonicalisation 1126s ok 3 /binding/bidirectional 1126s ok 4 /binding/transform 1126s ok 5 /binding/transform-default 1126s ok 6 /binding/transform-closure 1126s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1126s ok 7 /binding/chain 1126s ok 8 /binding/sync-create 1126s ok 9 /binding/invert-boolean 1126s ok 10 /binding/same-object 1126s ok 11 /binding/unbind 1126s ok 12 /binding/unbind-weak 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1126s ok 13 /binding/unbind-multiple 1126s ok 14 /binding/fail 1126s ok 15 /binding/interface 1126s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1127s ok 16 /binding/concurrent-unbind 1127s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1127s ok 17 /binding/concurrent-finalizing 1127s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1127s ok 18 /binding/dispose-source 1127s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1127s ok 19 /binding/dispose-target 1127s # End of binding tests 1127s ok - glib/binding.test 1127s # Running test: glib/type-flags.test 1127s TAP version 13 1127s # random seed: R02S1859e16cfd75b6a7d661f4095d1b2685 1127s 1..4 1127s # Start of type tests 1127s # Start of flags tests 1127s ok 1 /type/flags/interface 1127s ok 2 /type/flags/final 1127s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1127s ok 3 /type/flags/deprecated 1127s # Start of final tests 1127s ok 4 /type/flags/final/instance-check 1127s # End of final tests 1127s # End of flags tests 1127s # End of type tests 1127s ok - glib/type-flags.test 1127s # Running test: glib/gmenumodel.test 1127s TAP version 13 1127s # random seed: R02S4fa6dc3648b21bc6b3b7f4bdefa8435c 1127s 1..14 1127s # Start of gmenu tests 1129s # Executing: glib/gmenumodel.test 1129s ok 1 /gmenu/equality 1129s # slow test /gmenu/equality executed in 2.30 secs 1131s ok 2 /gmenu/random 1131s # slow test /gmenu/random executed in 2.56 secs 1131s ok 3 /gmenu/attributes 1132s ok 4 /gmenu/links 1132s ok 5 /gmenu/mutable 1132s ok 6 /gmenu/convenience 1132s ok 7 /gmenu/menuitem 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1132s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1132s ok 8 /gmenu/input-validation 1132s # Start of dbus tests 1132s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1133s ok 9 /gmenu/dbus/roundtrip 1133s # slow test /gmenu/dbus/roundtrip executed in 1.12 secs 1133s ok 10 /gmenu/dbus/subscriptions 1134s # Executing: glib/gmenumodel.test 1138s ok 11 /gmenu/dbus/threaded 1138s # slow test /gmenu/dbus/threaded executed in 4.64 secs 1138s # Start of peer tests 1139s ok 12 /gmenu/dbus/peer/roundtrip 1139s # slow test /gmenu/dbus/peer/roundtrip executed in 1.09 secs 1139s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1139s # End of peer tests 1139s # End of dbus tests 1139s # Start of attributes tests 1139s ok 14 /gmenu/attributes/iterate 1139s # End of attributes tests 1139s # End of gmenu tests 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s ok - glib/gmenumodel.test 1139s # Running test: glib/thumbnail-verification.test 1139s # Executing: glib/thumbnail-verification.test 1139s TAP version 13 1139s # random seed: R02S87341225688442721774b0108d30aff7 1139s 1..1 1139s # Start of png-thumbs tests 1139s ok 1 /png-thumbs/validity 1139s # End of png-thumbs tests 1139s ok - glib/thumbnail-verification.test 1139s # Running test: glib/glistmodel.test 1139s TAP version 13 1139s # random seed: R02Sd1d361fd58eb438c2262a020d4edff50 1139s 1..18 1139s # Start of glistmodel tests 1139s # Start of store tests 1139s ok 1 /glistmodel/store/properties 1139s ok 2 /glistmodel/store/non-gobjects 1139s ok 3 /glistmodel/store/boundaries 1139s ok 4 /glistmodel/store/refcounts 1139s ok 5 /glistmodel/store/sorted 1139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1139s ok 6 /glistmodel/store/splice-replace-middle 1139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1139s ok 7 /glistmodel/store/splice-replace-all 1139s ok 8 /glistmodel/store/splice-noop 1139s ok 9 /glistmodel/store/splice-remove-multiple 1139s ok 10 /glistmodel/store/splice-add-multiple 1139s ok 11 /glistmodel/store/splice-wrong-type 1139s ok 12 /glistmodel/store/item-type 1139s ok 13 /glistmodel/store/remove-all 1139s ok 14 /glistmodel/store/sort 1139s ok 15 /glistmodel/store/get-item-cache 1139s ok 16 /glistmodel/store/items-changed 1139s ok 17 /glistmodel/store/past-end 1139s ok 18 /glistmodel/store/find 1139s # End of store tests 1139s # End of glistmodel tests 1139s ok - glib/glistmodel.test 1139s # Running test: glib/onceinit.test 1139s TAP version 13 1139s # random seed: R02S4de68c7dc2646ecb13f1f36eb03f645b 1139s 1..1 1139s # Start of thread tests 1139s ok 1 /thread/onceinit 1139s # End of thread tests 1139s ok - glib/onceinit.test 1139s # Running test: glib/spawn-multithreaded.test 1139s TAP version 13 1139s # random seed: R02Sa74d4f955df61609abaa57dbc25e89c4 1139s 1..4 1139s # Start of gthread tests 1140s # Child 2549 (ttl 1) exited, status 0 1141s # Child 2550 (ttl 2) exited, status 0 1141s ok 1 /gthread/spawn-childs 1141s # slow test /gthread/spawn-childs executed in 2.00 secs 1141s # Created pid: 2554 (ttl 1) 1141s # Created pid: 2555 (ttl 2) 1142s # Child 2554 (ttl 1) exited, status 0 1143s # Child 2555 (ttl 2) exited, status 0 1143s ok 2 /gthread/spawn-childs-threads 1143s # slow test /gthread/spawn-childs-threads executed in 2.01 secs 1143s ok 3 /gthread/spawn-sync 1143s ok 4 /gthread/spawn-async 1143s # End of gthread tests 1143s ok - glib/spawn-multithreaded.test 1143s # Running test: glib/live-g-file.test 1143s TAP version 13 1143s # random seed: R02S7811de18ed0f41fcb947fb199eddcaae 1143s 1..13 1143s # Start of live-g-file tests 1143s # Cleaning target testing structure in 'testdir_live-g-file'... 1143s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1143s ok 1 /live-g-file/prep_clean_structure 1143s # 1143s # Going to create testing structure in 'testdir_live-g-file'... 1143s # Creating directory 'dir1'... 1143s # Creating directory 'dir1/subdir'... 1143s # Creating directory 'dir2'... 1143s # Creating directory 'dir-target'... 1143s # Creating directory 'dir_no-access'... 1143s # Creating directory 'dir_no-write'... 1143s # Creating file 'target-file'... 1143s # Creating file 'normal_file'... 1143s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1143s # Creating file 'executable_file'... 1143s # Creating file 'private_file'... 1143s # Creating file 'normal_file2'... 1143s # Creating file 'readonly_file'... 1143s # Creating file 'UTF_pr?i?lis? z'... 1143s # Creating directory 'dir_pr?i?lis? z'... 1143s # Creating symlink 'lost_symlink' --> 'nowhere'... 1143s # Creating directory 'dir_hidden'... 1143s # Creating file 'dir_hidden/.a-hidden-file'... 1143s # Creating file 'dir_hidden/file-in-.hidden1'... 1143s # Creating file 'dir_hidden/file-in-.hidden2'... 1143s # Creating pattern file... 1143s # done. 1143s ok 2 /live-g-file/create_structure 1143s # Testing sample structure in 'testdir_live-g-file'... 1143s # Testing file 'dir1'... 1143s # Testing file 'dir1/subdir'... 1143s # Testing file 'dir2'... 1143s # Testing file 'dir-target'... 1143s # Testing file 'dir_no-access'... 1143s # Testing file 'dir_no-write'... 1143s # Testing file 'target-file'... 1143s # Testing file 'normal_file'... 1143s # Testing file 'normal_file-symlink'... 1143s # Testing file 'executable_file'... 1143s # Testing file 'private_file'... 1143s # Testing file 'normal_file2'... 1143s # Testing file 'readonly_file'... 1143s # Testing file 'UTF_pr?i?lis? z'... 1143s # Testing file 'dir_pr?i?lis? z'... 1143s # Testing file 'lost_symlink'... 1143s # Testing file 'dir_hidden'... 1144s # Testing file 'dir_hidden/.a-hidden-file'... 1144s # Testing file 'dir_hidden/file-in-.hidden1'... 1144s # Testing file 'dir_hidden/file-in-.hidden2'... 1144s # Testing pattern file... 1144s # read 65536 bytes, total = 65536 of 65536. 1144s ok 3 /live-g-file/test_initial_structure 1144s # Traversing through the sample structure in 'testdir_live-g-file'... 1144s # Found file dir1, relative to root: dir1 1144s # Found file subdir, relative to root: dir1/subdir 1144s # Found file dir2, relative to root: dir2 1144s # Found file dir-target, relative to root: dir-target 1144s # Found file dir_no-access, relative to root: dir_no-access 1144s # Found file dir_no-write, relative to root: dir_no-write 1144s # Found file target-file, relative to root: target-file 1144s # Found file normal_file, relative to root: normal_file 1144s # Found file normal_file-symlink, relative to root: normal_file-symlink 1144s # Found file executable_file, relative to root: executable_file 1144s # Found file private_file, relative to root: private_file 1144s # Found file normal_file2, relative to root: normal_file2 1144s # Found file readonly_file, relative to root: readonly_file 1144s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1144s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1144s # Found file lost_symlink, relative to root: lost_symlink 1144s # Found file dir_hidden, relative to root: dir_hidden 1144s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1144s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1144s # Found file .hidden, relative to root: dir_hidden/.hidden 1144s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1144s # Found file pattern_file, relative to root: pattern_file 1144s ok 4 /live-g-file/test_traverse_structure 1144s # Test enumerate 'testdir_live-g-file'... 1144s # Testing file 'dir_no-access' 1144s # Testing file 'normal_file' 1144s # Testing file 'normal_file-symlink' 1144s # Testing file 'not_exists' 1144s # Testing file 'not_exists' 1144s # Testing file 'not_exists2' 1144s # Testing file 'not_exists3' 1144s # Testing file 'not_exists4' 1144s # Testing file 'dir_no-execute/file' 1144s ok 5 /live-g-file/test_enumerate 1144s # test_open: 'dir1' 1144s # test_open: 'dir_no-access' 1144s # test_open: 'target-file' 1144s # test_open: 'normal_file-symlink' 1144s # test_open: 'executable_file' 1144s # test_open: 'private_file' 1144s # test_open: 'readonly_file' 1144s # test_open: 'UTF_pr?i?lis? z' 1144s # test_open: 'pattern_file' 1144s # test_open: 'not_exists' 1144s # test_open: 'dir_no-execute/file' 1144s # test_open: 'lost_symlink' 1144s ok 6 /live-g-file/test_open 1144s # test_create: 'dir1' 1144s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir1?: Is a directory 1144s # test_create: 'dir1/subdir' 1144s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir1/subdir?: Is a directory 1144s # test_create: 'dir2' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir2?: File exists 1144s # test_create: 'normal_file' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/normal_file?: File exists 1144s # test_create: 'executable_file' 1144s # test_create: 'private_file' 1144s # test_create: 'normal_file2' 1144s # test_create: 'UTF_pr?i?lis? z' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1144s # test_create: 'dir_pr?i?lis? z' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1144s # test_create: 'pattern_file' 1144s # test_create: 'not_exists2' 1144s # test_create: 'not_exists3' 1144s # test_create: 'not_exists4' 1144s ok 7 /live-g-file/test_create 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> '.' 1144s # res = 0, error code 2 = Target file exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'target-file' 1144s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir2' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'dir-target' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> '.' 1144s # res = 0, error code 2 = Target file exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'target-file' 1144s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/dir-target?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'not_exists' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'dir_no-access' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'dir_no-write' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/target-file?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> '.' 1144s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/normal_file-symlink: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1144s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1144s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/executable_file?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/executable_file?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'executable_file' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/private_file?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/private_file?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'private_file' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/normal_file2?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'pattern_file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'pattern_file' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/pattern_file?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'pattern_file' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'pattern_file' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> 'dir-target' 1144s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> '.' 1144s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> 'target-file' 1144s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> 'not_exists' 1144s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> 'dir_no-access' 1144s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> 'dir_no-write' 1144s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'not_exists' --> 'dir-target' 1144s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'lost_symlink' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'lost_symlink' --> '.' 1144s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/lost_symlink: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'lost_symlink' --> 'target-file' 1144s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'lost_symlink' --> 'not_exists' 1144s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1144s ok 8 /live-g-file/test_copy_move 1144s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir1 1144s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir1: Directory not empty 1144s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir2 1144s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir2: No such file or directory 1144s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/executable_file 1144s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/readonly_file 1144s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_pr?i?lis? z 1144s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists 1144s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists: No such file or directory 1144s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists 1144s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/not_exists: No such file or directory 1144s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-execute/file 1144s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1144s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-FEZ1K2/testdir_live-g-file/lost_symlink 1144s ok 9 /live-g-file/test_delete 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s ok 10 /live-g-file/test_make_directory_with_parents 1144s # Cleaning target testing structure in 'testdir_live-g-file'... 1144s # deleting 'dir1' 1144s # deleting 'subdir' 1144s # deleting 'dir-target' 1144s # deleting 'dir2' 1144s # deleting 'target-file' 1144s # deleting 'normal_file-symlink' 1144s # deleting 'pattern_file' 1144s # deleting 'executable_file' 1144s # deleting 'private_file' 1144s # deleting 'normal_file2' 1144s # deleting 'UTF_pr?i?lis? z' 1144s # deleting 'lost_symlink' 1144s # deleting 'dir_no-access' 1144s # deleting 'dir_no-write' 1144s # deleting 'target-file' 1144s # deleting 'normal_file' 1144s # deleting 'normal_file-symlink' 1144s # deleting 'executable_file~' 1144s # deleting 'private_file' 1144s # deleting 'normal_file2~' 1144s # deleting 'a' 1144s # deleting 'UTF_pr?i?lis? z' 1144s # deleting 'dir_hidden' 1144s # deleting '.a-hidden-file' 1144s # deleting 'file-in-.hidden1' 1144s # deleting '.hidden' 1144s # deleting 'file-in-.hidden2' 1144s # deleting 'pattern_file' 1144s # deleting 'normal_file2' 1144s # deleting 'not_exists2' 1144s # deleting 'not_exists3' 1144s # deleting 'not_exists4' 1144s ok 11 /live-g-file/final_clean 1144s # Start of test_unix_is_mountpoint tests 1144s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1144s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1144s # End of test_unix_is_mountpoint tests 1144s # End of live-g-file tests 1144s ok - glib/live-g-file.test 1144s # Running test: glib/thread-deprecated.test 1144s TAP version 13 1144s # random seed: R02Scc0ce61fe3d145ace60acbfc828c1bde 1144s 1..6 1144s # Start of thread tests 1144s ok 1 /thread/mutex 1144s # Executing: glib/thread-deprecated.test 1144s ok 2 /thread/static-rec-mutex 1149s ok 3 /thread/static-private 1149s # slow test /thread/static-private executed in 4.41 secs 1149s # Executing: glib/thread-deprecated.test 1154s ok 4 /thread/static-rw-lock 1154s # slow test /thread/static-rw-lock executed in 5.00 secs 1154s ok 5 /thread/once 1154s # Executing: glib/thread-deprecated.test 1159s # Executing: glib/thread-deprecated.test 1164s ok 6 /thread/rerun-all 1164s # slow test /thread/rerun-all executed in 10.03 secs 1164s # End of thread tests 1164s ok - glib/thread-deprecated.test 1164s # Running test: glib/deftype.test 1164s ok - glib/deftype.test 1164s # Running test: glib/value.test 1164s TAP version 13 1164s # random seed: R02S5cd4c7a74c86e54158bcf0e73c65d5b7 1164s 1..8 1164s # Start of value tests 1164s ok 1 /value/basic 1164s ok 2 /value/collection 1164s ok 3 /value/copying 1164s ok 4 /value/enum-transformation 1164s ok 5 /value/gtype 1164s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1164s ok 6 /value/string 1164s # Next: GObject object in GValue of GObject to GValue of GObject 1164s # Next: GObject object in GValue of GObject to GValue of TestInterface 1164s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1164s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1164s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1164s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1164s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1164s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1164s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1164s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1164s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1164s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1164s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1164s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1164s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1164s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1164s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1164s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1164s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1164s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1164s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1164s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1164s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1164s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1164s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1164s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1164s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1164s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1164s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1164s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1164s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1164s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1164s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1164s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1164s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1164s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1164s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1164s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1164s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1164s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1164s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1164s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1164s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1164s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1164s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1164s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1164s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1164s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1164s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1164s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1164s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1164s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1164s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1164s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1164s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1164s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1164s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1164s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1164s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1164s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1164s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1164s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1164s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1164s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1164s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1164s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1164s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1164s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1164s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1164s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1164s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1164s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1164s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1164s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1164s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1164s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1164s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1164s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1164s ok 7 /value/transform-object 1164s # Start of array tests 1164s ok 8 /value/array/basic 1164s # End of array tests 1164s # End of value tests 1164s ok - glib/value.test 1164s # Running test: glib/file-thumbnail.test 1164s TAP version 13 1164s # random seed: R02S9ce5ff77eaed877909c0d57aa7187025 1164s 1..7 1164s # Start of file-thumbnail tests 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/runtime 1164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 1 /file-thumbnail/fail 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/runtime 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 2 /file-thumbnail/size-priority 1164s # Start of valid tests 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/runtime 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 3 /file-thumbnail/valid/normal 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/runtime 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 4 /file-thumbnail/valid/large 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/runtime 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 5 /file-thumbnail/valid/x-large 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/runtime 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 6 /file-thumbnail/valid/xx-large 1164s # End of valid tests 1164s # Start of unknown tests 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/runtime 1164s # Created test thumbnail at /tmp/test_file-thumbnail_0NNSK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1164s ok 7 /file-thumbnail/unknown/super-large 1164s # End of unknown tests 1164s # End of file-thumbnail tests 1164s ok - glib/file-thumbnail.test 1164s # Running test: glib/cxx-2b.test 1164s TAP version 13 1164s # random seed: R02Sfba54f924535945fc91b4acf2e4ddd35 1164s 1..2 1164s # Start of gtask tests 1164s # 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. 1164s ok 1 /gtask/name 1164s # Start of name tests 1164s # 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. 1164s ok 2 /gtask/name/macro-wrapper 1164s # End of name tests 1164s # End of gtask tests 1164s ok - glib/cxx-2b.test 1164s # Running test: glib/dir.test 1164s TAP version 13 1164s # random seed: R02S16c52bb139e68a0a4f5b02e9d6d48161 1164s 1..3 1164s # Start of dir tests 1164s ok 1 /dir/read 1164s ok 2 /dir/nonexisting 1164s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1164s ok 3 /dir/refcounting 1164s # End of dir tests 1164s ok - glib/dir.test 1164s # Running test: glib/contenttype.test 1164s TAP version 13 1164s # random seed: R02S4a08a3cea54576d1fdea6fa8accd56e6 1164s 1..13 1164s # Start of contenttype tests 1164s ok 1 /contenttype/guess 1164s ok 2 /contenttype/guess_svg_from_data 1164s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1164s ok 4 /contenttype/unknown 1164s ok 5 /contenttype/subtype 1164s ok 6 /contenttype/list 1164s ok 7 /contenttype/executable 1164s ok 8 /contenttype/description 1164s ok 9 /contenttype/icon 1164s ok 10 /contenttype/symbolic-icon 1164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1164s ok 11 /contenttype/tree 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1164s ok 12 /contenttype/tree_invalid_encoding 1164s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1164s ok 13 /contenttype/test_type_is_a_special_case 1164s # End of contenttype tests 1164s ok - glib/contenttype.test 1164s # Running test: glib/gdbus-error.test 1164s TAP version 13 1164s # random seed: R02S5c295be4b2f1c83edd93c435d4142e02 1164s 1..4 1164s # Start of gdbus tests 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_HBCJK2/gdbus/registered-errors/.dirs/runtime 1164s ok 1 /gdbus/registered-errors 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_HBCJK2/gdbus/unregistered-errors/.dirs/runtime 1164s ok 2 /gdbus/unregistered-errors 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_HBCJK2/gdbus/transparent-gerror/.dirs/runtime 1164s ok 3 /gdbus/transparent-gerror 1164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/home 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/cache 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/system-config2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/config 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/system-data2 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/data 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/state 1164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_HBCJK2/gdbus/register-error/.dirs/runtime 1164s ok 4 /gdbus/register-error 1164s # End of gdbus tests 1164s ok - glib/gdbus-error.test 1164s # Running test: glib/sleepy-stream.test 1164s TAP version 13 1164s # random seed: R02S65b1c761d91b3f47b622bd98c8b80980 1164s 1..2 1164s # Start of filter-stream tests 1164s ok 1 /filter-stream/input 1164s ok 2 /filter-stream/async 1164s # End of filter-stream tests 1164s ok - glib/sleepy-stream.test 1164s # Running test: glib/markup.test 1164s # Executing: glib/markup.test 1164s TAP version 13 1164s # random seed: R02S32d9677a88c6adddf02b22f385cc20ce 1164s 1..1 1164s # Start of markup tests 1164s ok 1 /markup/stack 1164s # End of markup tests 1164s ok - glib/markup.test 1164s # Running test: glib/utf8-misc.test 1164s TAP version 13 1164s # random seed: R02Sbe45d6c219e1a50301df496d250dde8b 1164s 1..7 1164s # Start of utf8 tests 1164s ok 1 /utf8/strlen 1164s ok 2 /utf8/strncpy 1164s ok 3 /utf8/strrchr 1164s ok 4 /utf8/reverse 1164s ok 5 /utf8/substring 1164s ok 6 /utf8/make-valid 1164s ok 7 /utf8/truncate-middle 1164s # End of utf8 tests 1164s ok - glib/utf8-misc.test 1164s # Running test: glib/accumulator.test 1164s TAP version 13 1164s # random seed: R02Sc016304e1e14464ce5baff858fe2485a 1164s 1..1 1164s # Start of gobject tests 1164s ok 1 /gobject/accumulator 1164s # End of gobject tests 1164s ok - glib/accumulator.test 1164s # Running test: glib/unix-streams.test 1164s TAP version 13 1164s # random seed: R02S98084e701cc6034ae5b69d5a4d1c6f75 1164s 1..9 1164s # Start of unix-streams tests 1164s ok 1 /unix-streams/basic 1164s ok 2 /unix-streams/pipe-io-test 1164s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1165s ok 3 /unix-streams/nonblocking-io-test 1165s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1165s ok 4 /unix-streams/read_write 1165s ok 5 /unix-streams/read_writev 1165s ok 6 /unix-streams/write-wouldblock 1165s ok 7 /unix-streams/writev-wouldblock 1165s ok 8 /unix-streams/write-async-wouldblock 1165s ok 9 /unix-streams/writev-async-wouldblock 1165s # End of unix-streams tests 1165s ok - glib/unix-streams.test 1165s # Running test: glib/ifaceproperties.test 1165s TAP version 13 1165s # random seed: R02S57c3820a01aecc03d57541ea37f7da57 1165s 1..7 1165s # Start of interface tests 1165s # Start of properties tests 1165s ok 1 /interface/properties/set 1165s ok 2 /interface/properties/notify 1165s ok 3 /interface/properties/find-overridden 1165s ok 4 /interface/properties/list-overridden 1165s ok 5 /interface/properties/find-interface 1165s ok 6 /interface/properties/list-interface 1165s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1165s ok 7 /interface/properties/not-overridden 1165s # End of properties tests 1165s # End of interface tests 1165s ok - glib/ifaceproperties.test 1165s # Running test: glib/defaultvalue.test 1165s TAP version 13 1165s # random seed: R02Sdbdeac7b43c445b82708c00d05dd10eb 1165s 1..84 1165s # Start of Default Values tests 1165s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1165s ok 2 /Default Values/GAppLaunchContext 1165s ok 3 /Default Values/GApplicationCommandLine 1165s # skipping GApplication:is-remote 1165s ok 4 /Default Values/GApplication 1165s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1165s ok 6 /Default Values/GBindingGroup 1165s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1165s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1165s ok 9 /Default Values/GBytesIcon 1165s ok 10 /Default Values/GCancellable 1165s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1165s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1165s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1165s ok 14 /Default Values/GCredentials 1165s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1165s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1165s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1165s ok 18 /Default Values/GDBusAuthObserver 1165s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1165s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1165s ok 21 /Default Values/GDBusMessage 1165s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1165s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1165s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1165s ok 25 /Default Values/GDBusObjectProxy 1165s ok 26 /Default Values/GDBusObjectSkeleton 1165s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1165s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1165s ok 29 /Default Values/GEmblem 1165s ok 30 /Default Values/GEmblemedIcon 1165s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1165s ok 32 /Default Values/GFileInfo 1165s ok 33 /Default Values/GFileInputStream 1165s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1165s ok 35 /Default Values/GFileOutputStream 1165s ok 36 /Default Values/GFilenameCompleter 1165s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1165s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1165s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1165s ok 40 /Default Values/GInitiallyUnowned 1165s ok 41 /Default Values/GIOModule 1165s ok 42 /Default Values/GListStore 1165s ok 43 /Default Values/GMemoryInputStream 1165s ok 44 /Default Values/GMemoryOutputStream 1165s ok 45 /Default Values/GMenu 1165s ok 46 /Default Values/GMenuItem 1165s ok 47 /Default Values/GMountOperation 1165s ok 48 /Default Values/GNativeSocketAddress 1165s ok 49 /Default Values/GNetworkAddress 1165s ok 50 /Default Values/GNetworkService 1165s ok 51 /Default Values/GNotification 1165s ok 52 /Default Values/GObject 1165s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1165s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1165s # skipping GProxyAddressEnumerator:proxy-resolver 1165s ok 54 /Default Values/GProxyAddressEnumerator 1165s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1165s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1165s ok 57 /Default Values/GSignalGroup 1165s ok 58 /Default Values/GSimpleAction 1165s ok 59 /Default Values/GSimpleActionGroup 1165s ok 60 /Default Values/GSimpleAsyncResult 1165s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1165s ok 62 /Default Values/GSimplePermission 1165s ok 63 /Default Values/GSimpleProxyResolver 1165s # skipping GSocketClient:proxy-resolver 1165s ok 64 /Default Values/GSocketClient 1165s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1165s ok 66 /Default Values/GSocket # SKIP initialization failed 1165s ok 67 /Default Values/GSocketListener 1165s ok 68 /Default Values/GSocketService 1165s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1165s ok 70 /Default Values/GSubprocessLauncher 1165s # GLib-GIO-DEBUG: GTask 0xc16f9ec5bfc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1165s ok 71 /Default Values/GTask 1165s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1165s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1165s ok 74 /Default Values/GTestDBus 1165s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1165s ok 76 /Default Values/GThreadedSocketService 1165s ok 77 /Default Values/GTlsInteraction 1165s ok 78 /Default Values/GTlsPassword 1165s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1165s ok 80 /Default Values/GUnixFDList 1165s ok 81 /Default Values/GVfs 1165s ok 82 /Default Values/GVolumeMonitor 1165s ok 83 /Default Values/GZlibCompressor 1165s ok 84 /Default Values/GZlibDecompressor 1165s # End of Default Values tests 1165s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1165s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1165s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1165s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1165s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1165s ok - glib/defaultvalue.test 1165s # Running test: glib/slist.test 1165s TAP version 13 1165s # random seed: R02S585750be4e21a4203937991673dfb9f5 1165s 1..14 1165s # Start of slist tests 1165s ok 1 /slist/sort 1165s ok 2 /slist/sort-with-data 1165s ok 3 /slist/insert-sorted 1165s ok 4 /slist/insert-sorted-with-data 1165s ok 5 /slist/reverse 1165s ok 6 /slist/nth 1165s ok 7 /slist/remove 1165s ok 8 /slist/remove-all 1165s ok 9 /slist/insert 1165s ok 10 /slist/position 1165s ok 11 /slist/concat 1165s ok 12 /slist/copy 1165s # Start of sort tests 1165s ok 13 /slist/sort/stable 1165s # End of sort tests 1165s # Start of copy tests 1165s ok 14 /slist/copy/deep 1165s # End of copy tests 1165s # End of slist tests 1165s ok - glib/slist.test 1165s # Running test: glib/socket-listener.test 1165s TAP version 13 1165s # random seed: R02Sd289e2a077f3c9d2524bd62fcdbf73d5 1165s 1..1 1165s # Start of socket-listener tests 1165s ok 1 /socket-listener/event-signal 1165s # End of socket-listener tests 1165s ok - glib/socket-listener.test 1165s # Running test: glib/properties-refcount3.test 1165s TAP version 13 1165s # random seed: R02S1001806d2e12aa6cb383ea55a3344ce9 1165s 1..1 1165s # Start of gobject tests 1165s # Start of refcount tests 1169s # Executing: glib/properties-refcount3.test 1174s # Executing: glib/properties-refcount3.test 1179s # Executing: glib/properties-refcount3.test 1184s # Executing: glib/properties-refcount3.test 1189s # Executing: glib/properties-refcount3.test 1194s # Executing: glib/properties-refcount3.test 1195s # 1195s # stopping 1195s # 1195s # stopped 1195s # 1195s # 17033614 1134549 1195s # 1195s ok 1 /gobject/refcount/properties-3 1195s # slow test /gobject/refcount/properties-3 executed in 30.02 secs 1195s # End of refcount tests 1195s # End of gobject tests 1195s ok - glib/properties-refcount3.test 1195s # Running test: glib/signals.test 1195s TAP version 13 1195s # random seed: R02S514d540c4163d6c7b017df8b23f5964e 1195s 1..31 1195s # Start of gobject tests 1195s # Start of signals tests 1195s ok 1 /gobject/signals/all-types 1195s ok 2 /gobject/signals/variant 1195s ok 3 /gobject/signals/destroy-target-object 1195s ok 4 /gobject/signals/generic-marshaller-1 1195s ok 5 /gobject/signals/generic-marshaller-2 1195s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1195s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1195s ok 8 /gobject/signals/generic-marshaller-int-return 1195s ok 9 /gobject/signals/generic-marshaller-uint-return 1195s ok 10 /gobject/signals/generic-marshaller-interface-return 1195s ok 11 /gobject/signals/custom-marshaller 1195s ok 12 /gobject/signals/connect 1195s ok 13 /gobject/signals/emission-hook 1195s ok 14 /gobject/signals/emitv 1195s ok 15 /gobject/signals/accumulator 1195s # Signal: accumulator-class-first 1195s # Signal: accumulator-class-last 1195s # Signal: accumulator-class-cleanup 1195s # Signal: accumulator-class-first-last 1195s # Signal: accumulator-class-first-last-cleanup 1195s # Signal: accumulator-class-last-cleanup 1195s ok 16 /gobject/signals/accumulator-class 1195s ok 17 /gobject/signals/introspection 1195s ok 18 /gobject/signals/block-handler 1195s ok 19 /gobject/signals/stop-emission 1195s ok 20 /gobject/signals/invocation-hint 1195s ok 21 /gobject/signals/test-disconnection-wrong-object 1195s ok 22 /gobject/signals/clear-signal-handler 1195s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1195s ok 23 /gobject/signals/lookup 1195s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1195s ok 24 /gobject/signals/parse-name 1195s ok 25 /gobject/signals/is-valid-name 1195s ok 26 /gobject/signals/weak-ref-disconnect 1195s # Start of lookup tests 1195s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1195s ok 27 /gobject/signals/lookup/invalid 1195s # End of lookup tests 1195s # Start of parse-name tests 1195s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1195s # Parser input: 1195s # Parser input: 7zip 1195s # Parser input: invalid:signal 1195s # Parser input: simple-detailed:: 1195s # Parser input: simple-detailed: 1195s # Parser input: : 1195s # Parser input: :: 1195s # Parser input: :valid-detail 1195s # Parser input: ::valid-detail 1195s ok 28 /gobject/signals/parse-name/invalid 1195s # End of parse-name tests 1195s # Start of invalid-name tests 1195s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1195s ok 29 /gobject/signals/invalid-name/colon 1195s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1195s ok 30 /gobject/signals/invalid-name/first-char 1195s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1195s ok 31 /gobject/signals/invalid-name/empty 1195s # End of invalid-name tests 1195s # End of signals tests 1195s # End of gobject tests 1195s ok - glib/signals.test 1195s # Running test: glib/completion.test 1195s TAP version 13 1195s # random seed: R02S51bbbfa03159f6070f0181d1da1828f6 1195s 1..1 1195s # Start of completion tests 1195s ok 1 /completion/test-completion 1195s # End of completion tests 1195s ok - glib/completion.test 1195s # Running test: glib/hostutils.test 1195s TAP version 13 1195s # random seed: R02S467ddbf51396853b428898435a586dc3 1195s 1..3 1195s # Start of hostutils tests 1195s ok 1 /hostutils/to_ascii 1195s ok 2 /hostutils/to_unicode 1195s ok 3 /hostutils/is_ip_addr 1195s # End of hostutils tests 1195s ok - glib/hostutils.test 1195s # Running test: glib/cxx-20.test 1195s TAP version 13 1195s # random seed: R02S56f9a3820f2bbbb411af8116101a22ee 1195s 1..2 1195s # Start of gtask tests 1195s # 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. 1195s ok 1 /gtask/name 1195s # Start of name tests 1195s # 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. 1195s ok 2 /gtask/name/macro-wrapper 1195s # End of name tests 1195s # End of gtask tests 1195s ok - glib/cxx-20.test 1195s # Running test: glib/enums.test 1195s TAP version 13 1195s # random seed: R02S2c7ea1d9ccef0c60ef6779a6840b6418 1195s 1..4 1195s # Start of enum tests 1195s ok 1 /enum/basic 1195s ok 2 /enum/define-type 1195s # End of enum tests 1195s # Start of flags tests 1195s ok 3 /flags/basic 1195s ok 4 /flags/define-type 1195s # End of flags tests 1195s ok - glib/enums.test 1195s # Running test: glib/union-info.test 1195s TAP version 13 1195s # random seed: R02S374b3bf8b72f6260a8d92db616912118 1195s 1..2 1195s # Start of union-info tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_4GI2K2/union-info/basic/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_4GI2K2/union-info/basic/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_4GI2K2/union-info/basic/.dirs/runtime 1195s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1195s # /union-info/basic summary: Test basic properties of GIUnionInfo 1195s ok 1 /union-info/basic 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_4GI2K2/union-info/methods/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_4GI2K2/union-info/methods/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_4GI2K2/union-info/methods/.dirs/runtime 1195s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1195s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1195s ok 2 /union-info/methods 1195s # End of union-info tests 1195s ok - glib/union-info.test 1195s # Running test: glib/properties.test 1195s TAP version 13 1195s # random seed: R02Sf132f4aad0e4158e75ba2ef8c8be840b 1195s 1..13 1195s # Start of properties tests 1195s ok 1 /properties/install 1195s ok 2 /properties/install-many 1195s ok 3 /properties/notify 1195s ok 4 /properties/notify-queue 1195s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1195s ok 5 /properties/construct 1195s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1195s # Test g_object_get_property with an initialized value 1195s # Test g_object_get_property with an uninitialized value 1195s # Test g_object_get_property with a transformable value 1195s ok 6 /properties/get-property 1195s ok 7 /properties/testv_with_no_properties 1195s ok 8 /properties/testv_with_valid_properties 1195s ok 9 /properties/testv_with_invalid_property_type 1195s ok 10 /properties/testv_with_invalid_property_names 1195s ok 11 /properties/testv_getv 1195s ok 12 /properties/testv_notify_queue 1195s # Start of set-property tests 1195s # Start of variant tests 1195s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1195s ok 13 /properties/set-property/variant/floating 1195s # End of variant tests 1195s # End of set-property tests 1195s # End of properties tests 1195s ok - glib/properties.test 1195s # Running test: glib/fileattributematcher.test 1195s TAP version 13 1195s # random seed: R02S945ba3ff88845b56b20be6935f04fd23 1195s 1..3 1195s # Start of fileattributematcher tests 1195s ok 1 /fileattributematcher/exact 1195s ok 2 /fileattributematcher/equality 1195s ok 3 /fileattributematcher/subtract 1195s # End of fileattributematcher tests 1195s ok - glib/fileattributematcher.test 1195s # Running test: glib/environment.test 1195s TAP version 13 1195s # random seed: R02S9f84b33f7c26cae5e5ac719f9a83ef0e 1195s 1..6 1195s # Start of environ tests 1195s # /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. 1195s ok 1 /environ/listenv 1195s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1195s ok 2 /environ/getenv 1195s ok 3 /environ/setenv 1195s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1195s ok 4 /environ/array 1195s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1195s ok 5 /environ/null 1195s # /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. 1195s ok 6 /environ/case 1195s # End of environ tests 1195s ok - glib/environment.test 1195s # Running test: glib/simple-proxy.test 1195s TAP version 13 1195s # random seed: R02S905eb30d10d6d5429560684699758905 1195s 1..3 1195s # Start of static-proxy tests 1195s ok 1 /static-proxy/uri 1195s ok 2 /static-proxy/socks 1195s ok 3 /static-proxy/ignore 1195s # End of static-proxy tests 1195s ok - glib/simple-proxy.test 1195s # Running test: glib/unicode-normalize.test 1195s TAP version 13 1195s # random seed: R02Scbf73d281c86daeeeecf5e7ca3d43ba8 1195s 1..3 1195s # Start of unicode tests 1195s # Processing Part0 # Specific cases 1195s # Processing Part1 # Character by character test 1196s # Processing Part2 # Canonical Order Test 1196s # Processing Part3 # PRI #29 Test 1196s ok 1 /unicode/normalize 1196s # Invalid UTF-8 vector 0 1196s # Invalid UTF-8 vector 1 1196s # Invalid UTF-8 vector 2 1196s # Invalid UTF-8 vector 3 1196s # Invalid UTF-8 vector 4 1196s # Invalid UTF-8 vector 5 1196s # Invalid UTF-8 vector 6 1196s # Invalid UTF-8 vector 7 1196s # Invalid UTF-8 vector 8 1196s # Invalid UTF-8 vector 9 1196s # Invalid UTF-8 vector 10 1196s # Invalid UTF-8 vector 11 1196s # Invalid UTF-8 vector 12 1196s ok 2 /unicode/normalize-invalid 1196s # Start of normalize tests 1196s ok 3 /unicode/normalize/bad-length 1196s # End of normalize tests 1196s # End of unicode tests 1196s ok - glib/unicode-normalize.test 1196s # Running test: glib/gdbus-close-pending.test 1196s TAP version 13 1196s # random seed: R02S000f54301b2af352520928e8147a6ae5 1196s 1..2 1196s # Start of gdbus tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_17ENK2/gdbus/close-pending/.dirs/runtime 1196s ok 1 /gdbus/close-pending 1196s # slow test /gdbus/close-pending executed in 0.51 secs 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_17ENK2/gdbus/unref-pending/.dirs/runtime 1197s ok 2 /gdbus/unref-pending 1197s # slow test /gdbus/unref-pending executed in 0.53 secs 1197s # End of gdbus tests 1197s ok - glib/gdbus-close-pending.test 1197s # Running test: glib/contexts.test 1197s TAP version 13 1197s # random seed: R02S172ed7b42d393d058d8aff01e63c9ef7 1197s 1..5 1197s # Start of gio tests 1197s # Start of contexts tests 1197s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1197s ok 1 /gio/contexts/thread-independence 1197s ok 2 /gio/contexts/context-independence 1197s # Start of context-specific tests 1197s ok 3 /gio/contexts/context-specific/identity 1197s ok 4 /gio/contexts/context-specific/emit 1197s ok 5 /gio/contexts/context-specific/emit-and-unref 1197s # End of context-specific tests 1197s # End of contexts tests 1197s # End of gio tests 1197s ok - glib/contexts.test 1197s # Running test: glib/macros.test 1197s TAP version 13 1197s # random seed: R02S91c6173032a0d55919ce5beff0ecf393 1197s 1..3 1197s # Start of alignof tests 1197s ok 1 /alignof/fallback 1197s # End of alignof tests 1197s # Start of assert tests 1197s ok 2 /assert/static 1197s # End of assert tests 1197s # Start of struct tests 1197s ok 3 /struct/sizeof_member 1197s # End of struct tests 1197s ok - glib/macros.test 1197s # Running test: glib/data-output-stream.test 1197s TAP version 13 1197s # random seed: R02S8412e1b0b4677d4299f2c30108212bb7 1197s 1..7 1197s # Start of data-output-stream tests 1197s ok 1 /data-output-stream/basic 1197s ok 2 /data-output-stream/write-lines-LF 1197s ok 3 /data-output-stream/write-lines-CR 1197s ok 4 /data-output-stream/write-lines-CR-LF 1197s ok 5 /data-output-stream/write-int 1197s ok 6 /data-output-stream/seek 1197s ok 7 /data-output-stream/truncate 1197s # End of data-output-stream tests 1197s ok - glib/data-output-stream.test 1197s # Running test: glib/performance.test 1197s Running test simple-construction 1199s # Executing: glib/performance.test 1203s Millions of constructed objects per second: 3.687 1203s Running test simple-construction1 1204s # Executing: glib/performance.test 1208s Millions of constructed objects per second: 29.404 1208s Running test complex-construction 1209s # Executing: glib/performance.test 1212s Millions of constructed objects per second: 1.645 1212s Running test complex-construction1 1214s # Executing: glib/performance.test 1217s Millions of constructed objects per second: 2.611 1217s Running test complex-construction2 1219s # Executing: glib/performance.test 1223s Millions of constructed objects per second: 2.882 1223s Running test finalization 1224s # Executing: glib/performance.test 1225s Millions of finalized objects per second: 0.852 1225s Running test type-check 1225s Million type checks per second: inf 1225s Running test emit-unhandled 1226s Emissions per second: 1204505 1226s Running test emit-unhandled-empty 1227s Emissions per second: 7017651 1227s Running test emit-unhandled-generic 1229s Emissions per second: 1637931 1229s Running test emit-unhandled-generic-empty 1229s # Executing: glib/performance.test 1230s Emissions per second: 7018523 1230s Running test emit-unhandled-args 1231s Emissions per second: 1025901 1231s Running test emit-handled 1233s Emissions per second: 816900 1233s Running test emit-handled-empty 1234s # Executing: glib/performance.test 1235s Emissions per second: 859667 1235s Running test emit-handled-generic 1236s Emissions per second: 838123 1236s Running test emit-handled-generic-empty 1238s Emissions per second: 1454386 1238s Running test emit-handled-args 1239s # Executing: glib/performance.test 1240s Emissions per second: 749290 1240s Running test notify-unhandled 1241s Notify (unhandled) per second: 7077564 1241s Running test notify-by-pspec-unhandled 1242s Notify (unhandled) per second: 26504696 1242s Running test notify-handled 1244s # Executing: glib/performance.test 1244s Notify per second: 479812 1244s Running test notify-by-pspec-handled 1246s Notify per second: 496019 1246s Running test property-set 1247s Property set per second: 2548912 1247s Running test property-get 1249s Property get per second: 2510942 1249s Running test refcount 1249s # Executing: glib/performance.test 1253s Million refs+unref per second: 7.41 1253s ok - glib/performance.test 1253s # Running test: glib/socket.test 1253s TAP version 13 1253s # random seed: R02Sd2d35a5380eac0db9f26d403cb521356 1253s 1..28 1253s # Start of socket tests 1254s # Executing: glib/socket.test 1254s ok 1 /socket/ipv4_sync 1254s # slow test /socket/ipv4_sync executed in 1.00 secs 1255s ok 2 /socket/ipv4_async 1255s # slow test /socket/ipv4_async executed in 1.00 secs 1255s ok 3 /socket/ipv6_sync 1255s ok 4 /socket/ipv6_async 1255s ok 5 /socket/ipv6_v4mapped 1256s ok 6 /socket/close_graceful 1256s # slow test /socket/close_graceful executed in 1.00 secs 1256s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1256s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1256s ok 8 /socket/fd_reuse 1256s ok 9 /socket/address 1256s ok 10 /socket/unix-from-fd 1256s ok 11 /socket/unix-connection 1256s ok 12 /socket/unix-connection-ancillary-data 1256s ok 13 /socket/source-postmortem 1256s ok 14 /socket/read_write 1256s ok 15 /socket/read_writev 1256s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1256s ok 16 /socket/receive_bytes 1257s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1257s ok 17 /socket/receive_bytes_from 1257s # Start of ipv4_sync tests 1257s ok 18 /socket/ipv4_sync/datagram 1257s # Start of datagram tests 1258s ok 19 /socket/ipv4_sync/datagram/timeouts 1258s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1258s # End of datagram tests 1258s # End of ipv4_sync tests 1258s # Start of ipv6_sync tests 1258s ok 20 /socket/ipv6_sync/datagram 1258s # Start of datagram tests 1259s ok 21 /socket/ipv6_sync/datagram/timeouts 1259s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1259s # End of datagram tests 1259s # End of ipv6_sync tests 1259s # Start of reuse tests 1259s ok 22 /socket/reuse/tcp 1259s ok 23 /socket/reuse/udp 1259s # End of reuse tests 1259s # Start of get_available tests 1259s ok 24 /socket/get_available/datagram 1259s ok 25 /socket/get_available/stream 1259s # End of get_available tests 1259s # Start of credentials tests 1259s # Supported on this OS: GCredentials:linux-ucred:pid=0 1259s ok 26 /socket/credentials/tcp_client 1259s # Supported on this OS: GCredentials:linux-ucred:pid=0 1259s ok 27 /socket/credentials/tcp_server 1259s # Supported on this OS: GCredentials:linux-ucred:pid=2773,uid=1000,gid=1000 1259s ok 28 /socket/credentials/unix_socketpair 1259s # End of credentials tests 1259s # End of socket tests 1259s ok - glib/socket.test 1259s # Running test: glib/signal-handler.test 1259s TAP version 13 1259s # random seed: R02Sec33b6b7fc48bedab35e7041879483aa 1259s 1..7 1259s # Start of signal tests 1259s # Start of handler tests 1259s # min perf: connected 1 handlers in 0.000 seconds 1259s ok 1 /signal/handler/connect-many 1259s # min perf: disconnected 1 handlers in 0.000 seconds 1259s ok 2 /signal/handler/disconnect-many-ordered 1259s # min perf: disconnected 1 handlers in 0.000 seconds 1259s ok 3 /signal/handler/disconnect-many-inverse 1259s # min perf: disconnected 1 handlers in 0.000 seconds 1259s ok 4 /signal/handler/disconnect-many-random 1259s # min perf: disconnected 1 handlers in 0.000 seconds 1259s ok 5 /signal/handler/disconnect-2-signals 1259s # min perf: disconnected 1 handlers in 0.000 seconds 1259s ok 6 /signal/handler/disconnect-2-objects 1259s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1259s ok 7 /signal/handler/block-many 1259s # End of handler tests 1259s # End of signal tests 1259s ok - glib/signal-handler.test 1259s # Running test: glib/g-file-info.test 1259s TAP version 13 1259s # random seed: R02S9bbad313e35059836e281ee57bf40f9d 1259s 1..6 1259s # Start of g-file-info tests 1259s ok 1 /g-file-info/test_g_file_info 1259s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1259s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1259s ok 2 /g-file-info/xattrs 1259s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1259s ok 3 /g-file-info/set-modified-date-time-precision 1259s # Start of test_g_file_info tests 1259s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1259s ok 4 /g-file-info/test_g_file_info/modification-time 1259s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1259s ok 5 /g-file-info/test_g_file_info/access-time 1259s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1259s ok 6 /g-file-info/test_g_file_info/creation-time 1259s # End of test_g_file_info tests 1259s # End of g-file-info tests 1259s ok - glib/g-file-info.test 1259s # Running test: glib/gdbus-sasl.test 1259s TAP version 13 1259s # random seed: R02S772abc99bcc7d84f9a99c740b42ab2f7 1259s 1..1 1259s # Start of gdbus tests 1259s # Start of sasl tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_UJKIK2/gdbus/sasl/server/.dirs/runtime 1259s # New handshake: EXTERNAL with incorrect initial response 1259s # C:“AUTH EXTERNAL 30” 1259s # Expect: /^REJECTED.*$/ 1259s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1259s # New handshake: EXTERNAL without initial response, failing to authenticate 1259s # C:“AUTH EXTERNAL” 1259s # Expect: /^DATA$/ 1259s # S:“DATA” 1259s # C:“DATA 30” 1259s # Expect: /^REJECTED.*$/ 1259s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1259s # New handshake: EXTERNAL with initial response 1259s # C:“AUTH EXTERNAL 31303030” 1259s # Expect: /^OK [0-9a-f]+$/ 1259s # S:“OK 9ed77887ef71f057db89613565f59cf3” 1259s # New handshake: EXTERNAL without initial response 1259s # C:“AUTH EXTERNAL” 1259s # Expect: /^DATA$/ 1259s # Executing: glib/gdbus-sasl.test 1259s # S:“DATA” 1259s # C:“DATA 31303030” 1259s # Expect: /^OK [0-9a-f]+$/ 1259s # S:“OK 9ed77887ef71f057db89613565f59cf3” 1259s # New handshake: EXTERNAL with empty authorization identity 1259s # C:“AUTH EXTERNAL” 1259s # Expect: /^DATA$/ 1259s # S:“DATA” 1259s # C:“DATA” 1259s # Expect: /^OK [0-9a-f]+$/ 1259s # S:“OK 9ed77887ef71f057db89613565f59cf3” 1259s # New handshake: EXTERNAL with empty authorization identity and whitespace 1259s # C:“AUTH EXTERNAL” 1259s # Expect: /^DATA$/ 1259s # S:“DATA” 1259s # C:“DATA ” 1259s # Expect: /^OK [0-9a-f]+$/ 1259s # S:“OK 9ed77887ef71f057db89613565f59cf3” 1259s ok 1 /gdbus/sasl/server 1259s # End of sasl tests 1259s # End of gdbus tests 1259s ok - glib/gdbus-sasl.test 1259s # Running test: glib/slice.test 1259s TAP version 13 1259s # random seed: R02Sbe42c0666aebe9e8c52f64fa3971194b 1259s 1..3 1259s # Start of slice tests 1259s ok 1 /slice/copy 1259s ok 2 /slice/chain 1260s ok 3 /slice/allocate 1260s # slow test /slice/allocate executed in 0.93 secs 1260s # End of slice tests 1260s ok - glib/slice.test 1260s # Running test: glib/gdbus-auth.test 1260s TAP version 13 1260s # random seed: R02S5ff3daaeea5fe130bdfe5dd69152ebd1 1260s 1..5 1260s # Start of gdbus tests 1260s # Start of auth tests 1260s # Start of client tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1260s ok 1 /gdbus/auth/client/EXTERNAL 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1260s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1260s # End of client tests 1260s # Start of server tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1260s ok 3 /gdbus/auth/server/ANONYMOUS 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1260s ok 4 /gdbus/auth/server/EXTERNAL 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UZ1IK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1260s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1260s # End of server tests 1260s # End of auth tests 1260s # End of gdbus tests 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s ok - glib/gdbus-auth.test 1260s # Running test: glib/gdbus-proxy.test 1260s TAP version 13 1260s # random seed: R02S3e4d7542cb6786e4cc371bdd2769ddce 1260s 1..5 1260s # Start of gdbus tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/.dirs/runtime 1260s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1262s ok 1 /gdbus/proxy 1262s # slow test /gdbus/proxy executed in 1.78 secs 1262s # Start of proxy tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-properties/.dirs/runtime 1262s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1262s ok 2 /gdbus/proxy/no-properties 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1262s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1262s ok 3 /gdbus/proxy/wellknown-noauto 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/async/.dirs/runtime 1262s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s ok 4 /gdbus/proxy/async 1264s # slow test /gdbus/proxy/async executed in 1.77 secs 1264s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/home 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/cache 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/config 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/data 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/state 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B6YMK2/gdbus/proxy/no-match-rule/.dirs/runtime 1264s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1264s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # Executing: glib/gdbus-proxy.test 1265s ok 5 /gdbus/proxy/no-match-rule 1265s # slow test /gdbus/proxy/no-match-rule executed in 1.77 secs 1265s # End of proxy tests 1265s # End of gdbus tests 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s ok - glib/gdbus-proxy.test 1265s # Running test: glib/memory-monitor-portal.test 1266s TAP version 13 1266s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1266s 1..1 1266s ok - glib/memory-monitor-portal.test 1266s # Running test: glib/mainloop.test 1266s TAP version 13 1266s # random seed: R02S2ea93abb5bc3af2d4d6f8869569f7788 1266s 1..45 1266s # Start of maincontext tests 1266s ok 1 /maincontext/basic 1267s # Add same-priority sources: 69 1267s # Find each source: 21 1267s # Remove in random order: 111 1267s ok 2 /maincontext/nsources_same_priority 1267s # Add different-priority sources: 58 1267s # Find each source: 20 1267s # Remove in random order: 118 1267s ok 3 /maincontext/nsources_different_priority 1268s # Add sources from threads: 796 1268s # Remove sources from threads: 72 1268s ok 4 /maincontext/nsources_threadpool 1268s # slow test /maincontext/nsources_threadpool executed in 0.90 secs 1268s ok 5 /maincontext/source_finalization 1268s # /maincontext/idle-once summary: Test g_idle_add_once() works 1268s ok 6 /maincontext/idle-once 1268s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1268s ok 7 /maincontext/timeout-once 1268s # Start of source_finalization_from_source tests 1268s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 8 /maincontext/source_finalization_from_source/0 1268s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 9 /maincontext/source_finalization_from_source/1 1268s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 10 /maincontext/source_finalization_from_source/2 1268s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 11 /maincontext/source_finalization_from_source/3 1268s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 12 /maincontext/source_finalization_from_source/4 1268s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 13 /maincontext/source_finalization_from_source/5 1268s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 14 /maincontext/source_finalization_from_source/6 1268s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 15 /maincontext/source_finalization_from_source/7 1268s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 16 /maincontext/source_finalization_from_source/8 1268s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1268s ok 17 /maincontext/source_finalization_from_source/9 1268s # End of source_finalization_from_source tests 1268s # Start of source_finalization_from_dispatch tests 1268s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1268s ok 18 /maincontext/source_finalization_from_dispatch/0 1268s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1268s ok 19 /maincontext/source_finalization_from_dispatch/1 1268s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1268s ok 20 /maincontext/source_finalization_from_dispatch/2 1268s # End of source_finalization_from_dispatch tests 1268s # End of maincontext tests 1268s # Start of mainloop tests 1268s ok 21 /mainloop/basic 1268s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1268s ok 23 /mainloop/priorities 1269s ok 24 /mainloop/invoke 1269s # slow test /mainloop/invoke executed in 0.50 secs 1269s # Executing: glib/mainloop.test 1270s ok 25 /mainloop/child_sources 1270s # slow test /mainloop/child_sources executed in 1.21 secs 1272s ok 26 /mainloop/recursive_child_sources 1272s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 1272s ok 27 /mainloop/recursive_loop_child_sources 1272s ok 28 /mainloop/swapping_child_sources 1272s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1272s ok 29 /mainloop/blocked_child_sources 1273s ok 30 /mainloop/source_time 1273s # slow test /mainloop/source_time executed in 1.00 secs 1273s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1273s ok 31 /mainloop/overflow 1274s ok 32 /mainloop/ready-time 1274s # slow test /mainloop/ready-time executed in 0.50 secs 1274s ok 33 /mainloop/wakeup 1274s ok 34 /mainloop/remove-invalid 1274s ok 35 /mainloop/unref-while-pending 1274s # Executing: glib/mainloop.test 1278s ok 36 /mainloop/unix-fd 1278s # slow test /mainloop/unix-fd executed in 4.15 secs 1278s ok 37 /mainloop/unix-fd-source 1278s ok 38 /mainloop/source-unix-fd-api 1278s ok 39 /mainloop/wait 1278s ok 40 /mainloop/unix-file-poll 1278s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1278s ok 41 /mainloop/unix-fd-priority 1278s ok 42 /mainloop/nfds 1278s ok 43 /mainloop/steal-fd 1278s # Start of ownerless-polling tests 1278s ok 44 /mainloop/ownerless-polling/attach-first 1278s ok 45 /mainloop/ownerless-polling/pop-first 1278s # End of ownerless-polling tests 1278s # End of mainloop tests 1278s ok - glib/mainloop.test 1278s # Running test: glib/io-stream.test 1278s TAP version 13 1278s # random seed: R02S9f451bc2084e5b86735ea68ce99bce3e 1278s 1..3 1278s # Start of io-stream tests 1278s ok 1 /io-stream/copy-chunks 1278s # Start of close tests 1278s # Start of async tests 1278s ok 2 /io-stream/close/async/memory 1278s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1278s ok 3 /io-stream/close/async/file 1278s # End of async tests 1278s # End of close tests 1278s # End of io-stream tests 1278s ok - glib/io-stream.test 1278s # Running test: glib/signalgroup.test 1278s TAP version 13 1278s # random seed: R02S8aa9d442c3df58484da48c17b745ea47 1278s 1..9 1278s # Start of GObject tests 1278s # Start of SignalGroup tests 1278s ok 1 /GObject/SignalGroup/invalid 1278s ok 2 /GObject/SignalGroup/simple 1278s ok 3 /GObject/SignalGroup/changing-target 1278s ok 4 /GObject/SignalGroup/blocking 1278s ok 5 /GObject/SignalGroup/weak-ref-target 1278s ok 6 /GObject/SignalGroup/connect-object 1278s ok 7 /GObject/SignalGroup/signal-parsing 1278s ok 8 /GObject/SignalGroup/properties 1278s ok 9 /GObject/SignalGroup/interface 1278s # Start of signal-parsing tests 1278s # End of signal-parsing tests 1278s # End of SignalGroup tests 1278s # End of GObject tests 1278s ok - glib/signalgroup.test 1278s # Running test: glib/portal-support-flatpak-network-only.test 1278s TAP version 13 1278s # random seed: R02S4b4a3fac3cd2d535c52a5d2a3769b7bd 1278s 1..1 1278s # Start of portal-support tests 1278s # Start of flatpak tests 1278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/home 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/cache 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/system-config2 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/config 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/system-data2 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/data 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/state 1278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/runtime 1278s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_VCS0K2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1278s ok 1 /portal-support/flatpak/network 1278s # End of flatpak tests 1278s # End of portal-support tests 1278s ok - glib/portal-support-flatpak-network-only.test 1278s # Running test: glib/cxx-03.test 1278s TAP version 13 1278s # random seed: R02Sf1877727062507c6f20d36deb5c7fc2a 1278s 1..2 1278s # Start of gtask tests 1278s # 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. 1278s ok 1 /gtask/name 1278s # Start of name tests 1278s # 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. 1278s ok 2 /gtask/name/macro-wrapper 1278s # End of name tests 1278s # End of gtask tests 1278s ok - glib/cxx-03.test 1278s # Running test: glib/power-profile-monitor.test 1278s TAP version 13 1278s # random seed: R02S3fe130921772b22bfa50d9f55781d156 1278s 1..1 1278s # Start of power-profile-monitor tests 1278s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1278s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1278s ok 1 /power-profile-monitor/default 1278s # End of power-profile-monitor tests 1278s ok - glib/power-profile-monitor.test 1278s # Running test: glib/memory-output-stream.test 1278s TAP version 13 1278s # random seed: R02Sfe93ad424114a2d4fc15e444980db701 1278s 1..10 1278s # Start of memory-output-stream tests 1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1278s ok 1 /memory-output-stream/truncate 1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1278s ok 2 /memory-output-stream/get-data-size 1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1278s ok 3 /memory-output-stream/properties 1278s ok 4 /memory-output-stream/write-bytes 1278s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1278s ok 5 /memory-output-stream/write-null 1278s ok 6 /memory-output-stream/writev 1278s ok 7 /memory-output-stream/writev_nonblocking 1278s ok 8 /memory-output-stream/steal_as_bytes 1278s # Start of seek tests 1278s ok 9 /memory-output-stream/seek/fixed 1278s ok 10 /memory-output-stream/seek/resizable 1278s # End of seek tests 1278s # End of memory-output-stream tests 1278s ok - glib/memory-output-stream.test 1278s # Running test: glib/strfuncs.test 1278s TAP version 13 1278s # random seed: R02Sf84b52efb29e43aae5d37b5971dff3c6 1278s 1..50 1278s # Start of strfuncs tests 1278s ok 1 /strfuncs/ascii-strcasecmp 1278s ok 2 /strfuncs/ascii_strdown 1278s ok 3 /strfuncs/ascii_strdup 1278s ok 4 /strfuncs/ascii_strtod 1278s ok 5 /strfuncs/bounds-check 1278s ok 6 /strfuncs/has-prefix 1278s ok 7 /strfuncs/has-prefix-macro 1278s ok 8 /strfuncs/has-suffix 1278s ok 9 /strfuncs/has-suffix-macro 1278s ok 10 /strfuncs/memdup 1278s ok 11 /strfuncs/memdup2 1278s ok 12 /strfuncs/set_str 1278s ok 13 /strfuncs/stpcpy 1278s ok 14 /strfuncs/str_match_string 1278s ok 15 /strfuncs/str_tokenize_and_fold 1278s ok 16 /strfuncs/strcanon 1278s ok 17 /strfuncs/strchomp 1278s ok 18 /strfuncs/strchug 1278s ok 19 /strfuncs/strcompress-strescape 1278s ok 20 /strfuncs/strconcat 1278s ok 21 /strfuncs/strdelimit 1278s ok 22 /strfuncs/strdup 1278s ok 23 /strfuncs/strdup-printf 1278s ok 24 /strfuncs/strdupv 1278s ok 25 /strfuncs/strerror 1278s ok 26 /strfuncs/strip-context 1278s ok 27 /strfuncs/strjoin 1278s ok 28 /strfuncs/strjoinv 1278s ok 29 /strfuncs/strlcat 1278s ok 30 /strfuncs/strlcpy 1278s ok 31 /strfuncs/strncasecmp 1278s ok 32 /strfuncs/strndup 1278s ok 33 /strfuncs/strnfill 1278s ok 34 /strfuncs/strreverse 1278s ok 35 /strfuncs/strsignal 1278s ok 36 /strfuncs/strsplit 1278s ok 37 /strfuncs/strsplit-set 1278s ok 38 /strfuncs/strstr 1278s ok 39 /strfuncs/strtod 1278s ok 40 /strfuncs/strtoull-strtoll 1278s ok 41 /strfuncs/strup 1278s ok 42 /strfuncs/strv-contains 1278s ok 43 /strfuncs/strv-equal 1278s ok 44 /strfuncs/strv-length 1278s ok 45 /strfuncs/test-is-to-digit 1278s ok 46 /strfuncs/transliteration 1278s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1278s ok 47 /strfuncs/str-equal 1278s # Start of ascii-string-to-num tests 1278s ok 48 /strfuncs/ascii-string-to-num/pathological 1278s ok 49 /strfuncs/ascii-string-to-num/usual 1278s # End of ascii-string-to-num tests 1278s # Start of strdup tests 1278s ok 50 /strfuncs/strdup/inline 1278s # End of strdup tests 1278s # End of strfuncs tests 1278s ok - glib/strfuncs.test 1278s # Running test: glib/utils-c-99.test 1278s TAP version 13 1278s # random seed: R02Sfdd029617726edfd360e2a3eebdbf898 1278s 1..40 1278s # Start of utils tests 1278s ok 1 /utils/language-names 1278s ok 2 /utils/locale-variants 1278s ok 3 /utils/version 1278s ok 4 /utils/appname 1278s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1278s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1278s ok 5 /utils/prgname-thread-safety 1278s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1278s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1278s ok 6 /utils/tmpdir 1278s ok 7 /utils/basic_bits 1278s ok 8 /utils/bits 1278s ok 9 /utils/swap 1278s ok 10 /utils/find-program 1278s ok 11 /utils/find-program-for-path 1278s ok 12 /utils/debug 1278s ok 13 /utils/codeset 1278s ok 14 /utils/codeset2 1278s ok 15 /utils/console-charset 1278s ok 16 /utils/gettext 1278s ok 17 /utils/username 1278s ok 18 /utils/realname 1278s ok 19 /utils/hostname 1278s ok 20 /utils/xdgdirs 1278s ok 21 /utils/specialdir 1278s # NAME: Ubuntu 1278s ok 22 /utils/os-info 1278s ok 23 /utils/clear-pointer 1278s ok 24 /utils/clear-pointer-cast 1278s ok 25 /utils/take-pointer 1278s ok 26 /utils/clear-source 1278s ok 27 /utils/misc-mem 1278s # /utils/aligned-mem summary: Aligned memory allocator 1278s # Alignment must not be zero 1278s # Alignment must be a power of two 1278s # Alignment must be a multiple of sizeof(void*) 1278s ok 28 /utils/aligned-mem 1278s # /utils/free-sized summary: Check that g_free_sized() works 1278s ok 29 /utils/free-sized 1278s ok 30 /utils/nullify 1278s ok 31 /utils/atexit 1278s ok 32 /utils/check-setuid 1278s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1278s ok 33 /utils/int-limits 1278s ok 34 /utils/clear-list 1278s ok 35 /utils/clear-slist 1278s # Start of specialdir tests 1278s ok 36 /utils/specialdir/desktop 1278s # End of specialdir tests 1278s # Start of clear-pointer tests 1278s ok 37 /utils/clear-pointer/side-effects 1278s # End of clear-pointer tests 1278s # Start of aligned-mem tests 1278s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1278s ok 38 /utils/aligned-mem/alignment 1278s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1278s ok 39 /utils/aligned-mem/zeroed 1278s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1278s ok 40 /utils/aligned-mem/free-sized 1278s # Start of subprocess tests 1278s # End of subprocess tests 1278s # End of aligned-mem tests 1278s # End of utils tests 1278s ok - glib/utils-c-99.test 1278s # Running test: glib/objects-refcount1.test 1278s TAP version 13 1278s # random seed: R02S2e0e1df782da3be547622d54c0f26879 1278s 1..1 1278s # Start of gobject tests 1278s # Start of refcount tests 1278s # init 0xbcf6cddc5750 1278s # 1278s # init 0xbcf6cddc58e0 1278s # 1279s # Executing: glib/objects-refcount1.test 1283s # dispose 0xbcf6cddc5750! 1283s # 1283s # dispose 0xbcf6cddc58e0! 1283s # 1283s ok 1 /gobject/refcount/object-basics 1283s # slow test /gobject/refcount/object-basics executed in 5.02 secs 1283s # End of refcount tests 1283s # End of gobject tests 1283s ok - glib/objects-refcount1.test 1283s # Running test: glib/closure-refcount.test 1283s TAP version 13 1283s # random seed: R02Sc44f90af7bcba7dc8b72a04cb2be5bdf 1283s 1..1 1283s # Start of closure tests 1283s # Init 0xb9dbd70031e0 1284s # Yielding from main thread 1284s # Yielding from main thread 1284s # Yielding from main thread 1284s # Yielding from thread2 1284s # Yielding from thread1 1284s # Yielding from main thread 1284s # Yielding from main thread 1284s # Executing: glib/closure-refcount.test 1284s # Yielding from main thread 1284s # Yielding from thread1 1284s # Yielding from thread2 1284s # Yielding from main thread 1284s # Yielding from main thread 1284s # Yielding from main thread 1284s # Yielding from thread1 1284s # Yielding from thread2 1284s # Stopping 1284s # Stopped 1284s ok 1 /closure/refcount 1284s # slow test /closure/refcount executed in 0.82 secs 1284s # End of closure tests 1284s ok - glib/closure-refcount.test 1284s # Running test: glib/bindinggroup.test 1284s TAP version 13 1284s # random seed: R02Se635dde5791994b4e8b914bbfb7f2879 1284s 1..11 1284s # Start of GObject tests 1284s # Start of BindingGroup tests 1284s ok 1 /GObject/BindingGroup/invalid 1284s ok 2 /GObject/BindingGroup/default 1284s ok 3 /GObject/BindingGroup/bidirectional 1284s ok 4 /GObject/BindingGroup/transform 1284s ok 5 /GObject/BindingGroup/transform-closures 1284s ok 6 /GObject/BindingGroup/same-object 1284s ok 7 /GObject/BindingGroup/weak-ref-source 1284s ok 8 /GObject/BindingGroup/weak-ref-target 1284s ok 9 /GObject/BindingGroup/properties 1284s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1284s ok 11 /GObject/BindingGroup/empty-closures 1284s # End of BindingGroup tests 1284s # End of GObject tests 1284s ok - glib/bindinggroup.test 1284s # Running test: glib/macros-c-90.test 1284s TAP version 13 1284s # random seed: R02Se2f5b3e5762371f846d20c9238724aec 1284s 1..4 1284s # Start of C tests 1284s ok 1 /C/standard-90 1284s # End of C tests 1284s # Start of alignof tests 1284s ok 2 /alignof/fallback 1284s # End of alignof tests 1284s # Start of assert tests 1284s ok 3 /assert/static 1284s # End of assert tests 1284s # Start of struct tests 1284s ok 4 /struct/sizeof_member 1284s # End of struct tests 1284s ok - glib/macros-c-90.test 1284s # Running test: glib/testing.test 1284s TAP version 13 1284s # random seed: R02S1e66bf136334cb42b7057a60ba51eb7f 1284s 1..1 1284s # Start of assert tests 1284s ok 1 /assert/finalize_object 1284s # Start of finalize_object tests 1284s # Start of subprocess tests 1284s # End of subprocess tests 1284s # End of finalize_object tests 1284s # End of assert tests 1284s ok - glib/testing.test 1284s # Running test: glib/markup-parse.test 1284s TAP version 13 1284s # random seed: R02S8d0eb4e7be9dad7c952efce88b96e6e4 1284s 1..71 1284s # Start of markup tests 1284s # Start of parse tests 1284s ok 1 /markup/parse/valid-10.gmarkup 1284s ok 2 /markup/parse/fail-1.gmarkup 1284s ok 3 /markup/parse/fail-36.gmarkup 1284s ok 4 /markup/parse/fail-39.gmarkup 1284s ok 5 /markup/parse/fail-20.gmarkup 1284s ok 6 /markup/parse/fail-38.gmarkup 1284s ok 7 /markup/parse/fail-13.gmarkup 1284s ok 8 /markup/parse/fail-47.gmarkup 1284s ok 9 /markup/parse/fail-33.gmarkup 1284s ok 10 /markup/parse/fail-11.gmarkup 1284s ok 11 /markup/parse/fail-22.gmarkup 1284s ok 12 /markup/parse/valid-7.gmarkup 1284s ok 13 /markup/parse/valid-9.gmarkup 1284s ok 14 /markup/parse/fail-23.gmarkup 1284s ok 15 /markup/parse/valid-1.gmarkup 1284s ok 16 /markup/parse/fail-34.gmarkup 1284s ok 17 /markup/parse/fail-18.gmarkup 1284s ok 18 /markup/parse/valid-6.gmarkup 1284s ok 19 /markup/parse/fail-29.gmarkup 1284s ok 20 /markup/parse/valid-16.gmarkup 1284s ok 21 /markup/parse/fail-2.gmarkup 1284s ok 22 /markup/parse/valid-11.gmarkup 1284s ok 23 /markup/parse/fail-54.gmarkup 1284s ok 24 /markup/parse/valid-17.gmarkup 1284s ok 25 /markup/parse/fail-16.gmarkup 1284s ok 26 /markup/parse/fail-7.gmarkup 1284s ok 27 /markup/parse/fail-4.gmarkup 1284s ok 28 /markup/parse/fail-40.gmarkup 1284s ok 29 /markup/parse/fail-41.gmarkup 1284s ok 30 /markup/parse/fail-28.gmarkup 1284s ok 31 /markup/parse/fail-9.gmarkup 1284s ok 32 /markup/parse/valid-5.gmarkup 1284s ok 33 /markup/parse/valid-13.gmarkup 1284s ok 34 /markup/parse/fail-6.gmarkup 1284s ok 35 /markup/parse/valid-14.gmarkup 1284s ok 36 /markup/parse/fail-15.gmarkup 1284s ok 37 /markup/parse/fail-24.gmarkup 1284s ok 38 /markup/parse/fail-35.gmarkup 1284s ok 39 /markup/parse/fail-48.gmarkup 1284s ok 40 /markup/parse/fail-12.gmarkup 1284s ok 41 /markup/parse/valid-2.gmarkup 1284s ok 42 /markup/parse/fail-46.gmarkup 1284s ok 43 /markup/parse/fail-53.gmarkup 1284s ok 44 /markup/parse/fail-21.gmarkup 1284s ok 45 /markup/parse/fail-27.gmarkup 1284s ok 46 /markup/parse/valid-12.gmarkup 1284s ok 47 /markup/parse/fail-31.gmarkup 1284s ok 48 /markup/parse/fail-14.gmarkup 1284s ok 49 /markup/parse/fail-30.gmarkup 1284s ok 50 /markup/parse/fail-25.gmarkup 1284s ok 51 /markup/parse/fail-51.gmarkup 1284s ok 52 /markup/parse/valid-3.gmarkup 1284s ok 53 /markup/parse/fail-17.gmarkup 1284s ok 54 /markup/parse/fail-43.gmarkup 1284s ok 55 /markup/parse/valid-15.gmarkup 1284s ok 56 /markup/parse/fail-49.gmarkup 1284s ok 57 /markup/parse/fail-26.gmarkup 1284s ok 58 /markup/parse/fail-5.gmarkup 1284s ok 59 /markup/parse/fail-44.gmarkup 1284s ok 60 /markup/parse/fail-32.gmarkup 1284s ok 61 /markup/parse/fail-3.gmarkup 1284s ok 62 /markup/parse/fail-45.gmarkup 1284s ok 63 /markup/parse/fail-52.gmarkup 1284s ok 64 /markup/parse/fail-8.gmarkup 1284s ok 65 /markup/parse/fail-37.gmarkup 1284s ok 66 /markup/parse/valid-4.gmarkup 1284s ok 67 /markup/parse/fail-50.gmarkup 1284s ok 68 /markup/parse/fail-19.gmarkup 1284s ok 69 /markup/parse/fail-42.gmarkup 1284s ok 70 /markup/parse/valid-8.gmarkup 1284s ok 71 /markup/parse/fail-10.gmarkup 1284s # End of parse tests 1284s # End of markup tests 1284s ok - glib/markup-parse.test 1284s # Running test: glib/overflow.test 1284s TAP version 13 1284s # random seed: R02S9e235d2f088ecffcf2863e075ff82b3b 1284s 1..6 1284s # Start of glib tests 1284s # Start of checked-math tests 1284s ok 1 /glib/checked-math/guint-add 1284s ok 2 /glib/checked-math/guint-mul 1284s ok 3 /glib/checked-math/guint64-add 1284s ok 4 /glib/checked-math/guint64-mul 1284s ok 5 /glib/checked-math/gsize-add 1284s ok 6 /glib/checked-math/gsize-mul 1284s # End of checked-math tests 1284s # End of glib tests 1284s ok - glib/overflow.test 1284s # Running test: glib/gsubprocess.test 1284s TAP version 13 1284s # random seed: R02S3fab1ae5c381bf2e0943b92e39389b69 1284s 1..83 1284s # Start of gsubprocess tests 1284s ok 1 /gsubprocess/noop 1284s ok 2 /gsubprocess/noop-all-to-null 1284s ok 3 /gsubprocess/noop-no-wait 1284s ok 4 /gsubprocess/noop-stdin-inherit 1284s ok 5 /gsubprocess/search-path 1284s ok 6 /gsubprocess/search-path-from-envp 1288s ok 7 /gsubprocess/signal 1288s # slow test /gsubprocess/signal executed in 3.44 secs 1288s ok 8 /gsubprocess/exit1 1288s ok 9 /gsubprocess/echo1 1288s ok 10 /gsubprocess/echo-merged 1288s ok 11 /gsubprocess/cat-utf8 1289s # Executing: glib/gsubprocess.test 1289s ok 12 /gsubprocess/cat-eof 1289s # slow test /gsubprocess/cat-eof executed in 1.01 secs 1292s ok 13 /gsubprocess/multi1 1292s # slow test /gsubprocess/multi1 executed in 3.03 secs 1292s ok 14 /gsubprocess/communicate 1294s # Executing: glib/gsubprocess.test 1295s ok 15 /gsubprocess/terminate 1295s # slow test /gsubprocess/terminate executed in 2.90 secs 1295s ok 16 /gsubprocess/env 1295s ok 17 /gsubprocess/cwd 1295s ok 18 /gsubprocess/launcher-close 1295s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1295s ok 19 /gsubprocess/stdout-file 1295s ok 20 /gsubprocess/stdout-fd 1295s ok 21 /gsubprocess/child-setup 1295s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1295s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1295s ok 22 /gsubprocess/launcher-environment 1295s # Start of exit1 tests 1295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1295s ok 23 /gsubprocess/exit1/cancel 1295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1295s ok 24 /gsubprocess/exit1/cancel_in_cb 1295s # End of exit1 tests 1295s # Start of communicate tests 1295s ok 25 /gsubprocess/communicate/cancelled 1295s ok 26 /gsubprocess/communicate/async 1295s ok 27 /gsubprocess/communicate/utf8 1295s # hello world 1295s ok 28 /gsubprocess/communicate/no-pipes 1295s ok 29 /gsubprocess/communicate/separate-stderr 1295s ok 30 /gsubprocess/communicate/stdout-only 1295s # hello world 1295s ok 31 /gsubprocess/communicate/stderr-only 1295s ok 32 /gsubprocess/communicate/stdout-silence 1295s ok 33 /gsubprocess/communicate/nothing 1295s # Start of async tests 1295s ok 34 /gsubprocess/communicate/async/cancelled 1295s # hello world 1295s ok 35 /gsubprocess/communicate/async/no-pipes 1295s ok 36 /gsubprocess/communicate/async/separate-stderr 1295s ok 37 /gsubprocess/communicate/async/stdout-only 1295s # hello world 1295s ok 38 /gsubprocess/communicate/async/stderr-only 1295s ok 39 /gsubprocess/communicate/async/stdout-silence 1295s # Start of cancelled tests 1295s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1295s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1295s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1295s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1295s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1295s # End of cancelled tests 1295s # End of async tests 1295s # Start of utf8 tests 1295s ok 45 /gsubprocess/communicate/utf8/cancelled 1295s ok 46 /gsubprocess/communicate/utf8/async 1295s # hello world 1295s ok 47 /gsubprocess/communicate/utf8/no-pipes 1295s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1295s ok 49 /gsubprocess/communicate/utf8/stdout-only 1295s # hello world 1295s ok 50 /gsubprocess/communicate/utf8/stderr-only 1295s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1295s ok 52 /gsubprocess/communicate/utf8/invalid 1295s # Start of async tests 1295s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1295s # hello world 1295s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1295s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1295s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1295s # hello world 1295s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1295s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1295s ok 59 /gsubprocess/communicate/utf8/async/invalid 1295s # Start of cancelled tests 1295s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1295s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1295s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1295s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1295s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1295s # End of cancelled tests 1295s # End of async tests 1295s # Start of cancelled tests 1295s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1295s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1295s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1295s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1296s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1296s # End of cancelled tests 1296s # End of utf8 tests 1296s # Start of cancelled tests 1296s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1296s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1296s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1296s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1296s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1296s # End of cancelled tests 1296s # End of communicate tests 1296s # Start of env tests 1296s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1296s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1296s ok 75 /gsubprocess/env/inherit 1296s # End of env tests 1296s # Start of pass-fd tests 1296s ok 76 /gsubprocess/pass-fd/basic 1296s ok 77 /gsubprocess/pass-fd/empty-child-setup 1296s ok 78 /gsubprocess/pass-fd/inherit-fds 1296s # End of pass-fd tests 1296s # Start of fd-conflation tests 1296s ok 79 /gsubprocess/fd-conflation/basic 1296s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1296s ok 81 /gsubprocess/fd-conflation/inherit-fds 1296s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1296s # End of fd-conflation tests 1296s # Start of exit-status tests 1296s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1296s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1296s ok 83 /gsubprocess/exit-status/trapped 1296s # End of exit-status tests 1296s # End of gsubprocess tests 1296s ok - glib/gsubprocess.test 1296s # Running test: glib/signals-refcount2.test 1296s TAP version 13 1296s # random seed: R02S57a5833e0412d35762aa6da230fd18d9 1296s 1..1 1296s # Start of gobject tests 1296s # Start of refcount tests 1296s # init 0xca99193ca430 1296s # 1296s # init 0xca99193ca5d0 1296s # 1299s # Executing: glib/signals-refcount2.test 1301s # dispose 0xca99193ca430! 1301s # 1301s # dispose 0xca99193ca5d0! 1301s # 1301s ok 1 /gobject/refcount/signals 1301s # slow test /gobject/refcount/signals executed in 5.00 secs 1301s # End of refcount tests 1301s # End of gobject tests 1301s ok - glib/signals-refcount2.test 1301s # Running test: glib/tls-certificate.test 1301s TAP version 13 1301s # random seed: R02S883ed019bb2acce42d5d5af7413cff08 1301s 1..19 1301s # Start of tls-certificate tests 1301s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1301s ok 1 /tls-certificate/pem-parser 1301s ok 2 /tls-certificate/pem-parser-handles-chain 1301s ok 3 /tls-certificate/from_file 1301s ok 4 /tls-certificate/from_files 1301s ok 5 /tls-certificate/from_files_crlf 1301s ok 6 /tls-certificate/from_files_pkcs8 1301s ok 7 /tls-certificate/from_files_pkcs8enc 1301s ok 8 /tls-certificate/list_from_file 1301s ok 9 /tls-certificate/pkcs11-uri 1301s ok 10 /tls-certificate/pkcs11-uri-unsupported 1301s ok 11 /tls-certificate/from_pkcs12 1301s ok 12 /tls-certificate/from_pkcs12_file 1301s ok 13 /tls-certificate/not-valid-before 1301s ok 14 /tls-certificate/not-valid-after 1301s ok 15 /tls-certificate/subject-name 1301s ok 16 /tls-certificate/issuer-name 1301s ok 17 /tls-certificate/dns-names 1301s ok 18 /tls-certificate/ip-addresses 1301s ok 19 /tls-certificate/pem-parser-no-sentinel 1301s # End of tls-certificate tests 1301s ok - glib/tls-certificate.test 1301s # Running test: glib/notify-init.test 1301s TAP version 13 1301s # random seed: R02S4c4c16b2ab564afa4c6a08ed427d57fa 1301s 1..1 1301s # Start of properties tests 1301s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1301s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1301s ok 1 /properties/notify-in-init 1301s # End of properties tests 1301s ok - glib/notify-init.test 1301s # Running test: glib/atomic-c-11.test 1301s TAP version 13 1301s # random seed: R02S86102dab1bb14f691ee55e38a6d09fea 1301s 1..2 1301s # Start of atomic tests 1301s ok 1 /atomic/types 1302s ok 2 /atomic/threaded 1302s # slow test /atomic/threaded executed in 0.75 secs 1302s # End of atomic tests 1302s ok - glib/atomic-c-11.test 1302s # Running test: glib/function-info.test 1302s TAP version 13 1302s # random seed: R02S5a5f71442d920783185f6fb28c82e37d 1302s 1..1 1302s # Start of function-info tests 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_K0SOK2/function-info/invoker/.dirs/runtime 1302s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1302s # /function-info/invoker summary: Test preparing a function invoker 1302s ok 1 /function-info/invoker 1302s # End of function-info tests 1302s ok - glib/function-info.test 1302s # Running test: glib/rand.test 1302s TAP version 13 1302s # random seed: R02Scea308cbb204c2c582bbcdd1bc654caf 1302s 1..2 1302s # Start of rand tests 1302s ok 1 /rand/test-rand 1302s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1302s ok 2 /rand/double-range 1302s # End of rand tests 1302s ok - glib/rand.test 1302s # Running test: glib/markup-escape.test 1302s TAP version 13 1302s # random seed: R02Sf1cd72e1649d1a5dc119a494f031790c 1302s 1..41 1302s # Start of markup tests 1302s ok 1 /markup/format 1302s # Start of escape-text tests 1302s ok 2 /markup/escape-text/0 1302s ok 3 /markup/escape-text/1 1302s ok 4 /markup/escape-text/2 1302s ok 5 /markup/escape-text/3 1302s ok 6 /markup/escape-text/4 1302s ok 7 /markup/escape-text/5 1302s ok 8 /markup/escape-text/6 1302s ok 9 /markup/escape-text/7 1302s ok 10 /markup/escape-text/8 1302s ok 11 /markup/escape-text/9 1302s ok 12 /markup/escape-text/10 1302s ok 13 /markup/escape-text/11 1302s ok 14 /markup/escape-text/12 1302s ok 15 /markup/escape-text/13 1302s ok 16 /markup/escape-text/14 1302s ok 17 /markup/escape-text/15 1302s ok 18 /markup/escape-text/16 1302s ok 19 /markup/escape-text/17 1302s ok 20 /markup/escape-text/18 1302s ok 21 /markup/escape-text/19 1302s ok 22 /markup/escape-text/20 1302s ok 23 /markup/escape-text/21 1302s ok 24 /markup/escape-text/22 1302s # End of escape-text tests 1302s # Start of escape-unichar tests 1302s ok 25 /markup/escape-unichar/0 1302s ok 26 /markup/escape-unichar/1 1302s ok 27 /markup/escape-unichar/2 1302s ok 28 /markup/escape-unichar/3 1302s ok 29 /markup/escape-unichar/4 1302s ok 30 /markup/escape-unichar/5 1302s ok 31 /markup/escape-unichar/6 1302s ok 32 /markup/escape-unichar/7 1302s ok 33 /markup/escape-unichar/8 1302s ok 34 /markup/escape-unichar/9 1302s ok 35 /markup/escape-unichar/10 1302s ok 36 /markup/escape-unichar/11 1302s ok 37 /markup/escape-unichar/12 1302s ok 38 /markup/escape-unichar/13 1302s ok 39 /markup/escape-unichar/14 1302s ok 40 /markup/escape-unichar/15 1302s ok 41 /markup/escape-unichar/16 1302s # End of escape-unichar tests 1302s # End of markup tests 1302s ok - glib/markup-escape.test 1302s # Running test: glib/simple-async-result.test 1302s TAP version 13 1302s # random seed: R02S067090d5ef3d8195f39964646a448d49 1302s 1..2 1302s # Start of gio tests 1302s # Start of simple-async-result tests 1302s ok 1 /gio/simple-async-result/test 1302s # GLib-GIO-DEBUG: GTask 0xbd5f92e806f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1302s ok 2 /gio/simple-async-result/valid 1302s # End of simple-async-result tests 1302s # End of gio tests 1302s ok - glib/simple-async-result.test 1302s # Running test: glib/g-icon.test 1302s TAP version 13 1302s # random seed: R02S1b3ca67c8a3bef420191c712551a42a7 1302s 1..6 1302s # Start of icons tests 1302s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1302s ok 1 /icons/to-string 1302s ok 2 /icons/serialize 1302s ok 3 /icons/themed 1302s ok 4 /icons/emblemed 1302s ok 5 /icons/file 1302s ok 6 /icons/bytes 1302s # End of icons tests 1302s ok - glib/g-icon.test 1302s # Running test: glib/types.test 1302s TAP version 13 1302s # random seed: R02Sa745e1dea32e29ac3039d1abc9218d23 1302s 1..1 1302s # Start of types tests 1302s ok 1 /types/basic_types 1302s # End of types tests 1302s ok - glib/types.test 1302s # Running test: glib/1bit-mutex.test 1302s TAP version 13 1302s # random seed: R02Sd81d47f7c18a185740df1dbb670b8267 1302s 1..2 1302s # Start of glib tests 1302s # Start of 1bit-mutex tests 1304s # Executing: glib/1bit-mutex.test 1309s # Executing: glib/1bit-mutex.test 1314s # Executing: glib/1bit-mutex.test 1319s # Executing: glib/1bit-mutex.test 1324s # Executing: glib/1bit-mutex.test 1329s # Executing: glib/1bit-mutex.test 1334s # Executing: glib/1bit-mutex.test 1339s # Executing: glib/1bit-mutex.test 1341s ok 1 /glib/1bit-mutex/int 1341s # slow test /glib/1bit-mutex/int executed in 39.43 secs 1344s # Executing: glib/1bit-mutex.test 1349s # Executing: glib/1bit-mutex.test 1354s # Executing: glib/1bit-mutex.test 1359s # Executing: glib/1bit-mutex.test 1364s # Executing: glib/1bit-mutex.test 1369s # Executing: glib/1bit-mutex.test 1374s # Executing: glib/1bit-mutex.test 1379s # Executing: glib/1bit-mutex.test 1381s ok 2 /glib/1bit-mutex/pointer 1381s # slow test /glib/1bit-mutex/pointer executed in 39.52 secs 1381s # End of 1bit-mutex tests 1381s # End of glib tests 1381s ok - glib/1bit-mutex.test 1381s # Running test: glib/memory-settings-backend.test 1381s TAP version 13 1381s # random seed: R02Sfd2a054cce3907ac93461b2b02c8ca84 1381s 1..1 1381s # Start of memory-settings-backend tests 1381s ok 1 /memory-settings-backend/extension-point-registered 1381s # End of memory-settings-backend tests 1381s ok - glib/memory-settings-backend.test 1381s # Running test: glib/bytes.test 1381s TAP version 13 1381s # random seed: R02Se38fa19eba72bb92203688103d5fb9d0 1381s 1..21 1381s # Start of bytes tests 1381s ok 1 /bytes/new 1381s ok 2 /bytes/new-take 1381s ok 3 /bytes/new-static 1381s ok 4 /bytes/new-with-free-func 1381s ok 5 /bytes/new-from-bytes 1381s ok 6 /bytes/new-from-bytes-slice 1381s ok 7 /bytes/new-from-bytes-shared-ref 1381s ok 8 /bytes/hash 1381s ok 9 /bytes/equal 1381s ok 10 /bytes/compare 1381s ok 11 /bytes/null 1381s ok 12 /bytes/get-region 1381s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1381s ok 13 /bytes/unref-null 1381s # Start of to-data tests 1381s ok 14 /bytes/to-data/transferred 1381s ok 15 /bytes/to-data/two-refs 1381s ok 16 /bytes/to-data/non-malloc 1381s ok 17 /bytes/to-data/different-free-func 1381s # End of to-data tests 1381s # Start of to-array tests 1381s ok 18 /bytes/to-array/transferred 1381s ok 19 /bytes/to-array/two-refs 1381s ok 20 /bytes/to-array/non-malloc 1381s # Start of transferred tests 1381s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1381s ok 21 /bytes/to-array/transferred/oversize 1381s # End of transferred tests 1381s # End of to-array tests 1381s # End of bytes tests 1381s ok - glib/bytes.test 1381s # Running test: glib/gdbus-message.test 1381s TAP version 13 1381s # random seed: R02Sc31a1bd8bbd228c17c3805efa88bac7c 1381s 1..3 1381s # Start of gdbus tests 1381s # Start of message tests 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_09UKK2/gdbus/message/lock/.dirs/runtime 1381s ok 1 /gdbus/message/lock 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_09UKK2/gdbus/message/copy/.dirs/runtime 1381s ok 2 /gdbus/message/copy 1381s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/home 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/cache 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/system-config2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/config 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/system-data2 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/data 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/state 1381s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_09UKK2/gdbus/message/bytes-needed/.dirs/runtime 1381s # Vector: 0 1381s # Vector: 1 1381s # Vector: 2 1381s # Vector: 3 1381s # Vector: 4 1381s # Vector: 5 1381s ok 3 /gdbus/message/bytes-needed 1381s # End of message tests 1381s # End of gdbus tests 1381s ok - glib/gdbus-message.test 1381s # Running test: glib/unix.test 1381s TAP version 13 1381s # random seed: R02S86be49dcb723989c7ca59330f36dc134 1381s 1..17 1381s # Start of glib-unix tests 1381s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1381s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1381s ok 1 /glib-unix/closefrom 1381s ok 2 /glib-unix/pipe 1381s # /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 1381s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1381s ok 3 /glib-unix/pipe-stdio-overwrite 1381s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1381s ok 4 /glib-unix/pipe-struct 1381s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1381s ok 5 /glib-unix/pipe-struct-auto 1381s ok 6 /glib-unix/error 1381s ok 7 /glib-unix/nonblocking 1381s ok 8 /glib-unix/sighup 1381s # slow test /glib-unix/sighup executed in 0.50 secs 1382s ok 9 /glib-unix/sigterm 1382s # slow test /glib-unix/sigterm executed in 0.50 secs 1382s ok 10 /glib-unix/sighup_again 1382s # slow test /glib-unix/sighup_again executed in 0.50 secs 1382s ok 11 /glib-unix/sighup_add_remove 1382s ok 12 /glib-unix/sighup_nested 1384s # Executing: glib/unix.test 1384s ok 13 /glib-unix/callback_after_signal 1384s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1384s ok 14 /glib-unix/child-wait 1384s # Start of closefrom tests 1384s # Start of subprocess tests 1384s # End of subprocess tests 1384s # End of closefrom tests 1384s # Start of pipe tests 1384s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1384s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1384s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1384s ok 15 /glib-unix/pipe/fd-cloexec 1384s # End of pipe tests 1384s # Start of get-passwd-entry tests 1384s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1384s ok 16 /glib-unix/get-passwd-entry/root 1384s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1384s ok 17 /glib-unix/get-passwd-entry/nonexistent 1384s # End of get-passwd-entry tests 1384s # End of glib-unix tests 1384s ok - glib/unix.test 1384s # Running test: glib/dynamictype.test 1384s TAP version 13 1385s # random seed: R02S3e4e5feac2437a4d42dc1b1a011f2025 1385s 1..2 1385s # Start of gobject tests 1385s ok 1 /gobject/dynamic-type 1385s # Start of dynamic-type tests 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1385s ok 2 /gobject/dynamic-type/query 1385s # End of dynamic-type tests 1385s # End of gobject tests 1385s ok - glib/dynamictype.test 1385s # Running test: glib/vfs.test 1385s TAP version 13 1385s # random seed: R02Sc4b9e3997336526e3bebee8db1a59d30 1385s 1..3 1385s # Start of gvfs tests 1385s ok 1 /gvfs/local 1385s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1385s ok 2 /gvfs/register-scheme 1385s # Start of resource tests 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1385s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1385s ok 3 /gvfs/resource/malformed-escaping 1385s # End of resource tests 1385s # End of gvfs tests 1385s ok - glib/vfs.test 1385s # Running test: glib/properties-refcount2.test 1385s TAP version 13 1385s # random seed: R02S142dbed4460a30dfdcd12054e3a9141f 1385s 1..1 1385s # Start of gobject tests 1385s # Start of refcount tests 1385s # init 0xc611af1b0780 1385s # 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # dispose 0xc611af1b0780! 1389s # 1389s ok 1 /gobject/refcount/properties-2 1389s # slow test /gobject/refcount/properties-2 executed in 4.31 secs 1389s # End of refcount tests 1389s # End of gobject tests 1389s ok - glib/properties-refcount2.test 1389s # Running test: glib/unicode-encoding.test 1389s TAP version 13 1389s # random seed: R02S9cdfe8738b141e1c33a4418a89687015 1389s 1..1 1389s # Start of unicode tests 1389s ok 1 /unicode/encoding 1389s # End of unicode tests 1389s ok - glib/unicode-encoding.test 1389s # Running test: glib/portal-support-flatpak-gsettings-only.test 1389s TAP version 13 1389s # random seed: R02S725df016fe13cbdd7c58fb6c436a6cf9 1389s 1..1 1389s # Start of portal-support tests 1389s # Start of flatpak tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/runtime 1389s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_UECJK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1389s ok 1 /portal-support/flatpak/gsettings 1389s # End of flatpak tests 1389s # End of portal-support tests 1389s ok - glib/portal-support-flatpak-gsettings-only.test 1389s # Running test: glib/portal-support-flatpak-full.test 1389s TAP version 13 1389s # random seed: R02S6ee86531983e8833301b4540d83cd443 1389s 1..1 1389s # Start of portal-support tests 1389s # Start of flatpak tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/runtime 1389s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_PPFIK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1389s ok 1 /portal-support/flatpak/full 1389s # End of flatpak tests 1389s # End of portal-support tests 1389s ok - glib/portal-support-flatpak-full.test 1389s # Running test: glib/references.test 1389s # Executing: glib/references.test 1389s TAP version 13 1389s # random seed: R02S396475342b6b1fe6f1fed1f7cb8e444a 1389s 1..1 1389s # Start of gobject tests 1389s ok 1 /gobject/references 1389s # End of gobject tests 1389s ok - glib/references.test 1389s # Running test: glib/gdbus-addresses.test 1389s TAP version 13 1389s # random seed: R02S3c6757046e484c52aa6c6f74e04edf73 1389s 1..9 1389s # Start of gdbus tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/empty-address/.dirs/runtime 1389s ok 1 /gdbus/empty-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/unsupported-address/.dirs/runtime 1389s ok 2 /gdbus/unsupported-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/address-parsing/.dirs/runtime 1389s ok 3 /gdbus/address-parsing 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/unix-address/.dirs/runtime 1389s ok 4 /gdbus/unix-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/nonce-tcp-address/.dirs/runtime 1389s ok 5 /gdbus/nonce-tcp-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/tcp-address/.dirs/runtime 1389s ok 6 /gdbus/tcp-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/autolaunch-address/.dirs/runtime 1389s ok 7 /gdbus/autolaunch-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/mixed-address/.dirs/runtime 1389s ok 8 /gdbus/mixed-address 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_65XNK2/gdbus/escape-address/.dirs/runtime 1389s ok 9 /gdbus/escape-address 1389s # End of gdbus tests 1389s ok - glib/gdbus-addresses.test 1389s # Running test: glib/once.test 1389s TAP version 13 1389s # random seed: R02S09b7121f8d56ed6f7fee3095941e9c2d 1389s 1..5 1389s # Start of once tests 1389s # /once/single-threaded summary: Test g_once() usage from a single thread 1389s ok 1 /once/single-threaded 1389s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1389s ok 2 /once/multi-threaded 1389s # End of once tests 1389s # Start of once-init tests 1389s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1389s ok 3 /once-init/single-threaded 1389s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1389s ok 4 /once-init/multi-threaded 1389s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1389s ok 5 /once-init/string 1389s # End of once-init tests 1389s ok - glib/once.test 1389s # Running test: glib/mappedfile.test 1389s TAP version 13 1389s # random seed: R02S22ae1af2f15cae695cf9f28e6ea1b234 1389s 1..7 1389s # Start of mappedfile tests 1389s ok 1 /mappedfile/basic 1389s ok 2 /mappedfile/empty 1389s ok 3 /mappedfile/device 1389s ok 4 /mappedfile/nonexisting 1389s ok 5 /mappedfile/writable 1389s ok 6 /mappedfile/writable_fd 1389s ok 7 /mappedfile/gbytes 1389s # End of mappedfile tests 1389s ok - glib/mappedfile.test 1389s # Running test: glib/gdbus-proxy-unique-name.test 1389s TAP version 13 1389s # random seed: R02Sb903a728622f3d3e6e9b9b366a84fe27 1389s 1..1 1389s # Start of gdbus tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_X6A0K2/gdbus/proxy-unique-name/.dirs/runtime 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 1 /gdbus/proxy-unique-name 1389s # End of gdbus tests 1389s ok - glib/gdbus-proxy-unique-name.test 1389s # Running test: glib/cxx.test 1389s TAP version 13 1389s # random seed: R02Sf709761f402c3d4f085a0ff353695c39 1389s 1..2 1389s # Start of gtask tests 1389s # 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. 1389s ok 1 /gtask/name 1389s # Start of name tests 1389s # 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. 1389s ok 2 /gtask/name/macro-wrapper 1389s # End of name tests 1389s # End of gtask tests 1389s ok - glib/cxx.test 1389s # Running test: glib/sequence.test 1389s TAP version 13 1389s # random seed: R02Se1c56747132e293f9ce4104b775997e1 1389s 1..16 1389s # Start of sequence tests 1389s ok 1 /sequence/out-of-range-jump 1389s ok 2 /sequence/iter-move 1390s ok 3 /sequence/insert-sorted-non-pointer 1390s ok 4 /sequence/stable-sort 1390s ok 5 /sequence/is_empty 1390s # Start of random tests 1391s ok 6 /sequence/random/seed:825541564 1391s # slow test /sequence/random/seed:825541564 executed in 1.42 secs 1392s ok 7 /sequence/random/seed:801678400 1392s # slow test /sequence/random/seed:801678400 executed in 1.26 secs 1394s ok 8 /sequence/random/seed:1477639090 1394s # slow test /sequence/random/seed:1477639090 executed in 1.38 secs 1394s # Executing: glib/sequence.test 1395s ok 9 /sequence/random/seed:3369132895 1395s # slow test /sequence/random/seed:3369132895 executed in 1.30 secs 1396s ok 10 /sequence/random/seed:1192944867 1396s # slow test /sequence/random/seed:1192944867 executed in 1.28 secs 1398s ok 11 /sequence/random/seed:770458294 1398s # slow test /sequence/random/seed:770458294 executed in 1.40 secs 1399s # Executing: glib/sequence.test 1399s ok 12 /sequence/random/seed:1099575817 1399s # slow test /sequence/random/seed:1099575817 executed in 1.39 secs 1401s ok 13 /sequence/random/seed:590523467 1401s # slow test /sequence/random/seed:590523467 executed in 1.44 secs 1402s ok 14 /sequence/random/seed:3583571454 1402s # slow test /sequence/random/seed:3583571454 executed in 1.41 secs 1403s ok 15 /sequence/random/seed:579241222 1403s # slow test /sequence/random/seed:579241222 executed in 1.39 secs 1404s # Executing: glib/sequence.test 1405s ok 16 /sequence/random/seed:1698173176 1405s # slow test /sequence/random/seed:1698173176 executed in 1.29 secs 1405s # End of random tests 1405s # End of sequence tests 1405s ok - glib/sequence.test 1405s # Running test: glib/basics-gobject.test 1405s TAP version 13 1405s # random seed: R02S7d0a48725eb6aa3eb3ed3d7c09f45356 1405s 1..1 1405s # Start of gobject tests 1405s # private data during initialization: 54321 == 54321 1405s # MAIN: emit test-signal: 1405s # ::test_signal default_handler called 1405s # ::test_signal default_handler called 1405s # ::test_signal default_handler called 1405s # signal return: "" 1405s # MAIN: call iface print-string on test and derived object: 1405s # Iface-FOO: "iface-string-from-test-type" from 0xc6087706a7b0 1405s # Iface-BAR: "iface-string-from-derived-type" from 0xc6087706a6d0 1405s # chaining: 1405s # Iface-FOO: "iface-string-from-derived-type" from 0xc6087706a6d0 1405s # private data after initialization: 54321 == 54321 1405s ok 1 /gobject/basics 1405s # End of gobject tests 1405s ok - glib/basics-gobject.test 1405s # Running test: glib/boxed.test 1405s TAP version 13 1405s # random seed: R02S5fcbd96cb8c6db80e51202c1b5a5b750 1405s 1..27 1405s # Start of boxed tests 1405s ok 1 /boxed/define 1405s ok 2 /boxed/ownership 1405s ok 3 /boxed/closure 1405s ok 4 /boxed/date 1405s ok 5 /boxed/value 1405s ok 6 /boxed/string 1405s ok 7 /boxed/hashtable 1405s ok 8 /boxed/array 1405s ok 9 /boxed/ptrarray 1405s ok 10 /boxed/regex 1405s ok 11 /boxed/varianttype 1405s ok 12 /boxed/error 1405s ok 13 /boxed/datetime 1405s ok 14 /boxed/matchinfo 1405s ok 15 /boxed/keyfile 1405s ok 16 /boxed/mainloop 1405s ok 17 /boxed/maincontext 1405s ok 18 /boxed/source 1405s ok 19 /boxed/variantbuilder 1405s ok 20 /boxed/timezone 1405s ok 21 /boxed/pollfd 1405s ok 22 /boxed/markup 1405s ok 23 /boxed/thread 1405s ok 24 /boxed/checksum 1405s ok 25 /boxed/tree 1405s ok 26 /boxed/patternspec 1405s ok 27 /boxed/rand 1405s # End of boxed tests 1405s ok - glib/boxed.test 1405s # Running test: glib/timeout.test 1405s TAP version 13 1405s # random seed: R02S315838933f0f2483f3145688ad4cc41f 1405s 1..5 1405s # Start of timeout tests 1405s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1407s ok 1 /timeout/seconds 1407s # slow test /timeout/seconds executed in 2.10 secs 1409s # Executing: glib/timeout.test 1409s ok 2 /timeout/seconds-once 1409s # slow test /timeout/seconds-once executed in 2.10 secs 1409s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1411s ok 3 /timeout/weeks-overflow 1411s # slow test /timeout/weeks-overflow executed in 2.10 secs 1411s ok 4 /timeout/far-future-ready-time 1414s # Executing: glib/timeout.test 1419s # Executing: glib/timeout.test 1421s ok 5 /timeout/rounding 1421s # slow test /timeout/rounding executed in 9.93 secs 1421s # End of timeout tests 1421s ok - glib/timeout.test 1421s # Running test: glib/tls-bindings.test 1421s TAP version 13 1421s # random seed: R02S6323a26d029ae6d4606bc57647734b82 1421s 1..2 1421s # Start of tls-connection tests 1421s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1421s ok 1 /tls-connection/get-tls-channel-binding 1421s ok 2 /tls-connection/get-dtls-channel-binding 1421s # End of tls-connection tests 1421s ok - glib/tls-bindings.test 1421s # Running test: glib/relation.test 1421s TAP version 13 1421s # random seed: R02S91c4ecc19d4780d37926e0499539ddc6 1421s 1..1 1421s # Start of glib tests 1421s ok 1 /glib/relation 1421s # End of glib tests 1421s ok - glib/relation.test 1421s # Running test: glib/init.test 1421s TAP version 13 1421s # random seed: R02Sbc36d9bde9095934604560dc12333e4c 1421s 1..2 1421s # Start of thread tests 1421s # Start of deprecated tests 1421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/home 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/cache 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/system-config2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/config 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/system-data2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/data 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/state 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_DU4ZK2/thread/deprecated/init/.dirs/runtime 1421s ok 1 /thread/deprecated/init 1421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_DU4ZK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1421s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1421s # End of deprecated tests 1421s # End of thread tests 1421s ok - glib/init.test 1421s # Running test: glib/mutex.test 1421s TAP version 13 1421s # random seed: R02S77fd3a1a19e943aec3a9c1c73d49b40e 1421s 1..17 1421s # Start of thread tests 1421s ok 1 /thread/mutex1 1421s ok 2 /thread/mutex2 1421s ok 3 /thread/mutex3 1421s ok 4 /thread/mutex4 1424s # Executing: glib/mutex.test 1429s # Executing: glib/mutex.test 1434s # Executing: glib/mutex.test 1439s # Executing: glib/mutex.test 1444s # Executing: glib/mutex.test 1449s # Executing: glib/mutex.test 1454s # Executing: glib/mutex.test 1459s # Executing: glib/mutex.test 1463s ok 5 /thread/mutex5 1463s # slow test /thread/mutex5 executed in 41.58 secs 1463s # Start of mutex tests 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1463s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # Executing: glib/mutex.test 1465s ok 6 /thread/mutex/errno 1465s # slow test /thread/mutex/errno executed in 2.31 secs 1465s # Start of perf tests 1465s # max perf: inf mips 1465s ok 7 /thread/mutex/perf/uncontended 1465s # Start of contended tests 1465s # max perf: 2.000000 mips 1465s ok 8 /thread/mutex/perf/contended/1 1465s # max perf: 3.000000 mips 1465s ok 9 /thread/mutex/perf/contended/2 1465s # max perf: 4.000000 mips 1465s ok 10 /thread/mutex/perf/contended/3 1465s # max perf: 5.000000 mips 1465s ok 11 /thread/mutex/perf/contended/4 1465s # max perf: 6.000000 mips 1465s ok 12 /thread/mutex/perf/contended/5 1465s # max perf: 7.000000 mips 1465s ok 13 /thread/mutex/perf/contended/6 1465s # max perf: 0.020833 mips 1465s ok 14 /thread/mutex/perf/contended/7 1465s # max perf: 9.000000 mips 1465s ok 15 /thread/mutex/perf/contended/8 1465s # max perf: 0.027027 mips 1465s ok 16 /thread/mutex/perf/contended/9 1465s # max perf: 11.000000 mips 1465s ok 17 /thread/mutex/perf/contended/10 1465s # End of contended tests 1465s # End of perf tests 1465s # End of mutex tests 1465s # End of thread tests 1465s ok - glib/mutex.test 1465s # Running test: glib/date.test 1465s TAP version 13 1465s # random seed: R02S2c6de6383ca86cc19a9ddd5144af74e5 1465s 1..121 1465s # Start of date tests 1465s ok 1 /date/basic 1465s ok 2 /date/empty 1465s ok 3 /date/dmy 1465s ok 4 /date/julian 1465s ok 5 /date/compare 1465s ok 6 /date/dates 1465s ok 7 /date/strftime 1465s ok 8 /date/two-digit-years 1465s ok 9 /date/parse 1465s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1465s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1465s ok 11 /date/month_substring 1465s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1465s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1465s ok 13 /date/clamp 1465s ok 14 /date/order 1465s ok 15 /date/copy 1465s # Vector 0: 0000-00-00, invalid 1465s # Vector 1: 0001-01-01, valid 1465s # Vector 2: 0000-01-01, invalid 1465s # Vector 3: 2000-02-30, invalid 1465s # Vector 4: 2000-02-29, valid 1465s # Vector 5: 2001-02-29, invalid 1465s # Vector 6: 65535-01-01, valid 1465s ok 16 /date/valid-dmy 1465s # Start of parse tests 1465s # Test 0 1465s # Test 1 1465s ok 17 /date/parse/invalid 1465s # End of parse tests 1465s # Start of year tests 1465s ok 18 /date/year/1 1465s ok 19 /date/year/2 1465s ok 20 /date/year/3 1465s ok 21 /date/year/4 1465s ok 22 /date/year/5 1465s ok 23 /date/year/6 1465s ok 24 /date/year/7 1465s ok 25 /date/year/8 1465s ok 26 /date/year/9 1465s ok 27 /date/year/10 1465s ok 28 /date/year/11 1465s ok 29 /date/year/12 1465s ok 30 /date/year/13 1465s ok 31 /date/year/14 1465s ok 32 /date/year/98 1465s ok 33 /date/year/99 1465s ok 34 /date/year/100 1465s ok 35 /date/year/101 1465s ok 36 /date/year/102 1465s ok 37 /date/year/103 1465s ok 38 /date/year/397 1465s ok 39 /date/year/398 1465s ok 40 /date/year/399 1465s ok 41 /date/year/400 1465s ok 42 /date/year/401 1465s ok 43 /date/year/402 1465s ok 44 /date/year/403 1465s ok 45 /date/year/404 1465s ok 46 /date/year/405 1465s ok 47 /date/year/406 1465s ok 48 /date/year/1598 1465s ok 49 /date/year/1599 1465s ok 50 /date/year/1600 1465s ok 51 /date/year/1601 1465s ok 52 /date/year/1602 1465s ok 53 /date/year/1650 1465s ok 54 /date/year/1651 1465s ok 55 /date/year/1897 1465s ok 56 /date/year/1898 1465s ok 57 /date/year/1899 1465s ok 58 /date/year/1900 1465s ok 59 /date/year/1901 1465s ok 60 /date/year/1902 1465s ok 61 /date/year/1903 1465s ok 62 /date/year/1961 1465s ok 63 /date/year/1962 1465s ok 64 /date/year/1963 1465s ok 65 /date/year/1964 1465s ok 66 /date/year/1965 1465s ok 67 /date/year/1967 1465s ok 68 /date/year/1968 1465s ok 69 /date/year/1969 1465s ok 70 /date/year/1970 1465s ok 71 /date/year/1971 1465s ok 72 /date/year/1972 1465s ok 73 /date/year/1973 1466s ok 74 /date/year/1974 1466s ok 75 /date/year/1975 1466s ok 76 /date/year/1976 1466s ok 77 /date/year/1977 1466s ok 78 /date/year/1978 1466s ok 79 /date/year/1979 1466s ok 80 /date/year/1980 1466s ok 81 /date/year/1981 1466s ok 82 /date/year/1982 1466s ok 83 /date/year/1983 1466s ok 84 /date/year/1984 1466s ok 85 /date/year/1985 1466s ok 86 /date/year/1986 1466s ok 87 /date/year/1987 1466s ok 88 /date/year/1988 1466s ok 89 /date/year/1989 1466s ok 90 /date/year/1990 1466s ok 91 /date/year/1991 1466s ok 92 /date/year/1992 1466s ok 93 /date/year/1993 1466s ok 94 /date/year/1994 1466s ok 95 /date/year/1995 1466s ok 96 /date/year/1996 1466s ok 97 /date/year/1997 1466s ok 98 /date/year/1998 1466s ok 99 /date/year/1999 1466s ok 100 /date/year/2000 1466s ok 101 /date/year/2001 1466s ok 102 /date/year/2002 1466s ok 103 /date/year/2003 1466s ok 104 /date/year/2004 1466s ok 105 /date/year/2005 1466s ok 106 /date/year/2006 1466s ok 107 /date/year/2007 1466s ok 108 /date/year/2008 1466s ok 109 /date/year/2009 1466s ok 110 /date/year/2010 1466s ok 111 /date/year/2011 1466s ok 112 /date/year/2012 1466s ok 113 /date/year/3000 1466s ok 114 /date/year/3001 1466s ok 115 /date/year/3002 1466s ok 116 /date/year/3998 1466s ok 117 /date/year/3999 1466s ok 118 /date/year/4000 1466s ok 119 /date/year/4001 1466s ok 120 /date/year/4002 1466s ok 121 /date/year/4003 1466s # End of year tests 1466s # End of date tests 1466s ok - glib/date.test 1466s # Running test: glib/utils-c-90.test 1466s TAP version 13 1466s # random seed: R02Sa3fa6885b546e05dd5c3388a7e795651 1466s 1..40 1466s # Start of utils tests 1466s ok 1 /utils/language-names 1466s ok 2 /utils/locale-variants 1466s ok 3 /utils/version 1466s ok 4 /utils/appname 1466s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1466s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1466s ok 5 /utils/prgname-thread-safety 1466s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1466s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1466s ok 6 /utils/tmpdir 1466s ok 7 /utils/basic_bits 1466s ok 8 /utils/bits 1466s ok 9 /utils/swap 1466s ok 10 /utils/find-program 1466s ok 11 /utils/find-program-for-path 1466s ok 12 /utils/debug 1466s ok 13 /utils/codeset 1466s ok 14 /utils/codeset2 1466s ok 15 /utils/console-charset 1466s ok 16 /utils/gettext 1466s ok 17 /utils/username 1466s ok 18 /utils/realname 1466s ok 19 /utils/hostname 1466s ok 20 /utils/xdgdirs 1466s ok 21 /utils/specialdir 1466s # NAME: Ubuntu 1466s ok 22 /utils/os-info 1466s ok 23 /utils/clear-pointer 1466s ok 24 /utils/clear-pointer-cast 1466s ok 25 /utils/take-pointer 1466s ok 26 /utils/clear-source 1466s ok 27 /utils/misc-mem 1466s # /utils/aligned-mem summary: Aligned memory allocator 1466s # Alignment must not be zero 1466s # Alignment must be a power of two 1466s # Alignment must be a multiple of sizeof(void*) 1466s ok 28 /utils/aligned-mem 1466s # /utils/free-sized summary: Check that g_free_sized() works 1466s ok 29 /utils/free-sized 1466s ok 30 /utils/nullify 1466s ok 31 /utils/atexit 1466s ok 32 /utils/check-setuid 1466s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1466s ok 33 /utils/int-limits 1466s ok 34 /utils/clear-list 1466s ok 35 /utils/clear-slist 1466s # Start of specialdir tests 1466s ok 36 /utils/specialdir/desktop 1466s # End of specialdir tests 1466s # Start of clear-pointer tests 1466s ok 37 /utils/clear-pointer/side-effects 1466s # End of clear-pointer tests 1466s # Start of aligned-mem tests 1466s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1466s ok 38 /utils/aligned-mem/alignment 1466s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1466s ok 39 /utils/aligned-mem/zeroed 1466s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1466s ok 40 /utils/aligned-mem/free-sized 1466s # Start of subprocess tests 1466s # End of subprocess tests 1466s # End of aligned-mem tests 1466s # End of utils tests 1466s ok - glib/utils-c-90.test 1466s # Running test: glib/mapping.test 1466s TAP version 13 1466s # random seed: R02S5fe441bc6438ee845c6d365a57df7554 1466s 1..3 1466s # Start of mapping tests 1466s # test_mapping: ok 1466s ok 1 /mapping/flags 1466s ok 2 /mapping/private 1466s # Subtest: /usr/libexec/installed-tests/glib/mapping 1466s # test_child_private: child spawned 1466s # # random seed: R02Sea5f821366ad46467c16616be8b9b0e6 1466s # test_child_private: received first child signal 1466s # # test_child_private: received parent signal 1466s # test_child_private: received second child signal 1466s ok 3 /mapping/private-child 1466s # End of mapping tests 1466s ok - glib/mapping.test 1466s # Running test: glib/threadtests.test 1466s TAP version 13 1466s # random seed: R02Sb1de6b195c8f64ad3e51f15fad4000d2 1466s 1..5 1466s # Start of GObject tests 1466s ok 1 /GObject/threaded-object-init 1469s ok 2 /GObject/threaded-weak-ref 1469s # slow test /GObject/threaded-weak-ref executed in 2.43 secs 1469s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1469s # /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 1469s # Executing: glib/threadtests.test 1473s ok 3 /GObject/threaded-toggle-notify 1473s # slow test /GObject/threaded-toggle-notify executed in 4.31 secs 1473s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1473s # Start of threaded-weak-ref tests 1473s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1473s # /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. 1473s ok 5 /GObject/threaded-weak-ref/on-finalization 1473s # End of threaded-weak-ref tests 1473s # End of GObject tests 1473s ok - glib/threadtests.test 1473s # Running test: glib/thread.test 1473s TAP version 13 1473s # random seed: R02S72ae9dfe5361d6e4379f9f28f56a2d1c 1473s 1..7 1473s # Start of thread tests 1473s ok 1 /thread/thread1 1473s ok 2 /thread/thread2 1473s ok 3 /thread/thread3 1473s ok 4 /thread/thread4 1473s ok 5 /thread/thread5 1473s ok 6 /thread/thread6 1473s ok 7 /thread/thread7 1473s # End of thread tests 1473s ok - glib/thread.test 1473s # Running test: glib/error.test 1473s TAP version 13 1473s # random seed: R02Sd8c06f42433d3afa84e3951b1d2f86da 1473s 1..3 1473s # Start of error tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/system-config1:/tmp/test_error_T6Q0K2/error/from-errno/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/system-data1:/tmp/test_error_T6Q0K2/error/from-errno/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_T6Q0K2/error/from-errno/.dirs/runtime 1473s ok 1 /error/from-errno 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/system-config1:/tmp/test_error_T6Q0K2/error/from-file-error/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/system-data1:/tmp/test_error_T6Q0K2/error/from-file-error/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_T6Q0K2/error/from-file-error/.dirs/runtime 1473s ok 2 /error/from-file-error 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_T6Q0K2/error/from-win32-error/.dirs/runtime 1473s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1473s # End of error tests 1473s ok - glib/error.test 1473s # Running test: glib/gdbus-peer-object-manager.test 1473s TAP version 13 1473s # random seed: R02S7ee1a8696b9bc237684f01c55cd6f3a7 1473s 1..2 1473s # Start of gdbus tests 1473s # Start of peer-object-manager tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/normal/.dirs/runtime 1473s ok 1 /gdbus/peer-object-manager/normal 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MD3ZK2/gdbus/peer-object-manager/root/.dirs/runtime 1473s ok 2 /gdbus/peer-object-manager/root 1473s # End of peer-object-manager tests 1473s # End of gdbus tests 1473s ok - glib/gdbus-peer-object-manager.test 1473s # Running test: glib/gdbus-method-invocation.test 1473s TAP version 13 1473s # random seed: R02S54097ffc990d1482c94b5be00ce45e2e 1473s 1..1 1473s # Start of gdbus tests 1473s # Start of method-invocation tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_NRHZK2/gdbus/method-invocation/return/.dirs/runtime 1473s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1473s # Calling org.freedesktop.DBus.Properties.Get 1473s # Calling org.freedesktop.DBus.Properties.Get 1473s # Calling org.freedesktop.DBus.Properties.Get 1473s # Calling org.freedesktop.DBus.Properties.Set 1473s # Calling org.freedesktop.DBus.Properties.GetAll 1473s # Calling org.example.Foo.WrongReturnType 1473s # Calling org.example.Foo.GetFDs 1473s # Calling org.example.Foo.GetFDs 1473s # Calling org.example.Foo.ReturnError 1473s # Calling org.example.Foo.CloseBeforeReturning 1473s ok 1 /gdbus/method-invocation/return 1473s # End of method-invocation tests 1473s # End of gdbus tests 1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1473s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1473s ok - glib/gdbus-method-invocation.test 1473s # Running test: glib/spawn-test.test 1473s TAP version 13 1473s # random seed: R02S7de8e658a8c380721ea6921912d47daf 1473s 1..2 1473s # Start of spawn tests 1473s ok 1 /spawn/basics 1473s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1473s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1473s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1473s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1473s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1473s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1473s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1473s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1473s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1473s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1473s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1473s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1473s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1473s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1473s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1473s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1473s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1473s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1473s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1473s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1473s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1473s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1473s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1473s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1473s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1473s # Fetching GSpawn result with stdin open, stdout open, stderr open 1473s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1473s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1473s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1473s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1473s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1473s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1473s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1473s ok 2 /spawn/stdio-overwrite 1473s # End of spawn tests 1473s ok - glib/spawn-test.test 1473s # Running test: glib/private.test 1473s TAP version 13 1473s # random seed: R02S5bab2169895e79b9e25510a912a549f4 1473s 1..8 1473s # Start of thread tests 1473s ok 1 /thread/private1 1474s # Executing: glib/private.test 1475s ok 2 /thread/private2 1475s # slow test /thread/private2 executed in 1.16 secs 1475s ok 3 /thread/private3 1475s ok 4 /thread/staticprivate1 1475s ok 5 /thread/staticprivate2 1475s ok 6 /thread/staticprivate3 1476s ok 7 /thread/staticprivate4 1476s # slow test /thread/staticprivate4 executed in 1.16 secs 1476s ok 8 /thread/staticprivate5 1476s # End of thread tests 1476s ok - glib/private.test 1476s # Running test: glib/permission.test 1476s TAP version 13 1476s # random seed: R02S2af65d09142f6cf2f91a05725d310af2 1476s 1..1 1476s # Start of permission tests 1476s ok 1 /permission/simple 1476s # End of permission tests 1476s ok - glib/permission.test 1476s # Running test: glib/mkenums.py.test 1476s TAP version 13 1476s ok 1 __main__.TestMkenums.test_available_in 1476s # tmpdir: /tmp/tmpt8d1tl4r 1476s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1476s # /tmp/tmpt8d1tl4r/tmptqz8q9km.h: 1476s # typedef enum { 1476s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1476s # } GDBusServerFlags; 1476s # 1476s # /tmp/tmpt8d1tl4r/tmp_6nxnatt.template: 1476s # /*** BEGIN file-header ***/ 1476s # file-header 1476s # /*** END file-header ***/ 1476s # 1476s # /*** BEGIN file-production ***/ 1476s # file-production 1476s # filename: @filename@ 1476s # basename: @basename@ 1476s # /*** END file-production ***/ 1476s # 1476s # /*** BEGIN enumeration-production ***/ 1476s # enumeration-production 1476s # EnumName: @EnumName@ 1476s # enum_name: @enum_name@ 1476s # ENUMNAME: @ENUMNAME@ 1476s # ENUMSHORT: @ENUMSHORT@ 1476s # ENUMPREFIX: @ENUMPREFIX@ 1476s # enumsince: @enumsince@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END enumeration-production ***/ 1476s # 1476s # /*** BEGIN value-header ***/ 1476s # value-header 1476s # EnumName: @EnumName@ 1476s # enum_name: @enum_name@ 1476s # ENUMNAME: @ENUMNAME@ 1476s # ENUMSHORT: @ENUMSHORT@ 1476s # ENUMPREFIX: @ENUMPREFIX@ 1476s # enumsince: @enumsince@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END value-header ***/ 1476s # 1476s # /*** BEGIN value-production ***/ 1476s # value-production 1476s # VALUENAME: @VALUENAME@ 1476s # valuenick: @valuenick@ 1476s # valuenum: @valuenum@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END value-production ***/ 1476s # 1476s # /*** BEGIN value-tail ***/ 1476s # value-tail 1476s # EnumName: @EnumName@ 1476s # enum_name: @enum_name@ 1476s # ENUMNAME: @ENUMNAME@ 1476s # ENUMSHORT: @ENUMSHORT@ 1476s # ENUMPREFIX: @ENUMPREFIX@ 1476s # enumsince: @enumsince@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END value-tail ***/ 1476s # 1476s # /*** BEGIN comment ***/ 1476s # comment 1476s # comment: @comment@ 1476s # /*** END comment ***/ 1476s # 1476s # /*** BEGIN file-tail ***/ 1476s # file-tail 1476s # /*** END file-tail ***/ 1476s # 1476s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt8d1tl4r/tmp_6nxnatt.template', '/tmp/tmpt8d1tl4r/tmptqz8q9km.h'] 1476s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1476s # Output: comment 1476s # 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. 1476s # 1476s # 1476s # file-header 1476s # file-production 1476s # filename: /tmp/tmpt8d1tl4r/tmptqz8q9km.h 1476s # basename: tmptqz8q9km.h 1476s # enumeration-production 1476s # EnumName: GDBusServerFlags 1476s # enum_name: g_dbus_server_flags 1476s # ENUMNAME: G_DBUS_SERVER_FLAGS 1476s # ENUMSHORT: DBUS_SERVER_FLAGS 1476s # ENUMPREFIX: G 1476s # enumsince: 1476s # type: flags 1476s # Type: Flags 1476s # TYPE: FLAGS 1476s # value-header 1476s # EnumName: GDBusServerFlags 1476s # enum_name: g_dbus_server_flags 1476s # ENUMNAME: G_DBUS_SERVER_FLAGS 1476s # ENUMSHORT: DBUS_SERVER_FLAGS 1476s # ENUMPREFIX: G 1476s # enumsince: 1476s # type: flags 1476s # Type: Flags 1476s # TYPE: FLAGS 1476s # value-production 1476s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1476s # valuenick: user 1476s # valuenum: 4 1476s # type: flags 1476s # Type: Flags 1476s # TYPE: FLAGS 1476s # value-tail 1476s # EnumName: GDBusServerFlags 1476s # enum_name: g_dbus_server_flags 1476s # ENUMNAME: G_DBUS_SERVER_FLAGS 1476s # ENUMSHORT: DBUS_SERVER_FLAGS 1476s # ENUMPREFIX: G 1476s # enumsince: 1476s # type: flags 1476s # Type: Flags 1476s # TYPE: FLAGS 1476s # file-tail 1476s # 1476s # comment 1476s # comment: Generated data ends here 1476s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1476s # tmpdir: /tmp/tmp4i27oq3d 1476s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1476s # /tmp/tmp4i27oq3d/tmpjqncgg4a.h: 1476s # typedef enum { 1476s # ENUM_VALUE_WITH_COMMA = ',', 1476s # } TestCommaEnum; 1476s # 1476s # /tmp/tmp4i27oq3d/tmpmv_ssbu5.template: 1476s # /*** BEGIN file-header ***/ 1476s # file-header 1476s # /*** END file-header ***/ 1476s # 1476s # /*** BEGIN file-production ***/ 1476s # file-production 1476s # filename: @filename@ 1476s # basename: @basename@ 1476s # /*** END file-production ***/ 1476s # 1476s # /*** BEGIN enumeration-production ***/ 1476s # enumeration-production 1476s # EnumName: @EnumName@ 1476s # enum_name: @enum_name@ 1476s # ENUMNAME: @ENUMNAME@ 1476s # ENUMSHORT: @ENUMSHORT@ 1476s # ENUMPREFIX: @ENUMPREFIX@ 1476s # enumsince: @enumsince@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END enumeration-production ***/ 1476s # 1476s # /*** BEGIN value-header ***/ 1476s # value-header 1476s # EnumName: @EnumName@ 1476s # enum_name: @enum_name@ 1476s # ENUMNAME: @ENUMNAME@ 1476s # ENUMSHORT: @ENUMSHORT@ 1476s # ENUMPREFIX: @ENUMPREFIX@ 1476s # enumsince: @enumsince@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END value-header ***/ 1476s # 1476s # /*** BEGIN value-production ***/ 1476s # value-production 1476s # VALUENAME: @VALUENAME@ 1476s # valuenick: @valuenick@ 1476s # valuenum: @valuenum@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END value-production ***/ 1476s # 1476s # /*** BEGIN value-tail ***/ 1476s # value-tail 1476s # EnumName: @EnumName@ 1476s # enum_name: @enum_name@ 1476s # ENUMNAME: @ENUMNAME@ 1476s # ENUMSHORT: @ENUMSHORT@ 1476s # ENUMPREFIX: @ENUMPREFIX@ 1476s # enumsince: @enumsince@ 1476s # type: @type@ 1476s # Type: @Type@ 1476s # TYPE: @TYPE@ 1476s # /*** END value-tail ***/ 1476s # 1476s # /*** BEGIN comment ***/ 1476s # comment 1476s # comment: @comment@ 1476s # /*** END comment ***/ 1476s # 1476s # /*** BEGIN file-tail ***/ 1476s # file-tail 1476s # /*** END file-tail ***/ 1476s # 1476s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4i27oq3d/tmpmv_ssbu5.template', '/tmp/tmp4i27oq3d/tmpjqncgg4a.h'] 1476s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1476s # Output: comment 1476s # 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. 1476s # 1476s # 1476s # file-header 1476s # file-production 1476s # filename: /tmp/tmp4i27oq3d/tmpjqncgg4a.h 1476s # basename: tmpjqncgg4a.h 1476s # enumeration-production 1476s # EnumName: TestCommaEnum 1476s # enum_name: test_comma_enum 1476s # ENUMNAME: TEST_COMMA_ENUM 1476s # ENUMSHORT: COMMA_ENUM 1476s # ENUMPREFIX: TEST 1476s # enumsince: 1476s # type: enum 1476s # Type: Enum 1476s # TYPE: ENUM 1476s # value-header 1476s # EnumName: TestCommaEnum 1476s # enum_name: test_comma_enum 1476s # ENUMNAME: TEST_COMMA_ENUM 1476s # ENUMSHORT: COMMA_ENUM 1476s # ENUMPREFIX: TEST 1476s # enumsince: 1476s # type: enum 1476s # Type: Enum 1476s # TYPE: ENUM 1476s # value-production 1476s # VALUENAME: ENUM_VALUE_WITH_COMMA 1476s # valuenick: comma 1476s # valuenum: 44 1476s # type: enum 1476s # Type: Enum 1476s # TYPE: ENUM 1476s # value-tail 1476s # EnumName: TestCommaEnum 1476s # enum_name: test_comma_enum 1476s # ENUMNAME: TEST_COMMA_ENUM 1476s # ENUMSHORT: COMMA_ENUM 1476s # ENUMPREFIX: TEST 1476s # enumsince: 1476s # type: enum 1476s # Type: Enum 1476s # TYPE: ENUM 1476s # file-tail 1476s # 1476s # comment 1476s # comment: Generated data ends here 1477s ok 3 __main__.TestMkenums.test_deprecated_in 1477s # tmpdir: /tmp/tmphoisl5b2 1477s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1477s # /tmp/tmphoisl5b2/tmp1pfha_ah.h: 1477s # typedef enum { 1477s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1477s # } GDBusServerFlags; 1477s # 1477s # /tmp/tmphoisl5b2/tmp6w84rwp8.template: 1477s # /*** BEGIN file-header ***/ 1477s # file-header 1477s # /*** END file-header ***/ 1477s # 1477s # /*** BEGIN file-production ***/ 1477s # file-production 1477s # filename: @filename@ 1477s # basename: @basename@ 1477s # /*** END file-production ***/ 1477s # 1477s # /*** BEGIN enumeration-production ***/ 1477s # enumeration-production 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END enumeration-production ***/ 1477s # 1477s # /*** BEGIN value-header ***/ 1477s # value-header 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-header ***/ 1477s # 1477s # /*** BEGIN value-production ***/ 1477s # value-production 1477s # VALUENAME: @VALUENAME@ 1477s # valuenick: @valuenick@ 1477s # valuenum: @valuenum@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-production ***/ 1477s # 1477s # /*** BEGIN value-tail ***/ 1477s # value-tail 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-tail ***/ 1477s # 1477s # /*** BEGIN comment ***/ 1477s # comment 1477s # comment: @comment@ 1477s # /*** END comment ***/ 1477s # 1477s # /*** BEGIN file-tail ***/ 1477s # file-tail 1477s # /*** END file-tail ***/ 1477s # 1477s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphoisl5b2/tmp6w84rwp8.template', '/tmp/tmphoisl5b2/tmp1pfha_ah.h'] 1477s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1477s # Output: comment 1477s # 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. 1477s # 1477s # 1477s # file-header 1477s # file-production 1477s # filename: /tmp/tmphoisl5b2/tmp1pfha_ah.h 1477s # basename: tmp1pfha_ah.h 1477s # enumeration-production 1477s # EnumName: GDBusServerFlags 1477s # enum_name: g_dbus_server_flags 1477s # ENUMNAME: G_DBUS_SERVER_FLAGS 1477s # ENUMSHORT: DBUS_SERVER_FLAGS 1477s # ENUMPREFIX: G 1477s # enumsince: 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # value-header 1477s # EnumName: GDBusServerFlags 1477s # enum_name: g_dbus_server_flags 1477s # ENUMNAME: G_DBUS_SERVER_FLAGS 1477s # ENUMSHORT: DBUS_SERVER_FLAGS 1477s # ENUMPREFIX: G 1477s # enumsince: 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # value-production 1477s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1477s # valuenick: user 1477s # valuenum: 4 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # value-tail 1477s # EnumName: GDBusServerFlags 1477s # enum_name: g_dbus_server_flags 1477s # ENUMNAME: G_DBUS_SERVER_FLAGS 1477s # ENUMSHORT: DBUS_SERVER_FLAGS 1477s # ENUMPREFIX: G 1477s # enumsince: 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # file-tail 1477s # 1477s # comment 1477s # comment: Generated data ends here 1477s ok 4 __main__.TestMkenums.test_deprecated_in_for 1477s # tmpdir: /tmp/tmpn_t3e_f6 1477s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1477s # /tmp/tmpn_t3e_f6/tmpgt1tpomn.h: 1477s # typedef enum { 1477s # 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) 1477s # } GDBusServerFlags; 1477s # 1477s # /tmp/tmpn_t3e_f6/tmpsdezbuc8.template: 1477s # /*** BEGIN file-header ***/ 1477s # file-header 1477s # /*** END file-header ***/ 1477s # 1477s # /*** BEGIN file-production ***/ 1477s # file-production 1477s # filename: @filename@ 1477s # basename: @basename@ 1477s # /*** END file-production ***/ 1477s # 1477s # /*** BEGIN enumeration-production ***/ 1477s # enumeration-production 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END enumeration-production ***/ 1477s # 1477s # /*** BEGIN value-header ***/ 1477s # value-header 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-header ***/ 1477s # 1477s # /*** BEGIN value-production ***/ 1477s # value-production 1477s # VALUENAME: @VALUENAME@ 1477s # valuenick: @valuenick@ 1477s # valuenum: @valuenum@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-production ***/ 1477s # 1477s # /*** BEGIN value-tail ***/ 1477s # value-tail 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-tail ***/ 1477s # 1477s # /*** BEGIN comment ***/ 1477s # comment 1477s # comment: @comment@ 1477s # /*** END comment ***/ 1477s # 1477s # /*** BEGIN file-tail ***/ 1477s # file-tail 1477s # /*** END file-tail ***/ 1477s # 1477s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn_t3e_f6/tmpsdezbuc8.template', '/tmp/tmpn_t3e_f6/tmpgt1tpomn.h'] 1477s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1477s # Output: comment 1477s # 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. 1477s # 1477s # 1477s # file-header 1477s # file-production 1477s # filename: /tmp/tmpn_t3e_f6/tmpgt1tpomn.h 1477s # basename: tmpgt1tpomn.h 1477s # enumeration-production 1477s # EnumName: GDBusServerFlags 1477s # enum_name: g_dbus_server_flags 1477s # ENUMNAME: G_DBUS_SERVER_FLAGS 1477s # ENUMSHORT: DBUS_SERVER_FLAGS 1477s # ENUMPREFIX: G 1477s # enumsince: 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # value-header 1477s # EnumName: GDBusServerFlags 1477s # enum_name: g_dbus_server_flags 1477s # ENUMNAME: G_DBUS_SERVER_FLAGS 1477s # ENUMSHORT: DBUS_SERVER_FLAGS 1477s # ENUMPREFIX: G 1477s # enumsince: 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # value-production 1477s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1477s # valuenick: user 1477s # valuenum: 4 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # value-tail 1477s # EnumName: GDBusServerFlags 1477s # enum_name: g_dbus_server_flags 1477s # ENUMNAME: G_DBUS_SERVER_FLAGS 1477s # ENUMSHORT: DBUS_SERVER_FLAGS 1477s # ENUMPREFIX: G 1477s # enumsince: 1477s # type: flags 1477s # Type: Flags 1477s # TYPE: FLAGS 1477s # file-tail 1477s # 1477s # comment 1477s # comment: Generated data ends here 1477s ok 5 __main__.TestMkenums.test_empty_header 1477s # tmpdir: /tmp/tmpgtbguiql 1477s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1477s # /tmp/tmpgtbguiql/tmpffejhbmx.h: 1477s # /tmp/tmpgtbguiql/tmpg2e4dbgw.template: 1477s # /*** BEGIN file-header ***/ 1477s # file-header 1477s # /*** END file-header ***/ 1477s # 1477s # /*** BEGIN file-production ***/ 1477s # file-production 1477s # filename: @filename@ 1477s # basename: @basename@ 1477s # /*** END file-production ***/ 1477s # 1477s # /*** BEGIN enumeration-production ***/ 1477s # enumeration-production 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END enumeration-production ***/ 1477s # 1477s # /*** BEGIN value-header ***/ 1477s # value-header 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-header ***/ 1477s # 1477s # /*** BEGIN value-production ***/ 1477s # value-production 1477s # VALUENAME: @VALUENAME@ 1477s # valuenick: @valuenick@ 1477s # valuenum: @valuenum@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-production ***/ 1477s # 1477s # /*** BEGIN value-tail ***/ 1477s # value-tail 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-tail ***/ 1477s # 1477s # /*** BEGIN comment ***/ 1477s # comment 1477s # comment: @comment@ 1477s # /*** END comment ***/ 1477s # 1477s # /*** BEGIN file-tail ***/ 1477s # file-tail 1477s # /*** END file-tail ***/ 1477s # 1477s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgtbguiql/tmpg2e4dbgw.template', '/tmp/tmpgtbguiql/tmpffejhbmx.h'] 1477s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1477s # Output: comment 1477s # 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. 1477s # 1477s # 1477s # file-header 1477s # file-tail 1477s # 1477s # comment 1477s # comment: Generated data ends here 1477s ok 6 __main__.TestMkenums.test_empty_template 1477s # tmpdir: /tmp/tmp3ndxn27m 1477s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1477s # /tmp/tmp3ndxn27m/tmptqr4i5e0.template: 1477s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3ndxn27m/tmptqr4i5e0.template'] 1477s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1477s # 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. */ 1477s # 1477s # 1477s # /* Generated data ends here */ 1477s ok 7 __main__.TestMkenums.test_enum_name 1477s # tmpdir: /tmp/tmp1608iq3l 1477s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1477s # /tmp/tmp1608iq3l/tmp60a45q4d.h: 1477s # typedef enum _SomeEnumIdentifier { 1477s # ENUM_VALUE 1477s # } SomeEnumIdentifier; 1477s # 1477s # /tmp/tmp1608iq3l/tmprwoxs1e5.template: 1477s # /*** BEGIN file-header ***/ 1477s # file-header 1477s # /*** END file-header ***/ 1477s # 1477s # /*** BEGIN file-production ***/ 1477s # file-production 1477s # filename: @filename@ 1477s # basename: @basename@ 1477s # /*** END file-production ***/ 1477s # 1477s # /*** BEGIN enumeration-production ***/ 1477s # enumeration-production 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END enumeration-production ***/ 1477s # 1477s # /*** BEGIN value-header ***/ 1477s # value-header 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-header ***/ 1477s # 1477s # /*** BEGIN value-production ***/ 1477s # value-production 1477s # VALUENAME: @VALUENAME@ 1477s # valuenick: @valuenick@ 1477s # valuenum: @valuenum@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-production ***/ 1477s # 1477s # /*** BEGIN value-tail ***/ 1477s # value-tail 1477s # EnumName: @EnumName@ 1477s # enum_name: @enum_name@ 1477s # ENUMNAME: @ENUMNAME@ 1477s # ENUMSHORT: @ENUMSHORT@ 1477s # ENUMPREFIX: @ENUMPREFIX@ 1477s # enumsince: @enumsince@ 1477s # type: @type@ 1477s # Type: @Type@ 1477s # TYPE: @TYPE@ 1477s # /*** END value-tail ***/ 1477s # 1477s # /*** BEGIN comment ***/ 1477s # comment 1477s # comment: @comment@ 1477s # /*** END comment ***/ 1477s # 1477s # /*** BEGIN file-tail ***/ 1477s # file-tail 1477s # /*** END file-tail ***/ 1477s # 1477s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1608iq3l/tmprwoxs1e5.template', '/tmp/tmp1608iq3l/tmp60a45q4d.h'] 1477s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1477s # Output: comment 1477s # 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. 1477s # 1477s # 1477s # file-header 1477s # file-production 1477s # filename: /tmp/tmp1608iq3l/tmp60a45q4d.h 1477s # basename: tmp60a45q4d.h 1477s # enumeration-production 1477s # EnumName: SomeEnumIdentifier 1477s # enum_name: some_enum_identifier 1477s # ENUMNAME: SOME_ENUM_IDENTIFIER 1477s # ENUMSHORT: ENUM_IDENTIFIER 1477s # ENUMPREFIX: SOME 1477s # enumsince: 1477s # type: enum 1477s # Type: Enum 1477s # TYPE: ENUM 1477s # value-header 1477s # EnumName: SomeEnumIdentifier 1477s # enum_name: some_enum_identifier 1477s # ENUMNAME: SOME_ENUM_IDENTIFIER 1477s # ENUMSHORT: ENUM_IDENTIFIER 1477s # ENUMPREFIX: SOME 1477s # enumsince: 1477s # type: enum 1477s # Type: Enum 1477s # TYPE: ENUM 1477s # value-production 1477s # VALUENAME: ENUM_VALUE 1477s # valuenick: value 1477s # valuenum: 0 1477s # type: enum 1477s # Type: Enum 1477s # TYPE: ENUM 1477s # value-tail 1477s # EnumName: SomeEnumIdentifier 1477s # enum_name: some_enum_identifier 1477s # ENUMNAME: SOME_ENUM_IDENTIFIER 1477s # ENUMSHORT: ENUM_IDENTIFIER 1477s # ENUMPREFIX: SOME 1477s # enumsince: 1477s # type: enum 1477s # Type: Enum 1477s # TYPE: ENUM 1477s # file-tail 1477s # 1477s # comment 1477s # comment: Generated data ends here 1478s ok 8 __main__.TestMkenums.test_enum_private_public 1478s # tmpdir: /tmp/tmpxrjrk2eu 1478s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1478s # /tmp/tmpxrjrk2eu/tmpgzeg9gr9.h: 1478s # typedef enum { 1478s # ENUM_VALUE_PUBLIC1, 1478s # /*< private >*/ 1478s # ENUM_VALUE_PRIVATE, 1478s # } SomeEnumA 1478s # 1478s # /tmp/tmpxrjrk2eu/tmpz73gvpwc.template: 1478s # /*** BEGIN file-header ***/ 1478s # file-header 1478s # /*** END file-header ***/ 1478s # 1478s # /*** BEGIN file-production ***/ 1478s # file-production 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # /*** END file-production ***/ 1478s # 1478s # /*** BEGIN enumeration-production ***/ 1478s # enumeration-production 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END enumeration-production ***/ 1478s # 1478s # /*** BEGIN value-header ***/ 1478s # value-header 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-header ***/ 1478s # 1478s # /*** BEGIN value-production ***/ 1478s # value-production 1478s # VALUENAME: @VALUENAME@ 1478s # valuenick: @valuenick@ 1478s # valuenum: @valuenum@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-production ***/ 1478s # 1478s # /*** BEGIN value-tail ***/ 1478s # value-tail 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-tail ***/ 1478s # 1478s # /*** BEGIN comment ***/ 1478s # comment 1478s # comment: @comment@ 1478s # /*** END comment ***/ 1478s # 1478s # /*** BEGIN file-tail ***/ 1478s # file-tail 1478s # /*** END file-tail ***/ 1478s # 1478s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxrjrk2eu/tmpz73gvpwc.template', '/tmp/tmpxrjrk2eu/tmpgzeg9gr9.h'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # Output: comment 1478s # 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. 1478s # 1478s # 1478s # file-header 1478s # file-production 1478s # filename: /tmp/tmpxrjrk2eu/tmpgzeg9gr9.h 1478s # basename: tmpgzeg9gr9.h 1478s # enumeration-production 1478s # EnumName: SomeEnumA 1478s # enum_name: some_enum_a 1478s # ENUMNAME: SOME_ENUM_A 1478s # ENUMSHORT: ENUM_A 1478s # ENUMPREFIX: SOME 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-header 1478s # EnumName: SomeEnumA 1478s # enum_name: some_enum_a 1478s # ENUMNAME: SOME_ENUM_A 1478s # ENUMSHORT: ENUM_A 1478s # ENUMPREFIX: SOME 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-production 1478s # VALUENAME: ENUM_VALUE_PUBLIC1 1478s # valuenick: public1 1478s # valuenum: 0 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-tail 1478s # EnumName: SomeEnumA 1478s # enum_name: some_enum_a 1478s # ENUMNAME: SOME_ENUM_A 1478s # ENUMSHORT: ENUM_A 1478s # ENUMPREFIX: SOME 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # file-tail 1478s # 1478s # comment 1478s # comment: Generated data ends here 1478s # /tmp/tmpxrjrk2eu/tmpnb1lf0wb.h: 1478s # typedef enum { 1478s # /*< private >*/ 1478s # ENUM_VALUE_PRIVATE, 1478s # /*< public >*/ 1478s # ENUM_VALUE_PUBLIC2, 1478s # } SomeEnumB; 1478s # 1478s # /tmp/tmpxrjrk2eu/tmp9a588eho.template: 1478s # /*** BEGIN file-header ***/ 1478s # file-header 1478s # /*** END file-header ***/ 1478s # 1478s # /*** BEGIN file-production ***/ 1478s # file-production 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # /*** END file-production ***/ 1478s # 1478s # /*** BEGIN enumeration-production ***/ 1478s # enumeration-production 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END enumeration-production ***/ 1478s # 1478s # /*** BEGIN value-header ***/ 1478s # value-header 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-header ***/ 1478s # 1478s # /*** BEGIN value-production ***/ 1478s # value-production 1478s # VALUENAME: @VALUENAME@ 1478s # valuenick: @valuenick@ 1478s # valuenum: @valuenum@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-production ***/ 1478s # 1478s # /*** BEGIN value-tail ***/ 1478s # value-tail 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-tail ***/ 1478s # 1478s # /*** BEGIN comment ***/ 1478s # comment 1478s # comment: @comment@ 1478s # /*** END comment ***/ 1478s # 1478s # /*** BEGIN file-tail ***/ 1478s # file-tail 1478s # /*** END file-tail ***/ 1478s # 1478s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxrjrk2eu/tmp9a588eho.template', '/tmp/tmpxrjrk2eu/tmpnb1lf0wb.h'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # Output: comment 1478s # 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. 1478s # 1478s # 1478s # file-header 1478s # file-production 1478s # filename: /tmp/tmpxrjrk2eu/tmpnb1lf0wb.h 1478s # basename: tmpnb1lf0wb.h 1478s # enumeration-production 1478s # EnumName: SomeEnumB 1478s # enum_name: some_enum_b 1478s # ENUMNAME: SOME_ENUM_B 1478s # ENUMSHORT: ENUM_B 1478s # ENUMPREFIX: SOME 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-header 1478s # EnumName: SomeEnumB 1478s # enum_name: some_enum_b 1478s # ENUMNAME: SOME_ENUM_B 1478s # ENUMSHORT: ENUM_B 1478s # ENUMPREFIX: SOME 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-production 1478s # VALUENAME: ENUM_VALUE_PUBLIC2 1478s # valuenick: public2 1478s # valuenum: 1 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-tail 1478s # EnumName: SomeEnumB 1478s # enum_name: some_enum_b 1478s # ENUMNAME: SOME_ENUM_B 1478s # ENUMSHORT: ENUM_B 1478s # ENUMPREFIX: SOME 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # file-tail 1478s # 1478s # comment 1478s # comment: Generated data ends here 1478s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1478s # tmpdir: /tmp/tmpj8kqkz40 1478s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1478s # /tmp/tmpj8kqkz40/tmpbb3n1bp1.h: 1478s # typedef enum { 1478s # /*< private >*/ 1478s # ENUM_VALUE_PRIVATE = 5, 1478s # /*< public >*/ 1478s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1478s # } TestSymbolicEnum; 1478s # 1478s # /tmp/tmpj8kqkz40/tmp99g7bniv.template: 1478s # /*** BEGIN file-header ***/ 1478s # file-header 1478s # /*** END file-header ***/ 1478s # 1478s # /*** BEGIN file-production ***/ 1478s # file-production 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # /*** END file-production ***/ 1478s # 1478s # /*** BEGIN enumeration-production ***/ 1478s # enumeration-production 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END enumeration-production ***/ 1478s # 1478s # /*** BEGIN value-header ***/ 1478s # value-header 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-header ***/ 1478s # 1478s # /*** BEGIN value-production ***/ 1478s # value-production 1478s # VALUENAME: @VALUENAME@ 1478s # valuenick: @valuenick@ 1478s # valuenum: @valuenum@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-production ***/ 1478s # 1478s # /*** BEGIN value-tail ***/ 1478s # value-tail 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-tail ***/ 1478s # 1478s # /*** BEGIN comment ***/ 1478s # comment 1478s # comment: @comment@ 1478s # /*** END comment ***/ 1478s # 1478s # /*** BEGIN file-tail ***/ 1478s # file-tail 1478s # /*** END file-tail ***/ 1478s # 1478s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj8kqkz40/tmp99g7bniv.template', '/tmp/tmpj8kqkz40/tmpbb3n1bp1.h'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # Output: comment 1478s # 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. 1478s # 1478s # 1478s # file-header 1478s # file-production 1478s # filename: /tmp/tmpj8kqkz40/tmpbb3n1bp1.h 1478s # basename: tmpbb3n1bp1.h 1478s # enumeration-production 1478s # EnumName: TestSymbolicEnum 1478s # enum_name: test_symbolic_enum 1478s # ENUMNAME: TEST_SYMBOLIC_ENUM 1478s # ENUMSHORT: SYMBOLIC_ENUM 1478s # ENUMPREFIX: TEST 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-header 1478s # EnumName: TestSymbolicEnum 1478s # enum_name: test_symbolic_enum 1478s # ENUMNAME: TEST_SYMBOLIC_ENUM 1478s # ENUMSHORT: SYMBOLIC_ENUM 1478s # ENUMPREFIX: TEST 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-production 1478s # VALUENAME: ENUM_VALUE_PUBLIC 1478s # valuenick: public 1478s # valuenum: 7 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # value-tail 1478s # EnumName: TestSymbolicEnum 1478s # enum_name: test_symbolic_enum 1478s # ENUMNAME: TEST_SYMBOLIC_ENUM 1478s # ENUMSHORT: SYMBOLIC_ENUM 1478s # ENUMPREFIX: TEST 1478s # enumsince: 1478s # type: enum 1478s # Type: Enum 1478s # TYPE: ENUM 1478s # file-tail 1478s # 1478s # comment 1478s # comment: Generated data ends here 1478s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1478s # tmpdir: /tmp/tmpnxi_jwo5 1478s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1478s # /tmp/tmpnxi_jwo5/tmpw41nz6_3.template: 1478s # /*** BEGIN file-header ***/ 1478s # file-header 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # /*** END file-header ***/ 1478s # 1478s # /*** BEGIN comment ***/ 1478s # comment 1478s # comment: @comment@ 1478s # /*** END comment ***/ 1478s # 1478s # /*** BEGIN file-tail ***/ 1478s # file-tail 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # /*** END file-tail ***/ 1478s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnxi_jwo5/tmpw41nz6_3.template'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # Output: comment 1478s # 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. 1478s # 1478s # 1478s # file-header 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # file-tail 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # 1478s # comment 1478s # comment: Generated data ends here 1478s ok 11 __main__.TestMkenums.test_help 1478s # tmpdir: /tmp/tmp2ikkdse6 1478s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1478s # Running: ['/usr/bin/glib-mkenums', '--help'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1478s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1478s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1478s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1478s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1478s # [--output OUTPUT] [--version] 1478s # [args ...] 1478s # 1478s # positional arguments: 1478s # args One or more input files, or a single argument 1478s # @rspfile_path pointing to a file that contains the 1478s # actual arguments 1478s # 1478s # options: 1478s # -h, --help show this help message and exit 1478s # --identifier-prefix IDPREFIX 1478s # Identifier prefix 1478s # --symbol-prefix SYMPREFIX 1478s # Symbol prefix 1478s # --fhead FHEAD Output file header 1478s # --ftail FTAIL Output file footer 1478s # --fprod FPROD Put out TEXT every time a new input file is being 1478s # processed. 1478s # --eprod EPROD Per enum text, produced prior to value iterations 1478s # --vhead VHEAD Value header, produced before iterating over enum 1478s # values 1478s # --vprod VPROD Value text, produced for each enum value. 1478s # --vtail VTAIL Value tail, produced after iterating over enum values 1478s # --comments COMMENT_TMPL 1478s # Comment structure 1478s # --template TEMPLATE Template file 1478s # --output OUTPUT 1478s # --version, -v Print version information 1478s # 1478s # Production text substitutions: 1478s # @EnumName@ PrefixTheXEnum 1478s # @enum_name@ prefix_the_xenum 1478s # @ENUMNAME@ PREFIX_THE_XENUM 1478s # @ENUMSHORT@ THE_XENUM 1478s # @ENUMPREFIX@ PREFIX 1478s # @enumsince@ the user-provided since value given 1478s # @VALUENAME@ PREFIX_THE_XVALUE 1478s # @valuenick@ the-xvalue 1478s # @valuenum@ the integer value (limited support, Since: 2.26) 1478s # @type@ either enum or flags 1478s # @Type@ either Enum or Flags 1478s # @TYPE@ either ENUM or FLAGS 1478s # @filename@ name of current input file 1478s # @basename@ base name of the current input file (Since: 2.22) 1478s ok 12 __main__.TestMkenums.test_no_args 1478s # tmpdir: /tmp/tmpb66fxc59 1478s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1478s # Running: ['/usr/bin/glib-mkenums'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # 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. */ 1478s # 1478s # 1478s # /* Generated data ends here */ 1478s ok 13 __main__.TestMkenums.test_no_headers 1478s # tmpdir: /tmp/tmpl0y0p2xv 1478s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1478s # /tmp/tmpl0y0p2xv/tmpl_dwwngk.template: 1478s # /*** BEGIN file-header ***/ 1478s # file-header 1478s # /*** END file-header ***/ 1478s # 1478s # /*** BEGIN file-production ***/ 1478s # file-production 1478s # filename: @filename@ 1478s # basename: @basename@ 1478s # /*** END file-production ***/ 1478s # 1478s # /*** BEGIN enumeration-production ***/ 1478s # enumeration-production 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END enumeration-production ***/ 1478s # 1478s # /*** BEGIN value-header ***/ 1478s # value-header 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-header ***/ 1478s # 1478s # /*** BEGIN value-production ***/ 1478s # value-production 1478s # VALUENAME: @VALUENAME@ 1478s # valuenick: @valuenick@ 1478s # valuenum: @valuenum@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-production ***/ 1478s # 1478s # /*** BEGIN value-tail ***/ 1478s # value-tail 1478s # EnumName: @EnumName@ 1478s # enum_name: @enum_name@ 1478s # ENUMNAME: @ENUMNAME@ 1478s # ENUMSHORT: @ENUMSHORT@ 1478s # ENUMPREFIX: @ENUMPREFIX@ 1478s # enumsince: @enumsince@ 1478s # type: @type@ 1478s # Type: @Type@ 1478s # TYPE: @TYPE@ 1478s # /*** END value-tail ***/ 1478s # 1478s # /*** BEGIN comment ***/ 1478s # comment 1478s # comment: @comment@ 1478s # /*** END comment ***/ 1478s # 1478s # /*** BEGIN file-tail ***/ 1478s # file-tail 1478s # /*** END file-tail ***/ 1478s # 1478s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl0y0p2xv/tmpl_dwwngk.template'] 1478s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1478s # Output: comment 1478s # 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. 1478s # 1478s # 1478s # file-header 1478s # file-tail 1478s # 1478s # comment 1478s # comment: Generated data ends here 1479s ok 14 __main__.TestMkenums.test_no_nick 1479s # tmpdir: /tmp/tmpd4gajxua 1479s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1479s # /tmp/tmpd4gajxua/tmp4zc90q1b.h: 1479s # typedef enum { 1479s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1479s # } GeglSamplerType; 1479s # 1479s # /tmp/tmpd4gajxua/tmpqfkzg_yn.template: 1479s # /*** BEGIN file-header ***/ 1479s # file-header 1479s # /*** END file-header ***/ 1479s # 1479s # /*** BEGIN file-production ***/ 1479s # file-production 1479s # filename: @filename@ 1479s # basename: @basename@ 1479s # /*** END file-production ***/ 1479s # 1479s # /*** BEGIN enumeration-production ***/ 1479s # enumeration-production 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END enumeration-production ***/ 1479s # 1479s # /*** BEGIN value-header ***/ 1479s # value-header 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-header ***/ 1479s # 1479s # /*** BEGIN value-production ***/ 1479s # value-production 1479s # VALUENAME: @VALUENAME@ 1479s # valuenick: @valuenick@ 1479s # valuenum: @valuenum@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-production ***/ 1479s # 1479s # /*** BEGIN value-tail ***/ 1479s # value-tail 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-tail ***/ 1479s # 1479s # /*** BEGIN comment ***/ 1479s # comment 1479s # comment: @comment@ 1479s # /*** END comment ***/ 1479s # 1479s # /*** BEGIN file-tail ***/ 1479s # file-tail 1479s # /*** END file-tail ***/ 1479s # 1479s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpd4gajxua/tmpqfkzg_yn.template', '/tmp/tmpd4gajxua/tmp4zc90q1b.h'] 1479s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1479s # Output: comment 1479s # 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. 1479s # 1479s # 1479s # file-header 1479s # file-production 1479s # filename: /tmp/tmpd4gajxua/tmp4zc90q1b.h 1479s # basename: tmp4zc90q1b.h 1479s # enumeration-production 1479s # EnumName: GeglSamplerType 1479s # enum_name: gegl_sampler_type 1479s # ENUMNAME: GEGL_SAMPLER_TYPE 1479s # ENUMSHORT: SAMPLER_TYPE 1479s # ENUMPREFIX: GEGL 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-header 1479s # EnumName: GeglSamplerType 1479s # enum_name: gegl_sampler_type 1479s # ENUMNAME: GEGL_SAMPLER_TYPE 1479s # ENUMSHORT: SAMPLER_TYPE 1479s # ENUMPREFIX: GEGL 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-production 1479s # VALUENAME: GEGL_SAMPLER_NEAREST 1479s # valuenick: nearest 1479s # valuenum: 0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-tail 1479s # EnumName: GeglSamplerType 1479s # enum_name: gegl_sampler_type 1479s # ENUMNAME: GEGL_SAMPLER_TYPE 1479s # ENUMSHORT: SAMPLER_TYPE 1479s # ENUMPREFIX: GEGL 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # file-tail 1479s # 1479s # comment 1479s # comment: Generated data ends here 1479s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1479s # tmpdir: /tmp/tmpln02yd8q 1479s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1479s # /tmp/tmpln02yd8q/tmp0fslrft0.h: 1479s # /* Copyright © La Peña */ 1479s # typedef enum { 1479s # ENUM_VALUE 1479s # } SomeEnumIdentifier; 1479s # 1479s # /tmp/tmpln02yd8q/tmp1tdhl43a.template: 1479s # /*** BEGIN file-header ***/ 1479s # file-header 1479s # /*** END file-header ***/ 1479s # 1479s # /*** BEGIN file-production ***/ 1479s # file-production 1479s # filename: @filename@ 1479s # basename: @basename@ 1479s # /*** END file-production ***/ 1479s # 1479s # /*** BEGIN enumeration-production ***/ 1479s # enumeration-production 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END enumeration-production ***/ 1479s # 1479s # /*** BEGIN value-header ***/ 1479s # value-header 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-header ***/ 1479s # 1479s # /*** BEGIN value-production ***/ 1479s # value-production 1479s # VALUENAME: @VALUENAME@ 1479s # valuenick: @valuenick@ 1479s # valuenum: @valuenum@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-production ***/ 1479s # 1479s # /*** BEGIN value-tail ***/ 1479s # value-tail 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-tail ***/ 1479s # 1479s # /*** BEGIN comment ***/ 1479s # comment 1479s # comment: @comment@ 1479s # /*** END comment ***/ 1479s # 1479s # /*** BEGIN file-tail ***/ 1479s # file-tail 1479s # /*** END file-tail ***/ 1479s # 1479s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpln02yd8q/tmp1tdhl43a.template', '/tmp/tmpln02yd8q/tmp0fslrft0.h'] 1479s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1479s # Output: comment 1479s # 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. 1479s # 1479s # 1479s # file-header 1479s # file-production 1479s # filename: /tmp/tmpln02yd8q/tmp0fslrft0.h 1479s # basename: tmp0fslrft0.h 1479s # enumeration-production 1479s # EnumName: SomeEnumIdentifier 1479s # enum_name: some_enum_identifier 1479s # ENUMNAME: SOME_ENUM_IDENTIFIER 1479s # ENUMSHORT: ENUM_IDENTIFIER 1479s # ENUMPREFIX: SOME 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-header 1479s # EnumName: SomeEnumIdentifier 1479s # enum_name: some_enum_identifier 1479s # ENUMNAME: SOME_ENUM_IDENTIFIER 1479s # ENUMSHORT: ENUM_IDENTIFIER 1479s # ENUMPREFIX: SOME 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-production 1479s # VALUENAME: ENUM_VALUE 1479s # valuenick: value 1479s # valuenum: 0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-tail 1479s # EnumName: SomeEnumIdentifier 1479s # enum_name: some_enum_identifier 1479s # ENUMNAME: SOME_ENUM_IDENTIFIER 1479s # ENUMSHORT: ENUM_IDENTIFIER 1479s # ENUMPREFIX: SOME 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # file-tail 1479s # 1479s # comment 1479s # comment: Generated data ends here 1479s # Executing: glib/mkenums.py.test 1479s ok 16 __main__.TestMkenums.test_reproducible 1479s # tmpdir: /tmp/tmp59pjlftq 1479s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1479s # /tmp/tmp59pjlftq/tmpmg8kix38.template: template 1479s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp59pjlftq/tmpmg8kix38.template', '/tmp/tmp59pjlftq/tmpf8g9ma_d1.h', '/tmp/tmp59pjlftq/tmpwbnw1fok2.h'] 1479s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1479s # 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. */ 1479s # 1479s # 1479s # /* Generated data ends here */ 1479s # /tmp/tmp59pjlftq/tmpkxwpq1bz.template: template 1479s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp59pjlftq/tmpkxwpq1bz.template', '/tmp/tmp59pjlftq/tmpwbnw1fok2.h', '/tmp/tmp59pjlftq/tmpf8g9ma_d1.h'] 1479s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1479s # 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. */ 1479s # 1479s # 1479s # /* Generated data ends here */ 1479s ok 17 __main__.TestMkenums.test_since 1479s # tmpdir: /tmp/tmpbnvmlpvx 1479s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1479s # /tmp/tmpbnvmlpvx/tmpnt8ym3fe.h: 1479s # typedef enum { /*< since=1.0 >*/ 1479s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1479s # } QmiWmsMessageProtocol; 1479s # 1479s # /tmp/tmpbnvmlpvx/tmpiyluya2o.template: 1479s # /*** BEGIN file-header ***/ 1479s # file-header 1479s # /*** END file-header ***/ 1479s # 1479s # /*** BEGIN file-production ***/ 1479s # file-production 1479s # filename: @filename@ 1479s # basename: @basename@ 1479s # /*** END file-production ***/ 1479s # 1479s # /*** BEGIN enumeration-production ***/ 1479s # enumeration-production 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END enumeration-production ***/ 1479s # 1479s # /*** BEGIN value-header ***/ 1479s # value-header 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-header ***/ 1479s # 1479s # /*** BEGIN value-production ***/ 1479s # value-production 1479s # VALUENAME: @VALUENAME@ 1479s # valuenick: @valuenick@ 1479s # valuenum: @valuenum@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-production ***/ 1479s # 1479s # /*** BEGIN value-tail ***/ 1479s # value-tail 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-tail ***/ 1479s # 1479s # /*** BEGIN comment ***/ 1479s # comment 1479s # comment: @comment@ 1479s # /*** END comment ***/ 1479s # 1479s # /*** BEGIN file-tail ***/ 1479s # file-tail 1479s # /*** END file-tail ***/ 1479s # 1479s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbnvmlpvx/tmpiyluya2o.template', '/tmp/tmpbnvmlpvx/tmpnt8ym3fe.h'] 1479s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1479s # Output: comment 1479s # 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. 1479s # 1479s # 1479s # file-header 1479s # file-production 1479s # filename: /tmp/tmpbnvmlpvx/tmpnt8ym3fe.h 1479s # basename: tmpnt8ym3fe.h 1479s # enumeration-production 1479s # EnumName: QmiWmsMessageProtocol 1479s # enum_name: qmi_wms_message_protocol 1479s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1479s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1479s # ENUMPREFIX: QMI 1479s # enumsince: 1.0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-header 1479s # EnumName: QmiWmsMessageProtocol 1479s # enum_name: qmi_wms_message_protocol 1479s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1479s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1479s # ENUMPREFIX: QMI 1479s # enumsince: 1.0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-production 1479s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1479s # valuenick: cdma 1479s # valuenum: 0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-tail 1479s # EnumName: QmiWmsMessageProtocol 1479s # enum_name: qmi_wms_message_protocol 1479s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1479s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1479s # ENUMPREFIX: QMI 1479s # enumsince: 1.0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # file-tail 1479s # 1479s # comment 1479s # comment: Generated data ends here 1479s ok 18 __main__.TestMkenums.test_with_double_quotes 1479s # tmpdir: /tmp/tmpvc3ll0ug 1479s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1479s # /tmp/tmpvc3ll0ug/tmp33gcbd_f.h: 1479s # typedef enum { 1479s # FOO_VALUE /*< nick="eek, a comma" >*/ 1479s # } Foo; 1479s # 1479s # /tmp/tmpvc3ll0ug/tmpt4n2x65g.template: 1479s # /*** BEGIN file-header ***/ 1479s # file-header 1479s # /*** END file-header ***/ 1479s # 1479s # /*** BEGIN file-production ***/ 1479s # file-production 1479s # filename: @filename@ 1479s # basename: @basename@ 1479s # /*** END file-production ***/ 1479s # 1479s # /*** BEGIN enumeration-production ***/ 1479s # enumeration-production 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END enumeration-production ***/ 1479s # 1479s # /*** BEGIN value-header ***/ 1479s # value-header 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-header ***/ 1479s # 1479s # /*** BEGIN value-production ***/ 1479s # value-production 1479s # VALUENAME: @VALUENAME@ 1479s # valuenick: @valuenick@ 1479s # valuenum: @valuenum@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-production ***/ 1479s # 1479s # /*** BEGIN value-tail ***/ 1479s # value-tail 1479s # EnumName: @EnumName@ 1479s # enum_name: @enum_name@ 1479s # ENUMNAME: @ENUMNAME@ 1479s # ENUMSHORT: @ENUMSHORT@ 1479s # ENUMPREFIX: @ENUMPREFIX@ 1479s # enumsince: @enumsince@ 1479s # type: @type@ 1479s # Type: @Type@ 1479s # TYPE: @TYPE@ 1479s # /*** END value-tail ***/ 1479s # 1479s # /*** BEGIN comment ***/ 1479s # comment 1479s # comment: @comment@ 1479s # /*** END comment ***/ 1479s # 1479s # /*** BEGIN file-tail ***/ 1479s # file-tail 1479s # /*** END file-tail ***/ 1479s # 1479s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvc3ll0ug/tmpt4n2x65g.template', '/tmp/tmpvc3ll0ug/tmp33gcbd_f.h'] 1479s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1479s # Output: comment 1479s # 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. 1479s # 1479s # 1479s # file-header 1479s # file-production 1479s # filename: /tmp/tmpvc3ll0ug/tmp33gcbd_f.h 1479s # basename: tmp33gcbd_f.h 1479s # enumeration-production 1479s # EnumName: Foo 1479s # enum_name: foo_ 1479s # ENUMNAME: FOO_ 1479s # ENUMSHORT: 1479s # ENUMPREFIX: FOO 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-header 1479s # EnumName: Foo 1479s # enum_name: foo_ 1479s # ENUMNAME: FOO_ 1479s # ENUMSHORT: 1479s # ENUMPREFIX: FOO 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-production 1479s # VALUENAME: FOO_VALUE 1479s # valuenick: eek, a comma 1479s # valuenum: 0 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # value-tail 1479s # EnumName: Foo 1479s # enum_name: foo_ 1479s # ENUMNAME: FOO_ 1479s # ENUMSHORT: 1479s # ENUMPREFIX: FOO 1479s # enumsince: 1479s # type: enum 1479s # Type: Enum 1479s # TYPE: ENUM 1479s # file-tail 1479s # 1479s # comment 1479s # comment: Generated data ends here 1480s ok 19 __main__.TestRspMkenums.test_available_in 1480s # tmpdir: /tmp/tmp5f2rovjz 1480s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1480s # /tmp/tmp5f2rovjz/tmpg5uzeek0.h: 1480s # typedef enum { 1480s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1480s # } GDBusServerFlags; 1480s # 1480s # /tmp/tmp5f2rovjz/tmp75cpzwcq.template: 1480s # /*** BEGIN file-header ***/ 1480s # file-header 1480s # /*** END file-header ***/ 1480s # 1480s # /*** BEGIN file-production ***/ 1480s # file-production 1480s # filename: @filename@ 1480s # basename: @basename@ 1480s # /*** END file-production ***/ 1480s # 1480s # /*** BEGIN enumeration-production ***/ 1480s # enumeration-production 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END enumeration-production ***/ 1480s # 1480s # /*** BEGIN value-header ***/ 1480s # value-header 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-header ***/ 1480s # 1480s # /*** BEGIN value-production ***/ 1480s # value-production 1480s # VALUENAME: @VALUENAME@ 1480s # valuenick: @valuenick@ 1480s # valuenum: @valuenum@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-production ***/ 1480s # 1480s # /*** BEGIN value-tail ***/ 1480s # value-tail 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-tail ***/ 1480s # 1480s # /*** BEGIN comment ***/ 1480s # comment 1480s # comment: @comment@ 1480s # /*** END comment ***/ 1480s # 1480s # /*** BEGIN file-tail ***/ 1480s # file-tail 1480s # /*** END file-tail ***/ 1480s # 1480s # Response file contains: --template /tmp/tmp5f2rovjz/tmp75cpzwcq.template /tmp/tmp5f2rovjz/tmpg5uzeek0.h 1480s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5f2rovjz/tmp3fzhdh8u'] 1480s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1480s # Output: comment 1480s # 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. 1480s # 1480s # 1480s # file-header 1480s # file-production 1480s # filename: /tmp/tmp5f2rovjz/tmpg5uzeek0.h 1480s # basename: tmpg5uzeek0.h 1480s # enumeration-production 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-header 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-production 1480s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1480s # valuenick: user 1480s # valuenum: 4 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-tail 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # file-tail 1480s # 1480s # comment 1480s # comment: Generated data ends here 1480s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1480s # tmpdir: /tmp/tmpggj5oh4u 1480s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1480s # /tmp/tmpggj5oh4u/tmpbei66b2l.h: 1480s # typedef enum { 1480s # ENUM_VALUE_WITH_COMMA = ',', 1480s # } TestCommaEnum; 1480s # 1480s # /tmp/tmpggj5oh4u/tmpxmg0y2aa.template: 1480s # /*** BEGIN file-header ***/ 1480s # file-header 1480s # /*** END file-header ***/ 1480s # 1480s # /*** BEGIN file-production ***/ 1480s # file-production 1480s # filename: @filename@ 1480s # basename: @basename@ 1480s # /*** END file-production ***/ 1480s # 1480s # /*** BEGIN enumeration-production ***/ 1480s # enumeration-production 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END enumeration-production ***/ 1480s # 1480s # /*** BEGIN value-header ***/ 1480s # value-header 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-header ***/ 1480s # 1480s # /*** BEGIN value-production ***/ 1480s # value-production 1480s # VALUENAME: @VALUENAME@ 1480s # valuenick: @valuenick@ 1480s # valuenum: @valuenum@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-production ***/ 1480s # 1480s # /*** BEGIN value-tail ***/ 1480s # value-tail 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-tail ***/ 1480s # 1480s # /*** BEGIN comment ***/ 1480s # comment 1480s # comment: @comment@ 1480s # /*** END comment ***/ 1480s # 1480s # /*** BEGIN file-tail ***/ 1480s # file-tail 1480s # /*** END file-tail ***/ 1480s # 1480s # Response file contains: --template /tmp/tmpggj5oh4u/tmpxmg0y2aa.template /tmp/tmpggj5oh4u/tmpbei66b2l.h 1480s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpggj5oh4u/tmpiu3qvour'] 1480s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1480s # Output: comment 1480s # 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. 1480s # 1480s # 1480s # file-header 1480s # file-production 1480s # filename: /tmp/tmpggj5oh4u/tmpbei66b2l.h 1480s # basename: tmpbei66b2l.h 1480s # enumeration-production 1480s # EnumName: TestCommaEnum 1480s # enum_name: test_comma_enum 1480s # ENUMNAME: TEST_COMMA_ENUM 1480s # ENUMSHORT: COMMA_ENUM 1480s # ENUMPREFIX: TEST 1480s # enumsince: 1480s # type: enum 1480s # Type: Enum 1480s # TYPE: ENUM 1480s # value-header 1480s # EnumName: TestCommaEnum 1480s # enum_name: test_comma_enum 1480s # ENUMNAME: TEST_COMMA_ENUM 1480s # ENUMSHORT: COMMA_ENUM 1480s # ENUMPREFIX: TEST 1480s # enumsince: 1480s # type: enum 1480s # Type: Enum 1480s # TYPE: ENUM 1480s # value-production 1480s # VALUENAME: ENUM_VALUE_WITH_COMMA 1480s # valuenick: comma 1480s # valuenum: 44 1480s # type: enum 1480s # Type: Enum 1480s # TYPE: ENUM 1480s # value-tail 1480s # EnumName: TestCommaEnum 1480s # enum_name: test_comma_enum 1480s # ENUMNAME: TEST_COMMA_ENUM 1480s # ENUMSHORT: COMMA_ENUM 1480s # ENUMPREFIX: TEST 1480s # enumsince: 1480s # type: enum 1480s # Type: Enum 1480s # TYPE: ENUM 1480s # file-tail 1480s # 1480s # comment 1480s # comment: Generated data ends here 1480s ok 21 __main__.TestRspMkenums.test_deprecated_in 1480s # tmpdir: /tmp/tmp40lwo6b1 1480s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1480s # /tmp/tmp40lwo6b1/tmph28wc96o.h: 1480s # typedef enum { 1480s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1480s # } GDBusServerFlags; 1480s # 1480s # /tmp/tmp40lwo6b1/tmpaqhg8ate.template: 1480s # /*** BEGIN file-header ***/ 1480s # file-header 1480s # /*** END file-header ***/ 1480s # 1480s # /*** BEGIN file-production ***/ 1480s # file-production 1480s # filename: @filename@ 1480s # basename: @basename@ 1480s # /*** END file-production ***/ 1480s # 1480s # /*** BEGIN enumeration-production ***/ 1480s # enumeration-production 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END enumeration-production ***/ 1480s # 1480s # /*** BEGIN value-header ***/ 1480s # value-header 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-header ***/ 1480s # 1480s # /*** BEGIN value-production ***/ 1480s # value-production 1480s # VALUENAME: @VALUENAME@ 1480s # valuenick: @valuenick@ 1480s # valuenum: @valuenum@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-production ***/ 1480s # 1480s # /*** BEGIN value-tail ***/ 1480s # value-tail 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-tail ***/ 1480s # 1480s # /*** BEGIN comment ***/ 1480s # comment 1480s # comment: @comment@ 1480s # /*** END comment ***/ 1480s # 1480s # /*** BEGIN file-tail ***/ 1480s # file-tail 1480s # /*** END file-tail ***/ 1480s # 1480s # Response file contains: --template /tmp/tmp40lwo6b1/tmpaqhg8ate.template /tmp/tmp40lwo6b1/tmph28wc96o.h 1480s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp40lwo6b1/tmphjynd0w7'] 1480s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1480s # Output: comment 1480s # 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. 1480s # 1480s # 1480s # file-header 1480s # file-production 1480s # filename: /tmp/tmp40lwo6b1/tmph28wc96o.h 1480s # basename: tmph28wc96o.h 1480s # enumeration-production 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-header 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-production 1480s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1480s # valuenick: user 1480s # valuenum: 4 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-tail 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # file-tail 1480s # 1480s # comment 1480s # comment: Generated data ends here 1480s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1480s # tmpdir: /tmp/tmp926h7qmo 1480s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1480s # /tmp/tmp926h7qmo/tmppm8a6fly.h: 1480s # typedef enum { 1480s # 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) 1480s # } GDBusServerFlags; 1480s # 1480s # /tmp/tmp926h7qmo/tmp56_cd7w9.template: 1480s # /*** BEGIN file-header ***/ 1480s # file-header 1480s # /*** END file-header ***/ 1480s # 1480s # /*** BEGIN file-production ***/ 1480s # file-production 1480s # filename: @filename@ 1480s # basename: @basename@ 1480s # /*** END file-production ***/ 1480s # 1480s # /*** BEGIN enumeration-production ***/ 1480s # enumeration-production 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END enumeration-production ***/ 1480s # 1480s # /*** BEGIN value-header ***/ 1480s # value-header 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-header ***/ 1480s # 1480s # /*** BEGIN value-production ***/ 1480s # value-production 1480s # VALUENAME: @VALUENAME@ 1480s # valuenick: @valuenick@ 1480s # valuenum: @valuenum@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-production ***/ 1480s # 1480s # /*** BEGIN value-tail ***/ 1480s # value-tail 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-tail ***/ 1480s # 1480s # /*** BEGIN comment ***/ 1480s # comment 1480s # comment: @comment@ 1480s # /*** END comment ***/ 1480s # 1480s # /*** BEGIN file-tail ***/ 1480s # file-tail 1480s # /*** END file-tail ***/ 1480s # 1480s # Response file contains: --template /tmp/tmp926h7qmo/tmp56_cd7w9.template /tmp/tmp926h7qmo/tmppm8a6fly.h 1480s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp926h7qmo/tmpwlu2tj7f'] 1480s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1480s # Output: comment 1480s # 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. 1480s # 1480s # 1480s # file-header 1480s # file-production 1480s # filename: /tmp/tmp926h7qmo/tmppm8a6fly.h 1480s # basename: tmppm8a6fly.h 1480s # enumeration-production 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-header 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-production 1480s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1480s # valuenick: user 1480s # valuenum: 4 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # value-tail 1480s # EnumName: GDBusServerFlags 1480s # enum_name: g_dbus_server_flags 1480s # ENUMNAME: G_DBUS_SERVER_FLAGS 1480s # ENUMSHORT: DBUS_SERVER_FLAGS 1480s # ENUMPREFIX: G 1480s # enumsince: 1480s # type: flags 1480s # Type: Flags 1480s # TYPE: FLAGS 1480s # file-tail 1480s # 1480s # comment 1480s # comment: Generated data ends here 1480s ok 23 __main__.TestRspMkenums.test_empty_header 1480s # tmpdir: /tmp/tmpfl2f7i33 1480s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1480s # /tmp/tmpfl2f7i33/tmpkdz31ldj.h: 1480s # /tmp/tmpfl2f7i33/tmph7op5fex.template: 1480s # /*** BEGIN file-header ***/ 1480s # file-header 1480s # /*** END file-header ***/ 1480s # 1480s # /*** BEGIN file-production ***/ 1480s # file-production 1480s # filename: @filename@ 1480s # basename: @basename@ 1480s # /*** END file-production ***/ 1480s # 1480s # /*** BEGIN enumeration-production ***/ 1480s # enumeration-production 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END enumeration-production ***/ 1480s # 1480s # /*** BEGIN value-header ***/ 1480s # value-header 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-header ***/ 1480s # 1480s # /*** BEGIN value-production ***/ 1480s # value-production 1480s # VALUENAME: @VALUENAME@ 1480s # valuenick: @valuenick@ 1480s # valuenum: @valuenum@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-production ***/ 1480s # 1480s # /*** BEGIN value-tail ***/ 1480s # value-tail 1480s # EnumName: @EnumName@ 1480s # enum_name: @enum_name@ 1480s # ENUMNAME: @ENUMNAME@ 1480s # ENUMSHORT: @ENUMSHORT@ 1480s # ENUMPREFIX: @ENUMPREFIX@ 1480s # enumsince: @enumsince@ 1480s # type: @type@ 1480s # Type: @Type@ 1480s # TYPE: @TYPE@ 1480s # /*** END value-tail ***/ 1480s # 1480s # /*** BEGIN comment ***/ 1480s # comment 1480s # comment: @comment@ 1480s # /*** END comment ***/ 1480s # 1480s # /*** BEGIN file-tail ***/ 1480s # file-tail 1480s # /*** END file-tail ***/ 1480s # 1480s # Response file contains: --template /tmp/tmpfl2f7i33/tmph7op5fex.template /tmp/tmpfl2f7i33/tmpkdz31ldj.h 1480s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfl2f7i33/tmpv7tvyav4'] 1480s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1480s # Output: comment 1480s # 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. 1480s # 1480s # 1480s # file-header 1480s # file-tail 1480s # 1480s # comment 1480s # comment: Generated data ends here 1480s ok 24 __main__.TestRspMkenums.test_empty_template 1480s # tmpdir: /tmp/tmp6jcog4ud 1480s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1480s # /tmp/tmp6jcog4ud/tmp7_bzrno2.template: 1480s # Response file contains: --template /tmp/tmp6jcog4ud/tmp7_bzrno2.template 1480s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6jcog4ud/tmpyz9ddsxb'] 1480s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1480s # 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. */ 1480s # 1480s # 1480s # /* Generated data ends here */ 1481s ok 25 __main__.TestRspMkenums.test_enum_name 1481s # tmpdir: /tmp/tmpn826ul54 1481s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1481s # /tmp/tmpn826ul54/tmp3s9q4x9y.h: 1481s # typedef enum _SomeEnumIdentifier { 1481s # ENUM_VALUE 1481s # } SomeEnumIdentifier; 1481s # 1481s # /tmp/tmpn826ul54/tmp3gf81geo.template: 1481s # /*** BEGIN file-header ***/ 1481s # file-header 1481s # /*** END file-header ***/ 1481s # 1481s # /*** BEGIN file-production ***/ 1481s # file-production 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # /*** END file-production ***/ 1481s # 1481s # /*** BEGIN enumeration-production ***/ 1481s # enumeration-production 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END enumeration-production ***/ 1481s # 1481s # /*** BEGIN value-header ***/ 1481s # value-header 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-header ***/ 1481s # 1481s # /*** BEGIN value-production ***/ 1481s # value-production 1481s # VALUENAME: @VALUENAME@ 1481s # valuenick: @valuenick@ 1481s # valuenum: @valuenum@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-production ***/ 1481s # 1481s # /*** BEGIN value-tail ***/ 1481s # value-tail 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-tail ***/ 1481s # 1481s # /*** BEGIN comment ***/ 1481s # comment 1481s # comment: @comment@ 1481s # /*** END comment ***/ 1481s # 1481s # /*** BEGIN file-tail ***/ 1481s # file-tail 1481s # /*** END file-tail ***/ 1481s # 1481s # Response file contains: --template /tmp/tmpn826ul54/tmp3gf81geo.template /tmp/tmpn826ul54/tmp3s9q4x9y.h 1481s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn826ul54/tmpaawsxatd'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: comment 1481s # 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. 1481s # 1481s # 1481s # file-header 1481s # file-production 1481s # filename: /tmp/tmpn826ul54/tmp3s9q4x9y.h 1481s # basename: tmp3s9q4x9y.h 1481s # enumeration-production 1481s # EnumName: SomeEnumIdentifier 1481s # enum_name: some_enum_identifier 1481s # ENUMNAME: SOME_ENUM_IDENTIFIER 1481s # ENUMSHORT: ENUM_IDENTIFIER 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-header 1481s # EnumName: SomeEnumIdentifier 1481s # enum_name: some_enum_identifier 1481s # ENUMNAME: SOME_ENUM_IDENTIFIER 1481s # ENUMSHORT: ENUM_IDENTIFIER 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-production 1481s # VALUENAME: ENUM_VALUE 1481s # valuenick: value 1481s # valuenum: 0 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-tail 1481s # EnumName: SomeEnumIdentifier 1481s # enum_name: some_enum_identifier 1481s # ENUMNAME: SOME_ENUM_IDENTIFIER 1481s # ENUMSHORT: ENUM_IDENTIFIER 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # file-tail 1481s # 1481s # comment 1481s # comment: Generated data ends here 1481s ok 26 __main__.TestRspMkenums.test_enum_private_public 1481s # tmpdir: /tmp/tmpjfh24_w9 1481s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1481s # /tmp/tmpjfh24_w9/tmpv83vfgo6.h: 1481s # typedef enum { 1481s # ENUM_VALUE_PUBLIC1, 1481s # /*< private >*/ 1481s # ENUM_VALUE_PRIVATE, 1481s # } SomeEnumA 1481s # 1481s # /tmp/tmpjfh24_w9/tmp27q1xwol.template: 1481s # /*** BEGIN file-header ***/ 1481s # file-header 1481s # /*** END file-header ***/ 1481s # 1481s # /*** BEGIN file-production ***/ 1481s # file-production 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # /*** END file-production ***/ 1481s # 1481s # /*** BEGIN enumeration-production ***/ 1481s # enumeration-production 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END enumeration-production ***/ 1481s # 1481s # /*** BEGIN value-header ***/ 1481s # value-header 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-header ***/ 1481s # 1481s # /*** BEGIN value-production ***/ 1481s # value-production 1481s # VALUENAME: @VALUENAME@ 1481s # valuenick: @valuenick@ 1481s # valuenum: @valuenum@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-production ***/ 1481s # 1481s # /*** BEGIN value-tail ***/ 1481s # value-tail 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-tail ***/ 1481s # 1481s # /*** BEGIN comment ***/ 1481s # comment 1481s # comment: @comment@ 1481s # /*** END comment ***/ 1481s # 1481s # /*** BEGIN file-tail ***/ 1481s # file-tail 1481s # /*** END file-tail ***/ 1481s # 1481s # Response file contains: --template /tmp/tmpjfh24_w9/tmp27q1xwol.template /tmp/tmpjfh24_w9/tmpv83vfgo6.h 1481s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjfh24_w9/tmpmgeotyjb'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: comment 1481s # 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. 1481s # 1481s # 1481s # file-header 1481s # file-production 1481s # filename: /tmp/tmpjfh24_w9/tmpv83vfgo6.h 1481s # basename: tmpv83vfgo6.h 1481s # enumeration-production 1481s # EnumName: SomeEnumA 1481s # enum_name: some_enum_a 1481s # ENUMNAME: SOME_ENUM_A 1481s # ENUMSHORT: ENUM_A 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-header 1481s # EnumName: SomeEnumA 1481s # enum_name: some_enum_a 1481s # ENUMNAME: SOME_ENUM_A 1481s # ENUMSHORT: ENUM_A 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-production 1481s # VALUENAME: ENUM_VALUE_PUBLIC1 1481s # valuenick: public1 1481s # valuenum: 0 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-tail 1481s # EnumName: SomeEnumA 1481s # enum_name: some_enum_a 1481s # ENUMNAME: SOME_ENUM_A 1481s # ENUMSHORT: ENUM_A 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # file-tail 1481s # 1481s # comment 1481s # comment: Generated data ends here 1481s # /tmp/tmpjfh24_w9/tmpyvfw9itl.h: 1481s # typedef enum { 1481s # /*< private >*/ 1481s # ENUM_VALUE_PRIVATE, 1481s # /*< public >*/ 1481s # ENUM_VALUE_PUBLIC2, 1481s # } SomeEnumB; 1481s # 1481s # /tmp/tmpjfh24_w9/tmpzbebbgis.template: 1481s # /*** BEGIN file-header ***/ 1481s # file-header 1481s # /*** END file-header ***/ 1481s # 1481s # /*** BEGIN file-production ***/ 1481s # file-production 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # /*** END file-production ***/ 1481s # 1481s # /*** BEGIN enumeration-production ***/ 1481s # enumeration-production 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END enumeration-production ***/ 1481s # 1481s # /*** BEGIN value-header ***/ 1481s # value-header 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-header ***/ 1481s # 1481s # /*** BEGIN value-production ***/ 1481s # value-production 1481s # VALUENAME: @VALUENAME@ 1481s # valuenick: @valuenick@ 1481s # valuenum: @valuenum@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-production ***/ 1481s # 1481s # /*** BEGIN value-tail ***/ 1481s # value-tail 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-tail ***/ 1481s # 1481s # /*** BEGIN comment ***/ 1481s # comment 1481s # comment: @comment@ 1481s # /*** END comment ***/ 1481s # 1481s # /*** BEGIN file-tail ***/ 1481s # file-tail 1481s # /*** END file-tail ***/ 1481s # 1481s # Response file contains: --template /tmp/tmpjfh24_w9/tmpzbebbgis.template /tmp/tmpjfh24_w9/tmpyvfw9itl.h 1481s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjfh24_w9/tmpksazuj9u'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: comment 1481s # 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. 1481s # 1481s # 1481s # file-header 1481s # file-production 1481s # filename: /tmp/tmpjfh24_w9/tmpyvfw9itl.h 1481s # basename: tmpyvfw9itl.h 1481s # enumeration-production 1481s # EnumName: SomeEnumB 1481s # enum_name: some_enum_b 1481s # ENUMNAME: SOME_ENUM_B 1481s # ENUMSHORT: ENUM_B 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-header 1481s # EnumName: SomeEnumB 1481s # enum_name: some_enum_b 1481s # ENUMNAME: SOME_ENUM_B 1481s # ENUMSHORT: ENUM_B 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-production 1481s # VALUENAME: ENUM_VALUE_PUBLIC2 1481s # valuenick: public2 1481s # valuenum: 1 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-tail 1481s # EnumName: SomeEnumB 1481s # enum_name: some_enum_b 1481s # ENUMNAME: SOME_ENUM_B 1481s # ENUMSHORT: ENUM_B 1481s # ENUMPREFIX: SOME 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # file-tail 1481s # 1481s # comment 1481s # comment: Generated data ends here 1481s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1481s # tmpdir: /tmp/tmpua1noabc 1481s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1481s # /tmp/tmpua1noabc/tmp7e5c933_.h: 1481s # typedef enum { 1481s # /*< private >*/ 1481s # ENUM_VALUE_PRIVATE = 5, 1481s # /*< public >*/ 1481s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1481s # } TestSymbolicEnum; 1481s # 1481s # /tmp/tmpua1noabc/tmp9mg9kzqw.template: 1481s # /*** BEGIN file-header ***/ 1481s # file-header 1481s # /*** END file-header ***/ 1481s # 1481s # /*** BEGIN file-production ***/ 1481s # file-production 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # /*** END file-production ***/ 1481s # 1481s # /*** BEGIN enumeration-production ***/ 1481s # enumeration-production 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END enumeration-production ***/ 1481s # 1481s # /*** BEGIN value-header ***/ 1481s # value-header 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-header ***/ 1481s # 1481s # /*** BEGIN value-production ***/ 1481s # value-production 1481s # VALUENAME: @VALUENAME@ 1481s # valuenick: @valuenick@ 1481s # valuenum: @valuenum@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-production ***/ 1481s # 1481s # /*** BEGIN value-tail ***/ 1481s # value-tail 1481s # EnumName: @EnumName@ 1481s # enum_name: @enum_name@ 1481s # ENUMNAME: @ENUMNAME@ 1481s # ENUMSHORT: @ENUMSHORT@ 1481s # ENUMPREFIX: @ENUMPREFIX@ 1481s # enumsince: @enumsince@ 1481s # type: @type@ 1481s # Type: @Type@ 1481s # TYPE: @TYPE@ 1481s # /*** END value-tail ***/ 1481s # 1481s # /*** BEGIN comment ***/ 1481s # comment 1481s # comment: @comment@ 1481s # /*** END comment ***/ 1481s # 1481s # /*** BEGIN file-tail ***/ 1481s # file-tail 1481s # /*** END file-tail ***/ 1481s # 1481s # Response file contains: --template /tmp/tmpua1noabc/tmp9mg9kzqw.template /tmp/tmpua1noabc/tmp7e5c933_.h 1481s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpua1noabc/tmp2h1p0iba'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: comment 1481s # 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. 1481s # 1481s # 1481s # file-header 1481s # file-production 1481s # filename: /tmp/tmpua1noabc/tmp7e5c933_.h 1481s # basename: tmp7e5c933_.h 1481s # enumeration-production 1481s # EnumName: TestSymbolicEnum 1481s # enum_name: test_symbolic_enum 1481s # ENUMNAME: TEST_SYMBOLIC_ENUM 1481s # ENUMSHORT: SYMBOLIC_ENUM 1481s # ENUMPREFIX: TEST 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-header 1481s # EnumName: TestSymbolicEnum 1481s # enum_name: test_symbolic_enum 1481s # ENUMNAME: TEST_SYMBOLIC_ENUM 1481s # ENUMSHORT: SYMBOLIC_ENUM 1481s # ENUMPREFIX: TEST 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-production 1481s # VALUENAME: ENUM_VALUE_PUBLIC 1481s # valuenick: public 1481s # valuenum: 7 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # value-tail 1481s # EnumName: TestSymbolicEnum 1481s # enum_name: test_symbolic_enum 1481s # ENUMNAME: TEST_SYMBOLIC_ENUM 1481s # ENUMSHORT: SYMBOLIC_ENUM 1481s # ENUMPREFIX: TEST 1481s # enumsince: 1481s # type: enum 1481s # Type: Enum 1481s # TYPE: ENUM 1481s # file-tail 1481s # 1481s # comment 1481s # comment: Generated data ends here 1481s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1481s # tmpdir: /tmp/tmpfo2rf1kp 1481s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1481s # /tmp/tmpfo2rf1kp/tmph7ln7mm5.template: 1481s # /*** BEGIN file-header ***/ 1481s # file-header 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # /*** END file-header ***/ 1481s # 1481s # /*** BEGIN comment ***/ 1481s # comment 1481s # comment: @comment@ 1481s # /*** END comment ***/ 1481s # 1481s # /*** BEGIN file-tail ***/ 1481s # file-tail 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # /*** END file-tail ***/ 1481s # Response file contains: --template /tmp/tmpfo2rf1kp/tmph7ln7mm5.template 1481s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfo2rf1kp/tmp_i5vmv98'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: comment 1481s # 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. 1481s # 1481s # 1481s # file-header 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # file-tail 1481s # filename: @filename@ 1481s # basename: @basename@ 1481s # 1481s # comment 1481s # comment: Generated data ends here 1482s ok 29 __main__.TestRspMkenums.test_help 1482s # tmpdir: /tmp/tmpn4c2pjtm 1482s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1482s # Response file contains: --help 1482s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn4c2pjtm/tmp8cw2kzjg'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1482s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1482s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1482s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1482s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1482s # [--output OUTPUT] [--version] 1482s # [args ...] 1482s # 1482s # positional arguments: 1482s # args One or more input files, or a single argument 1482s # @rspfile_path pointing to a file that contains the 1482s # actual arguments 1482s # 1482s # options: 1482s # -h, --help show this help message and exit 1482s # --identifier-prefix IDPREFIX 1482s # Identifier prefix 1482s # --symbol-prefix SYMPREFIX 1482s # Symbol prefix 1482s # --fhead FHEAD Output file header 1482s # --ftail FTAIL Output file footer 1482s # --fprod FPROD Put out TEXT every time a new input file is being 1482s # processed. 1482s # --eprod EPROD Per enum text, produced prior to value iterations 1482s # --vhead VHEAD Value header, produced before iterating over enum 1482s # values 1482s # --vprod VPROD Value text, produced for each enum value. 1482s # --vtail VTAIL Value tail, produced after iterating over enum values 1482s # --comments COMMENT_TMPL 1482s # Comment structure 1482s # --template TEMPLATE Template file 1482s # --output OUTPUT 1482s # --version, -v Print version information 1482s # 1482s # Production text substitutions: 1482s # @EnumName@ PrefixTheXEnum 1482s # @enum_name@ prefix_the_xenum 1482s # @ENUMNAME@ PREFIX_THE_XENUM 1482s # @ENUMSHORT@ THE_XENUM 1482s # @ENUMPREFIX@ PREFIX 1482s # @enumsince@ the user-provided since value given 1482s # @VALUENAME@ PREFIX_THE_XVALUE 1482s # @valuenick@ the-xvalue 1482s # @valuenum@ the integer value (limited support, Since: 2.26) 1482s # @type@ either enum or flags 1482s # @Type@ either Enum or Flags 1482s # @TYPE@ either ENUM or FLAGS 1482s # @filename@ name of current input file 1482s # @basename@ base name of the current input file (Since: 2.22) 1482s ok 30 __main__.TestRspMkenums.test_no_args 1482s # tmpdir: /tmp/tmp11hx52sa 1482s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1482s # Response file contains: 1482s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp11hx52sa/tmp3ljskqn1'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # 1482s # 1482s # /* Generated data ends here */ 1482s ok 31 __main__.TestRspMkenums.test_no_headers 1482s # tmpdir: /tmp/tmpufylqe5k 1482s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1482s # /tmp/tmpufylqe5k/tmpajqa17e3.template: 1482s # /*** BEGIN file-header ***/ 1482s # file-header 1482s # /*** END file-header ***/ 1482s # 1482s # /*** BEGIN file-production ***/ 1482s # file-production 1482s # filename: @filename@ 1482s # basename: @basename@ 1482s # /*** END file-production ***/ 1482s # 1482s # /*** BEGIN enumeration-production ***/ 1482s # enumeration-production 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END enumeration-production ***/ 1482s # 1482s # /*** BEGIN value-header ***/ 1482s # value-header 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-header ***/ 1482s # 1482s # /*** BEGIN value-production ***/ 1482s # value-production 1482s # VALUENAME: @VALUENAME@ 1482s # valuenick: @valuenick@ 1482s # valuenum: @valuenum@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-production ***/ 1482s # 1482s # /*** BEGIN value-tail ***/ 1482s # value-tail 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-tail ***/ 1482s # 1482s # /*** BEGIN comment ***/ 1482s # comment 1482s # comment: @comment@ 1482s # /*** END comment ***/ 1482s # 1482s # /*** BEGIN file-tail ***/ 1482s # file-tail 1482s # /*** END file-tail ***/ 1482s # 1482s # Response file contains: --template /tmp/tmpufylqe5k/tmpajqa17e3.template 1482s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpufylqe5k/tmpxmbbq1g9'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # Output: comment 1482s # 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. 1482s # 1482s # 1482s # file-header 1482s # file-tail 1482s # 1482s # comment 1482s # comment: Generated data ends here 1482s ok 32 __main__.TestRspMkenums.test_no_nick 1482s # tmpdir: /tmp/tmpqmsab7oi 1482s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1482s # /tmp/tmpqmsab7oi/tmptag2pmnh.h: 1482s # typedef enum { 1482s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1482s # } GeglSamplerType; 1482s # 1482s # /tmp/tmpqmsab7oi/tmpg9pyig1u.template: 1482s # /*** BEGIN file-header ***/ 1482s # file-header 1482s # /*** END file-header ***/ 1482s # 1482s # /*** BEGIN file-production ***/ 1482s # file-production 1482s # filename: @filename@ 1482s # basename: @basename@ 1482s # /*** END file-production ***/ 1482s # 1482s # /*** BEGIN enumeration-production ***/ 1482s # enumeration-production 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END enumeration-production ***/ 1482s # 1482s # /*** BEGIN value-header ***/ 1482s # value-header 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-header ***/ 1482s # 1482s # /*** BEGIN value-production ***/ 1482s # value-production 1482s # VALUENAME: @VALUENAME@ 1482s # valuenick: @valuenick@ 1482s # valuenum: @valuenum@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-production ***/ 1482s # 1482s # /*** BEGIN value-tail ***/ 1482s # value-tail 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-tail ***/ 1482s # 1482s # /*** BEGIN comment ***/ 1482s # comment 1482s # comment: @comment@ 1482s # /*** END comment ***/ 1482s # 1482s # /*** BEGIN file-tail ***/ 1482s # file-tail 1482s # /*** END file-tail ***/ 1482s # 1482s # Response file contains: --template /tmp/tmpqmsab7oi/tmpg9pyig1u.template /tmp/tmpqmsab7oi/tmptag2pmnh.h 1482s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqmsab7oi/tmp_rp0uj9h'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # Output: comment 1482s # 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. 1482s # 1482s # 1482s # file-header 1482s # file-production 1482s # filename: /tmp/tmpqmsab7oi/tmptag2pmnh.h 1482s # basename: tmptag2pmnh.h 1482s # enumeration-production 1482s # EnumName: GeglSamplerType 1482s # enum_name: gegl_sampler_type 1482s # ENUMNAME: GEGL_SAMPLER_TYPE 1482s # ENUMSHORT: SAMPLER_TYPE 1482s # ENUMPREFIX: GEGL 1482s # enumsince: 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # value-header 1482s # EnumName: GeglSamplerType 1482s # enum_name: gegl_sampler_type 1482s # ENUMNAME: GEGL_SAMPLER_TYPE 1482s # ENUMSHORT: SAMPLER_TYPE 1482s # ENUMPREFIX: GEGL 1482s # enumsince: 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # value-production 1482s # VALUENAME: GEGL_SAMPLER_NEAREST 1482s # valuenick: nearest 1482s # valuenum: 0 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # value-tail 1482s # EnumName: GeglSamplerType 1482s # enum_name: gegl_sampler_type 1482s # ENUMNAME: GEGL_SAMPLER_TYPE 1482s # ENUMSHORT: SAMPLER_TYPE 1482s # ENUMPREFIX: GEGL 1482s # enumsince: 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # file-tail 1482s # 1482s # comment 1482s # comment: Generated data ends here 1482s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1482s # tmpdir: /tmp/tmpndnh8_zc 1482s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1482s # /tmp/tmpndnh8_zc/tmpunxfsvqa.h: 1482s # /* Copyright © La Peña */ 1482s # typedef enum { 1482s # ENUM_VALUE 1482s # } SomeEnumIdentifier; 1482s # 1482s # /tmp/tmpndnh8_zc/tmp8t8win33.template: 1482s # /*** BEGIN file-header ***/ 1482s # file-header 1482s # /*** END file-header ***/ 1482s # 1482s # /*** BEGIN file-production ***/ 1482s # file-production 1482s # filename: @filename@ 1482s # basename: @basename@ 1482s # /*** END file-production ***/ 1482s # 1482s # /*** BEGIN enumeration-production ***/ 1482s # enumeration-production 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END enumeration-production ***/ 1482s # 1482s # /*** BEGIN value-header ***/ 1482s # value-header 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-header ***/ 1482s # 1482s # /*** BEGIN value-production ***/ 1482s # value-production 1482s # VALUENAME: @VALUENAME@ 1482s # valuenick: @valuenick@ 1482s # valuenum: @valuenum@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-production ***/ 1482s # 1482s # /*** BEGIN value-tail ***/ 1482s # value-tail 1482s # EnumName: @EnumName@ 1482s # enum_name: @enum_name@ 1482s # ENUMNAME: @ENUMNAME@ 1482s # ENUMSHORT: @ENUMSHORT@ 1482s # ENUMPREFIX: @ENUMPREFIX@ 1482s # enumsince: @enumsince@ 1482s # type: @type@ 1482s # Type: @Type@ 1482s # TYPE: @TYPE@ 1482s # /*** END value-tail ***/ 1482s # 1482s # /*** BEGIN comment ***/ 1482s # comment 1482s # comment: @comment@ 1482s # /*** END comment ***/ 1482s # 1482s # /*** BEGIN file-tail ***/ 1482s # file-tail 1482s # /*** END file-tail ***/ 1482s # 1482s # Response file contains: --template /tmp/tmpndnh8_zc/tmp8t8win33.template /tmp/tmpndnh8_zc/tmpunxfsvqa.h 1482s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpndnh8_zc/tmp4f1l_b38'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # Output: comment 1482s # 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. 1482s # 1482s # 1482s # file-header 1482s # file-production 1482s # filename: /tmp/tmpndnh8_zc/tmpunxfsvqa.h 1482s # basename: tmpunxfsvqa.h 1482s # enumeration-production 1482s # EnumName: SomeEnumIdentifier 1482s # enum_name: some_enum_identifier 1482s # ENUMNAME: SOME_ENUM_IDENTIFIER 1482s # ENUMSHORT: ENUM_IDENTIFIER 1482s # ENUMPREFIX: SOME 1482s # enumsince: 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # value-header 1482s # EnumName: SomeEnumIdentifier 1482s # enum_name: some_enum_identifier 1482s # ENUMNAME: SOME_ENUM_IDENTIFIER 1482s # ENUMSHORT: ENUM_IDENTIFIER 1482s # ENUMPREFIX: SOME 1482s # enumsince: 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # value-production 1482s # VALUENAME: ENUM_VALUE 1482s # valuenick: value 1482s # valuenum: 0 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # value-tail 1482s # EnumName: SomeEnumIdentifier 1482s # enum_name: some_enum_identifier 1482s # ENUMNAME: SOME_ENUM_IDENTIFIER 1482s # ENUMSHORT: ENUM_IDENTIFIER 1482s # ENUMPREFIX: SOME 1482s # enumsince: 1482s # type: enum 1482s # Type: Enum 1482s # TYPE: ENUM 1482s # file-tail 1482s # 1482s # comment 1482s # comment: Generated data ends here 1483s ok 34 __main__.TestRspMkenums.test_reproducible 1483s # tmpdir: /tmp/tmpgvghfthz 1483s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1483s # /tmp/tmpgvghfthz/tmpjiag10hk.template: template 1483s # Response file contains: --template /tmp/tmpgvghfthz/tmpjiag10hk.template /tmp/tmpgvghfthz/tmpu5wfu6et1.h /tmp/tmpgvghfthz/tmpc8e67p2r2.h 1483s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgvghfthz/tmp76i1c_c_'] 1483s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1483s # 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. */ 1483s # 1483s # 1483s # /* Generated data ends here */ 1483s # /tmp/tmpgvghfthz/tmp2izpti3v.template: template 1483s # Response file contains: --template /tmp/tmpgvghfthz/tmp2izpti3v.template /tmp/tmpgvghfthz/tmpc8e67p2r2.h /tmp/tmpgvghfthz/tmpu5wfu6et1.h 1483s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgvghfthz/tmpua6_9fdz'] 1483s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1483s # 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. */ 1483s # 1483s # 1483s # /* Generated data ends here */ 1483s ok 35 __main__.TestRspMkenums.test_since 1483s # tmpdir: /tmp/tmpueffbm1a 1483s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1483s # /tmp/tmpueffbm1a/tmpkqd_srej.h: 1483s # typedef enum { /*< since=1.0 >*/ 1483s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1483s # } QmiWmsMessageProtocol; 1483s # 1483s # /tmp/tmpueffbm1a/tmpya0tav7d.template: 1483s # /*** BEGIN file-header ***/ 1483s # file-header 1483s # /*** END file-header ***/ 1483s # 1483s # /*** BEGIN file-production ***/ 1483s # file-production 1483s # filename: @filename@ 1483s # basename: @basename@ 1483s # /*** END file-production ***/ 1483s # 1483s # /*** BEGIN enumeration-production ***/ 1483s # enumeration-production 1483s # EnumName: @EnumName@ 1483s # enum_name: @enum_name@ 1483s # ENUMNAME: @ENUMNAME@ 1483s # ENUMSHORT: @ENUMSHORT@ 1483s # ENUMPREFIX: @ENUMPREFIX@ 1483s # enumsince: @enumsince@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END enumeration-production ***/ 1483s # 1483s # /*** BEGIN value-header ***/ 1483s # value-header 1483s # EnumName: @EnumName@ 1483s # enum_name: @enum_name@ 1483s # ENUMNAME: @ENUMNAME@ 1483s # ENUMSHORT: @ENUMSHORT@ 1483s # ENUMPREFIX: @ENUMPREFIX@ 1483s # enumsince: @enumsince@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END value-header ***/ 1483s # 1483s # /*** BEGIN value-production ***/ 1483s # value-production 1483s # VALUENAME: @VALUENAME@ 1483s # valuenick: @valuenick@ 1483s # valuenum: @valuenum@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END value-production ***/ 1483s # 1483s # /*** BEGIN value-tail ***/ 1483s # value-tail 1483s # EnumName: @EnumName@ 1483s # enum_name: @enum_name@ 1483s # ENUMNAME: @ENUMNAME@ 1483s # ENUMSHORT: @ENUMSHORT@ 1483s # ENUMPREFIX: @ENUMPREFIX@ 1483s # enumsince: @enumsince@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END value-tail ***/ 1483s # 1483s # /*** BEGIN comment ***/ 1483s # comment 1483s # comment: @comment@ 1483s # /*** END comment ***/ 1483s # 1483s # /*** BEGIN file-tail ***/ 1483s # file-tail 1483s # /*** END file-tail ***/ 1483s # 1483s # Response file contains: --template /tmp/tmpueffbm1a/tmpya0tav7d.template /tmp/tmpueffbm1a/tmpkqd_srej.h 1483s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpueffbm1a/tmpuajwrdtn'] 1483s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1483s # Output: comment 1483s # 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. 1483s # 1483s # 1483s # file-header 1483s # file-production 1483s # filename: /tmp/tmpueffbm1a/tmpkqd_srej.h 1483s # basename: tmpkqd_srej.h 1483s # enumeration-production 1483s # EnumName: QmiWmsMessageProtocol 1483s # enum_name: qmi_wms_message_protocol 1483s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1483s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1483s # ENUMPREFIX: QMI 1483s # enumsince: 1.0 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # value-header 1483s # EnumName: QmiWmsMessageProtocol 1483s # enum_name: qmi_wms_message_protocol 1483s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1483s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1483s # ENUMPREFIX: QMI 1483s # enumsince: 1.0 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # value-production 1483s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1483s # valuenick: cdma 1483s # valuenum: 0 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # value-tail 1483s # EnumName: QmiWmsMessageProtocol 1483s # enum_name: qmi_wms_message_protocol 1483s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1483s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1483s # ENUMPREFIX: QMI 1483s # enumsince: 1.0 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # file-tail 1483s # 1483s # comment 1483s # comment: Generated data ends here 1483s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1483s # tmpdir: /tmp/tmp_d5d5mfc 1483s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1483s # /tmp/tmp_d5d5mfc/tmpmsrm2g0l.h: 1483s # typedef enum { 1483s # FOO_VALUE /*< nick="eek, a comma" >*/ 1483s # } Foo; 1483s # 1483s # /tmp/tmp_d5d5mfc/tmppg0bzerc.template: 1483s # /*** BEGIN file-header ***/ 1483s # file-header 1483s # /*** END file-header ***/ 1483s # 1483s # /*** BEGIN file-production ***/ 1483s # file-production 1483s # filename: @filename@ 1483s # basename: @basename@ 1483s # /*** END file-production ***/ 1483s # 1483s # /*** BEGIN enumeration-production ***/ 1483s # enumeration-production 1483s # EnumName: @EnumName@ 1483s # enum_name: @enum_name@ 1483s # ENUMNAME: @ENUMNAME@ 1483s # ENUMSHORT: @ENUMSHORT@ 1483s # ENUMPREFIX: @ENUMPREFIX@ 1483s # enumsince: @enumsince@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END enumeration-production ***/ 1483s # 1483s # /*** BEGIN value-header ***/ 1483s # value-header 1483s # EnumName: @EnumName@ 1483s # enum_name: @enum_name@ 1483s # ENUMNAME: @ENUMNAME@ 1483s # ENUMSHORT: @ENUMSHORT@ 1483s # ENUMPREFIX: @ENUMPREFIX@ 1483s # enumsince: @enumsince@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END value-header ***/ 1483s # 1483s # /*** BEGIN value-production ***/ 1483s # value-production 1483s # VALUENAME: @VALUENAME@ 1483s # valuenick: @valuenick@ 1483s # valuenum: @valuenum@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END value-production ***/ 1483s # 1483s # /*** BEGIN value-tail ***/ 1483s # value-tail 1483s # EnumName: @EnumName@ 1483s # enum_name: @enum_name@ 1483s # ENUMNAME: @ENUMNAME@ 1483s # ENUMSHORT: @ENUMSHORT@ 1483s # ENUMPREFIX: @ENUMPREFIX@ 1483s # enumsince: @enumsince@ 1483s # type: @type@ 1483s # Type: @Type@ 1483s # TYPE: @TYPE@ 1483s # /*** END value-tail ***/ 1483s # 1483s # /*** BEGIN comment ***/ 1483s # comment 1483s # comment: @comment@ 1483s # /*** END comment ***/ 1483s # 1483s # /*** BEGIN file-tail ***/ 1483s # file-tail 1483s # /*** END file-tail ***/ 1483s # 1483s # Response file contains: --template /tmp/tmp_d5d5mfc/tmppg0bzerc.template /tmp/tmp_d5d5mfc/tmpmsrm2g0l.h 1483s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_d5d5mfc/tmpelm2wujp'] 1483s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1483s # Output: comment 1483s # 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. 1483s # 1483s # 1483s # file-header 1483s # file-production 1483s # filename: /tmp/tmp_d5d5mfc/tmpmsrm2g0l.h 1483s # basename: tmpmsrm2g0l.h 1483s # enumeration-production 1483s # EnumName: Foo 1483s # enum_name: foo_ 1483s # ENUMNAME: FOO_ 1483s # ENUMSHORT: 1483s # ENUMPREFIX: FOO 1483s # enumsince: 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # value-header 1483s # EnumName: Foo 1483s # enum_name: foo_ 1483s # ENUMNAME: FOO_ 1483s # ENUMSHORT: 1483s # ENUMPREFIX: FOO 1483s # enumsince: 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # value-production 1483s # VALUENAME: FOO_VALUE 1483s # valuenick: eek, a comma 1483s # valuenum: 0 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # value-tail 1483s # EnumName: Foo 1483s # enum_name: foo_ 1483s # ENUMNAME: FOO_ 1483s # ENUMSHORT: 1483s # ENUMPREFIX: FOO 1483s # enumsince: 1483s # type: enum 1483s # Type: Enum 1483s # TYPE: ENUM 1483s # file-tail 1483s # 1483s # comment 1483s # comment: Generated data ends here 1483s 1..36 1484s ok - glib/mkenums.py.test 1484s # Running test: glib/readwrite.test 1484s TAP version 13 1484s # random seed: R02S9f9158cb364e79bfd69b62c27e250ce8 1484s 1..3 1484s # Start of readwrite tests 1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1484s ok 1 /readwrite/test_g_file_open_readwrite 1484s ok 2 /readwrite/test_g_file_create_readwrite 1484s ok 3 /readwrite/test_g_file_replace_readwrite 1484s # End of readwrite tests 1484s ok - glib/readwrite.test 1484s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1484s TAP version 13 1484s # random seed: R02S2bc583a5b23a3641a5e27e5c811ca4a3 1484s 1..8 1484s # Start of gdbus tests 1484s # Start of codegen tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/annotations/.dirs/runtime 1484s ok 1 /gdbus/codegen/annotations 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/interface_stability/.dirs/runtime 1484s ok 2 /gdbus/codegen/interface_stability 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/object-manager/.dirs/runtime 1484s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1484s ok 3 /gdbus/codegen/object-manager 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/property-naming/.dirs/runtime 1484s ok 4 /gdbus/codegen/property-naming 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/autocleanups/.dirs/runtime 1484s ok 5 /gdbus/codegen/autocleanups 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/deprecations/.dirs/runtime 1484s ok 6 /gdbus/codegen/deprecations 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1484s ok 7 /gdbus/codegen/standalone-interface-info 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0N4ZK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1484s ok 8 /gdbus/codegen/unix-fd-list 1484s # End of codegen tests 1484s # End of gdbus tests 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s ok - glib/gdbus-test-codegen-min-required-2-64.test 1484s # Running test: glib/gdbus-introspection.test 1484s TAP version 13 1484s # random seed: R02S33ad6824df801fda0b3a4d42ed08004a 1484s 1..4 1484s # Start of gdbus tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-parser/.dirs/runtime 1484s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1484s ok 1 /gdbus/introspection-parser 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-generate/.dirs/runtime 1484s ok 2 /gdbus/introspection-generate 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-default-direction/.dirs/runtime 1484s ok 3 /gdbus/introspection-default-direction 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_G6IVK2/gdbus/introspection-extra-data/.dirs/runtime 1484s ok 4 /gdbus/introspection-extra-data 1484s # End of gdbus tests 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1484s ok - glib/gdbus-introspection.test 1484s cleaning up pid 9040 1484s # Running test: glib/signals-refcount1.test 1484s TAP version 13 1484s # random seed: R02S8475b6ac2265bd51c542e8e975e3903e 1484s 1..1 1484s # Start of gobject tests 1484s # Start of refcount tests 1484s # init 0xbc49bc310430 1484s # 1484s # init 0xbc49bc3105d0 1484s # 1484s # Executing: glib/signals-refcount1.test 1488s # dispose 0xbc49bc310430! 1488s # 1488s # dispose 0xbc49bc3105d0! 1488s # 1488s ok 1 /gobject/refcount/signals 1488s # slow test /gobject/refcount/signals executed in 5.00 secs 1488s # End of refcount tests 1488s # End of gobject tests 1488s ok - glib/signals-refcount1.test 1488s # Running test: glib/messages-low-memory.py.test 1489s TAP version 13 1489s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1489s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1489s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1489s # Return code: -6 1489s # Output: 1489s # Error: GLib-Message: 13:25:45.145: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1489s # GLib-Message: 13:25:45.145: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1489s # ../../../glib/gprintf.c:350: failed to allocate memory 1489s 1..1 1489s ok - glib/messages-low-memory.py.test 1489s # Running test: glib/charset.test 1489s TAP version 13 1489s # random seed: R02S147a1d88494d2ea7b1949beeb234f45f 1489s 1..2 1489s # Start of charset tests 1489s # Test 0 1489s # Test 1 1489s # Test 2 1489s # Test 3 1489s ok 1 /charset/language_names_with_category 1489s ok 2 /charset/language_names_with_category_async 1489s # End of charset tests 1489s ok - glib/charset.test 1489s # Running test: glib/utf8-performance.test 1489s TAP version 13 1489s # random seed: R02S66830b697b92ade9143fd81aa911aaef 1489s 1..36 1489s # Start of utf8 tests 1489s # Start of perf tests 1489s # Start of get_char tests 1489s # max perf: 21.5 MB/s 1489s ok 1 /utf8/perf/get_char/ascii 1489s # max perf: 67.0 MB/s 1489s ok 2 /utf8/perf/get_char/latin1 1489s # max perf: 160.0 MB/s 1489s ok 3 /utf8/perf/get_char/cyrillic 1489s # max perf: 78.0 MB/s 1489s ok 4 /utf8/perf/get_char/han 1489s # End of get_char tests 1489s # Start of get_char-backwards tests 1489s # max perf: 43.0 MB/s 1489s ok 5 /utf8/perf/get_char-backwards/ascii 1489s # max perf: 67.0 MB/s 1489s ok 6 /utf8/perf/get_char-backwards/latin1 1489s # max perf: 80.0 MB/s 1489s ok 7 /utf8/perf/get_char-backwards/cyrillic 1489s # max perf: 156.0 MB/s 1489s ok 8 /utf8/perf/get_char-backwards/han 1489s # End of get_char-backwards tests 1489s # Start of get_char_validated tests 1489s # max perf: 43.0 MB/s 1489s ok 9 /utf8/perf/get_char_validated/ascii 1489s # max perf: 67.0 MB/s 1489s ok 10 /utf8/perf/get_char_validated/latin1 1489s # max perf: 80.0 MB/s 1489s ok 11 /utf8/perf/get_char_validated/cyrillic 1489s # max perf: 156.0 MB/s 1489s ok 12 /utf8/perf/get_char_validated/han 1489s # End of get_char_validated tests 1489s # Start of utf8_to_ucs4 tests 1489s # max perf: 21.5 MB/s 1489s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1489s # max perf: 33.5 MB/s 1489s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1489s # max perf: 80.0 MB/s 1489s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1489s # max perf: 78.0 MB/s 1489s ok 16 /utf8/perf/utf8_to_ucs4/han 1489s # End of utf8_to_ucs4 tests 1489s # Start of utf8_to_ucs4-sized tests 1489s # max perf: 43.0 MB/s 1489s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1489s # max perf: 33.5 MB/s 1489s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1489s # max perf: 80.0 MB/s 1489s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1489s # max perf: 78.0 MB/s 1489s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1489s # End of utf8_to_ucs4-sized tests 1489s # Start of utf8_to_ucs4_fast tests 1489s # max perf: 21.5 MB/s 1489s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1489s # max perf: 67.0 MB/s 1489s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1489s # max perf: 160.0 MB/s 1489s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1489s # max perf: 156.0 MB/s 1489s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1489s # End of utf8_to_ucs4_fast tests 1489s # Start of utf8_to_ucs4_fast-sized tests 1489s # max perf: 43.0 MB/s 1489s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1489s # max perf: 67.0 MB/s 1489s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1489s # max perf: 160.0 MB/s 1489s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1489s # max perf: 78.0 MB/s 1489s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1489s # End of utf8_to_ucs4_fast-sized tests 1489s # Start of utf8_validate tests 1489s # max perf: 43.0 MB/s 1489s ok 29 /utf8/perf/utf8_validate/ascii 1489s # max perf: 67.0 MB/s 1489s ok 30 /utf8/perf/utf8_validate/latin1 1489s # max perf: 160.0 MB/s 1489s ok 31 /utf8/perf/utf8_validate/cyrillic 1489s # max perf: 156.0 MB/s 1489s ok 32 /utf8/perf/utf8_validate/han 1489s # End of utf8_validate tests 1489s # Start of utf8_validate-sized tests 1489s # max perf: 43.0 MB/s 1489s ok 33 /utf8/perf/utf8_validate-sized/ascii 1489s # max perf: 67.0 MB/s 1489s ok 34 /utf8/perf/utf8_validate-sized/latin1 1489s # max perf: 160.0 MB/s 1489s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1489s # max perf: inf MB/s 1489s ok 36 /utf8/perf/utf8_validate-sized/han 1489s # End of utf8_validate-sized tests 1489s # End of perf tests 1489s # End of utf8 tests 1489s ok - glib/utf8-performance.test 1489s # Running test: glib/uri.test 1489s TAP version 13 1489s # random seed: R02S2545b1e5970e09b90456dc8623a7006f 1489s 1..24 1489s # Start of uri tests 1489s ok 1 /uri/file-to-uri 1489s ok 2 /uri/file-from-uri 1489s ok 3 /uri/file-roundtrip 1489s ok 4 /uri/list 1489s # Test 0: %2Babc %4F 1489s # Test 1: %2Babc %4F 1489s # Test 2: %00abc %4F 1489s # Test 3: /cursors/none.png 1489s # Test 4: /cursors%2fbad-subdir/none.png 1489s # Test 5: %0 1489s # Test 6: %ra 1489s # Test 7: %2r 1489s # Test 8: Timm B?der 1489s # Test 9: (null) 1489s ok 5 /uri/unescape-string 1489s ok 6 /uri/unescape-segment 1489s # Test 0: abcdefgABCDEFG._~ 1489s # Test 1: :+ \\?# 1489s # Test 2: a+b:c 1489s # Test 3: a+b:c\303\234 1489s # Test 4: \374;\322 1489s # Test 5: \303\261\303( 1489s ok 7 /uri/escape-string 1489s ok 8 /uri/escape-bytes 1489s ok 9 /uri/scheme 1489s ok 10 /uri/build 1489s ok 11 /uri/split 1489s ok 12 /uri/is_valid 1489s ok 13 /uri/to-string 1489s ok 14 /uri/join 1489s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1489s # Combination 0 1489s # Combination 1 1489s # Combination 2 1489s # Combination 3 1489s # Combination 4 1489s # Combination 5 1489s # Combination 6 1489s # Combination 7 1489s # Combination 8 1489s # Combination 9 1489s # Combination 10 1489s # Combination 11 1489s # Combination 12 1489s # Combination 13 1489s # Combination 14 1489s # Combination 15 1489s # Combination 16 1489s # Combination 17 1489s # Combination 18 1489s # Combination 19 1489s # Combination 20 1489s # Combination 21 1489s # Combination 22 1489s # Combination 23 1489s # Combination 24 1489s # Combination 25 1489s # Combination 26 1489s # Combination 27 1489s # Combination 28 1489s # Combination 29 1489s # Combination 30 1489s # Combination 31 1489s # Combination 32 1489s # Combination 33 1489s # Combination 34 1489s # Combination 35 1489s # Combination 36 1489s # Combination 37 1489s # Combination 38 1489s # Combination 39 1489s # Combination 40 1489s # Combination 41 1489s # Combination 42 1489s # Combination 43 1489s # Combination 44 1489s # Combination 45 1489s # Combination 46 1489s # Combination 47 1489s # Combination 48 1489s # Combination 49 1489s # Combination 50 1489s # Combination 51 1489s # Combination 52 1489s # Combination 53 1489s # Combination 54 1489s # Combination 55 1489s # Combination 56 1489s # Combination 57 1489s # Combination 58 1489s # Combination 59 1489s # Combination 60 1489s # Combination 61 1489s # Combination 62 1489s # Combination 63 1489s # Combination 64 1489s # Combination 65 1489s # Combination 66 1489s # Combination 67 1489s # Combination 68 1489s # Combination 69 1489s # Combination 70 1489s # Combination 71 1489s # Combination 72 1489s # Combination 73 1489s # Combination 74 1489s # Combination 75 1489s # Combination 76 1489s # Combination 77 1489s # Combination 78 1489s # Combination 79 1489s # Combination 80 1489s # Combination 81 1489s # Combination 82 1489s # Combination 83 1489s # Combination 84 1489s # Combination 85 1489s # Combination 86 1489s # Combination 87 1489s # Combination 88 1489s # Combination 89 1489s # Combination 90 1489s # Combination 91 1489s # Combination 92 1489s # Combination 93 1489s # Combination 94 1489s # Combination 95 1489s # Combination 96 1489s # Combination 97 1489s # Combination 98 1489s # Combination 99 1489s # Combination 100 1489s # Combination 101 1489s # Combination 102 1489s # Combination 103 1489s # Combination 104 1489s # Combination 105 1489s # Combination 106 1489s # Combination 107 1489s # Combination 108 1489s # Combination 109 1489s # Combination 110 1489s # Combination 111 1489s # Combination 112 1489s # Combination 113 1489s # Combination 114 1489s # Combination 115 1489s # Combination 116 1489s # Combination 117 1489s # Combination 118 1489s # Combination 119 1489s # Combination 120 1489s # Combination 121 1489s # Combination 122 1489s # Combination 123 1489s # Combination 124 1489s # Combination 125 1489s # Combination 126 1489s # Combination 127 1489s # Combination 128 1489s # Combination 129 1489s # Combination 130 1489s # Combination 131 1489s # Combination 132 1489s # Combination 133 1489s # Combination 134 1489s # Combination 135 1489s # Combination 136 1489s # Combination 137 1489s # Combination 138 1489s # Combination 139 1489s # Combination 140 1489s # Combination 141 1489s # Combination 142 1489s # Combination 143 1489s # Combination 144 1489s # Combination 145 1489s # Combination 146 1489s # Combination 147 1489s # Combination 148 1489s # Combination 149 1489s # Combination 150 1489s # Combination 151 1489s # Combination 152 1489s # Combination 153 1489s # Combination 154 1489s # Combination 155 1489s # Combination 156 1489s # Combination 157 1489s # Combination 158 1489s # Combination 159 1489s # Combination 160 1489s # Combination 161 1489s # Combination 162 1489s # Combination 163 1489s # Combination 164 1489s # Combination 165 1489s # Combination 166 1489s # Combination 167 1489s # Combination 168 1489s # Combination 169 1489s # Combination 170 1489s # Combination 171 1489s # Combination 172 1489s # Combination 173 1489s # Combination 174 1489s # Combination 175 1489s # Combination 176 1489s # Combination 177 1489s # Combination 178 1489s # Combination 179 1489s # Combination 180 1489s # Combination 181 1489s # Combination 182 1489s # Combination 183 1489s # Combination 184 1489s # Combination 185 1489s # Combination 186 1489s # Combination 187 1489s # Combination 188 1489s # Combination 189 1489s # Combination 190 1489s # Combination 191 1489s # Combination 192 1489s # Combination 193 1489s # Combination 194 1489s # Combination 195 1489s # Combination 196 1489s # Combination 197 1489s # Combination 198 1489s # Combination 199 1489s # Combination 200 1489s # Combination 201 1489s # Combination 202 1489s # Combination 203 1489s # Combination 204 1489s # Combination 205 1489s # Combination 206 1489s # Combination 207 1489s # Combination 208 1489s # Combination 209 1489s # Combination 210 1489s # Combination 211 1489s # Combination 212 1489s # Combination 213 1489s # Combination 214 1489s # Combination 215 1489s # Combination 216 1489s # Combination 217 1489s # Combination 218 1489s # Combination 219 1489s # Combination 220 1489s # Combination 221 1489s # Combination 222 1489s # Combination 223 1489s # Combination 224 1489s # Combination 225 1489s # Combination 226 1489s # Combination 227 1489s # Combination 228 1489s # Combination 229 1489s # Combination 230 1489s # Combination 231 1489s # Combination 232 1489s # Combination 233 1489s # Combination 234 1489s # Combination 235 1489s # Combination 236 1489s # Combination 237 1489s # Combination 238 1489s # Combination 239 1489s # Combination 240 1489s # Combination 241 1489s # Combination 242 1489s # Combination 243 1489s # Combination 244 1489s # Combination 245 1489s # Combination 246 1489s # Combination 247 1489s # Combination 248 1489s # Combination 249 1489s # Combination 250 1489s # Combination 251 1489s # Combination 252 1489s # Combination 253 1489s # Combination 254 1489s # Combination 255 1489s ok 15 /uri/join-split-round-trip 1489s ok 16 /uri/normalize 1489s # Start of unescape-bytes tests 1489s # Test 0: %00%00 1489s # Test 1: /cursors/none.png 1489s # Test 2: /cursors%2fbad-subdir/none.png 1489s # Test 3: %% 1489s # Test 4: % 1489s ok 17 /uri/unescape-bytes/nul-terminated 1489s # Test 0: %00%00 1489s # Test 1: /cursors/none.png 1489s # Test 2: /cursors%2fbad-subdir/none.png 1489s # Test 3: %% 1489s # Test 4: % 1489s ok 18 /uri/unescape-bytes/length 1489s # End of unescape-bytes tests 1489s # Start of parsing tests 1489s # Test 0: foo: 1489s # Test 1: file:/dev/null 1489s # Test 2: file:///dev/null 1489s # Test 3: ftp://user@host/path 1489s # Test 4: ftp://user@host:9999/path 1489s # Test 5: ftp://user:password@host/path 1489s # Test 6: ftp://user:password@host:9999/path 1489s # Test 7: ftp://user:password@host 1489s # Test 8: http://us%65r@host 1489s # Test 9: http://us%40r@host 1489s # Test 10: http://us%3ar@host 1489s # Test 11: http://us%2fr@host 1489s # Test 12: http://us%3fr@host 1489s # Test 13: http://host?query 1489s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1489s # 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 1489s # Test 16: http://space/%20 1489s # Test 17: http://delims/%3C%3E%23%25%22 1489s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1489s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1489s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1489s # Test 21: http://[3ffe:2a00:100:7031::1] 1489s # Test 22: http://[1080::8:800:200C:417A]/foo 1489s # Test 23: http://[::192.9.5.5]/ipng 1489s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1489s # Test 25: http://[2010:836B:4179::836B:4179] 1489s # Test 26: http://host/path with spaces 1489s # Test 27: http://host/path 1489s # Test 28: http://host/path 1489s # Test 29: http://host 1489s # Test 30: http://host:999 1489s # Test 31: http://host/pa 1489s # th 1489s # Test 32: http: 1489s # //host/path 1489s # Test 33: http:// host/path 1489s # Test 34: http://host/path? 1489s # Test 35: http://host/path# 1489s # Test 36: http://host/path% 1489s # Test 37: http://h%ost/path 1489s # Test 38: http://host/path%% 1489s # Test 39: http://host/path%%% 1489s # Test 40: http://host/path%/x/ 1489s # Test 41: http://host/path%0x/ 1489s # Test 42: http://host/path%ax 1489s # Test 43: http://host/p?th/ 1489s # Test 44: HTTP://////////////// 1489s # Test 45: http://@host 1489s # Test 46: http://:@host 1489s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1489s # Test 48: http://example.com/.. 1489s # Test 49: foo0://host/path 1489s # Test 50: f0.o://host/path 1489s # Test 51: http++://host/path 1489s # Test 52: http-ish://host/path 1489s # Test 53: http://[fe80::dead:beef%]/ 1489s # Test 54: http://[fe80::dead:beef%em1]/ 1489s # Test 55: http://[fe80::dead:beef%em1]/ 1489s # Test 56: http://[fe80::dead:beef%25em1]/ 1489s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1489s # Test 58: http://[fe80::dead:beef%25em%31]/ 1489s # Test 59: http://[fe80::dead:beef%10]/ 1489s # Test 60: http://[fe80::dead:beef%10]/ 1489s # Test 61: http://[fe80::dead:beef%25]/ 1489s # Test 62: http://[fe80::dead:beef%25]/ 1489s # Test 63: http://[192.168.0.1%25em1]/ 1489s # Test 64: http://[fe80::dead:beef%2em1]/ 1489s # Test 65: http://[fe80::dead:beef%2em1]/ 1489s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1489s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1489s # Test 68: http://xn--mixed-?p/ 1489s ok 19 /uri/parsing/absolute 1489s ok 20 /uri/parsing/relative 1489s # End of parsing tests 1489s # Start of iter-params tests 1489s # URI 0: p1=foo&p2=bar;p3=baz 1489s # URI 1: p1=foo&p2=bar 1489s # URI 2: p1=foo&&P1=bar 1489s # URI 3: %00=foo 1489s # URI 4: p1=%00 1489s # URI 5: p1=foo&p1=bar 1489s # URI 6: p1=foo&P1=bar 1489s # URI 7: =% 1489s # URI 8: = 1489s # URI 9: foo 1489s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1489s ok 21 /uri/iter-params/nul-terminated 1489s # URI 0: p1=foo&p2=bar;p3=baz 1489s # URI 1: p1=foo&p2=bar 1489s # URI 2: p1=foo&&P1=bar 1489s # URI 3: %00=foo 1489s # URI 4: p1=%00 1489s # URI 5: p1=foo&p1=bar 1489s # URI 6: p1=foo&P1=bar 1489s # URI 7: =% 1489s # URI 8: = 1489s # URI 9: foo 1489s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1489s ok 22 /uri/iter-params/length 1489s # End of iter-params tests 1489s # Start of parse-params tests 1489s # URI 0: p1=foo&p2=bar;p3=baz 1489s # URI 1: p1=foo&p2=bar 1489s # URI 2: p1=foo&&P1=bar 1489s # URI 3: %00=foo 1489s # URI 4: p1=%00 1489s # URI 5: p1=foo&p1=bar 1489s # URI 6: p1=foo&P1=bar 1489s # URI 7: =% 1489s # URI 8: = 1489s # URI 9: foo 1489s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1489s ok 23 /uri/parse-params/nul-terminated 1489s # URI 0: p1=foo&p2=bar;p3=baz 1489s # URI 1: p1=foo&p2=bar 1489s # URI 2: p1=foo&&P1=bar 1489s # URI 3: %00=foo 1489s # URI 4: p1=%00 1489s # URI 5: p1=foo&p1=bar 1489s # URI 6: p1=foo&P1=bar 1489s # URI 7: =% 1489s # URI 8: = 1489s # URI 9: foo 1489s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1489s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1489s ok 24 /uri/parse-params/length 1489s # End of parse-params tests 1489s # End of uri tests 1489s ok - glib/uri.test 1489s # Running test: glib/reference.test 1489s TAP version 13 1489s # random seed: R02S9668e187c1b750928741094581c909da 1489s 1..29 1489s # Start of type tests 1489s ok 1 /type/fundamentals 1489s ok 2 /type/qdata 1489s ok 3 /type/query 1489s ok 4 /type/class-private 1489s # End of type tests 1489s # Start of object tests 1489s ok 5 /object/clear 1489s ok 6 /object/clear-function 1489s ok 7 /object/set 1489s ok 8 /object/set-function 1489s ok 9 /object/value 1489s ok 10 /object/initially-unowned 1489s ok 11 /object/weak-pointer 1489s ok 12 /object/weak-ref 1489s ok 13 /object/toggle-ref 1489s ok 14 /object/qdata 1489s ok 15 /object/qdata2 1489s # Start of set tests 1489s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1489s ok 16 /object/set/derived-type 1489s # End of set tests 1489s # Start of weak-pointer tests 1489s ok 17 /object/weak-pointer/clear 1489s ok 18 /object/weak-pointer/clear-function 1489s ok 19 /object/weak-pointer/set 1489s ok 20 /object/weak-pointer/set-function 1489s # End of weak-pointer tests 1489s # Start of weak-ref tests 1489s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1489s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1489s ok 21 /object/weak-ref/on-dispose 1489s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1489s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1489s ok 22 /object/weak-ref/on-run-dispose 1489s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1489s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1489s ok 23 /object/weak-ref/on-toggle-notify 1489s ok 24 /object/weak-ref/in-toggle-notify 1489s ok 25 /object/weak-ref/many 1489s # Start of concurrent tests 1489s # Executing: glib/reference.test 1492s ok 26 /object/weak-ref/concurrent/0 1492s # slow test /object/weak-ref/concurrent/0 executed in 2.68 secs 1494s # Executing: glib/reference.test 1495s ok 27 /object/weak-ref/concurrent/1 1495s # slow test /object/weak-ref/concurrent/1 executed in 3.09 secs 1495s # End of concurrent tests 1495s # End of weak-ref tests 1495s # Start of toggle-ref tests 1495s ok 28 /object/toggle-ref/ref-on-dispose 1495s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1495s # End of toggle-ref tests 1495s # End of object tests 1495s ok - glib/reference.test 1495s # Running test: glib/portal-support-snap.test 1495s TAP version 13 1495s # random seed: R02Sf232d35e9034d61dea256bcc477ea90f 1495s 1..7 1495s # Start of portal-support tests 1495s # Start of snap tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/no-snapctl/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s ok 1 /portal-support/snap/no-snapctl 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/none/.dirs/runtime/snapctl 1495s ok 2 /portal-support/snap/none 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/all/.dirs/runtime/snapctl 1495s ok 3 /portal-support/snap/all 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1495s ok 4 /portal-support/snap/desktop-only 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/network-only/.dirs/runtime/snapctl 1495s ok 5 /portal-support/snap/network-only 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1495s ok 6 /portal-support/snap/gsettings-only 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime 1495s # Created snap.yaml in /tmp/test_portal-support-snap_QDYOK2/meta/snap.yaml 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s # Created snapctl in /tmp/test_portal-support-snap_QDYOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1495s ok 7 /portal-support/snap/updates-dynamically 1495s # End of snap tests 1495s # End of portal-support tests 1495s ok - glib/portal-support-snap.test 1495s # Running test: glib/macros-c-99.test 1495s TAP version 13 1495s # random seed: R02S9af040fb75d479dd2dd8f43d0a9d7394 1495s 1..4 1495s # Start of C tests 1495s ok 1 /C/standard-99 1495s # End of C tests 1495s # Start of alignof tests 1495s ok 2 /alignof/fallback 1495s # End of alignof tests 1495s # Start of assert tests 1495s ok 3 /assert/static 1495s # End of assert tests 1495s # Start of struct tests 1495s ok 4 /struct/sizeof_member 1495s # End of struct tests 1495s ok - glib/macros-c-99.test 1495s # Running test: glib/closure.test 1495s TAP version 13 1495s # random seed: R02S9dd2d3869dd428e4adcd5c9159751d4d 1495s 1..6 1495s # Start of closure tests 1495s ok 1 /closure/idle 1495s ok 2 /closure/timeout 1495s ok 3 /closure/iochannel 1495s ok 4 /closure/child 1495s ok 5 /closure/fd 1495s ok 6 /closure/signal 1495s # End of closure tests 1495s ok - glib/closure.test 1495s # Running test: glib/gdbus-proxy-well-known-name.test 1495s TAP version 13 1495s # random seed: R02Se29f8fc84eada5fdea571dd2b4f18db1 1495s 1..1 1495s # Start of gdbus tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_ZDMMK2/gdbus/proxy-well-known-name/.dirs/runtime 1495s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s ok 1 /gdbus/proxy-well-known-name 1495s # End of gdbus tests 1495s ok - glib/gdbus-proxy-well-known-name.test 1495s # Running test: glib/appmonitor.test 1495s TAP version 13 1495s # random seed: R02S97121c0ef92122c2c9ecdef4ce1a0748 1495s 1..1 1495s # Start of monitor tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_MH40K2/monitor/app/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_MH40K2/monitor/app/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/runtime 1495s # Using data directory: /tmp/test_appmonitor_MH40K2/monitor/app/.dirs/data 1495s ok 1 /monitor/app 1495s # End of monitor tests 1495s ok - glib/appmonitor.test 1495s # Running test: glib/cond.test 1495s TAP version 13 1495s # random seed: R02S7340ec389b1fcd88612977b603369ff2 1495s 1..4 1495s # Start of thread tests 1495s ok 1 /thread/cond1 1495s ok 2 /thread/cond2 1495s # Start of cond tests 1496s ok 3 /thread/cond/wait-until 1496s # slow test /thread/cond/wait-until executed in 1.02 secs 1496s # Start of wait-until tests 1496s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1496s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1497s ok 4 /thread/cond/wait-until/contended-and-interrupted 1497s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1497s # End of wait-until tests 1497s # End of cond tests 1497s # End of thread tests 1497s ok - glib/cond.test 1497s # Running test: glib/overflow-fallback.test 1497s TAP version 13 1497s # random seed: R02S3a0696cbfc50f9ddcec8a64cfd35f215 1497s 1..6 1497s # Start of glib tests 1497s # Start of checked-math tests 1497s ok 1 /glib/checked-math/guint-add 1497s ok 2 /glib/checked-math/guint-mul 1497s ok 3 /glib/checked-math/guint64-add 1497s ok 4 /glib/checked-math/guint64-mul 1497s ok 5 /glib/checked-math/gsize-add 1497s ok 6 /glib/checked-math/gsize-mul 1497s # End of checked-math tests 1497s # End of glib tests 1497s ok - glib/overflow-fallback.test 1497s # Running test: glib/rcbox.test 1497s TAP version 13 1497s # random seed: R02S794b4ee652693f751f525c483d1a23e3 1497s 1..8 1497s # Start of rcbox tests 1497s ok 1 /rcbox/new 1497s # global_point = 0xb43cea99a8d0 1497s ok 2 /rcbox/release-full 1497s # global_point_a = 0xb43cea99a8d0 1497s # global_point_b = 0xb43cea99a890 1497s ok 3 /rcbox/dup 1497s ok 4 /rcbox/alignment 1497s # End of rcbox tests 1497s # Start of atomic-rcbox tests 1497s ok 5 /atomic-rcbox/new 1497s # global_point = 0xb43cea99aaa0 1497s ok 6 /atomic-rcbox/release-full 1497s # global_point_a = 0xb43cea99aaa0 1497s # global_point_b = 0xb43cea99aa60 1497s ok 7 /atomic-rcbox/dup 1497s ok 8 /atomic-rcbox/alignment 1497s # End of atomic-rcbox tests 1497s ok - glib/rcbox.test 1497s # Running test: glib/gdatetime.test 1497s TAP version 13 1497s # random seed: R02Sa8527e7ad06a2601f610297e6cfab397 1497s 1..68 1497s # Start of GDateTime tests 1497s # Bug Reference: http://bugzilla.gnome.org/702674 1497s ok 1 /GDateTime/invalid 1497s ok 2 /GDateTime/add_days 1497s ok 3 /GDateTime/add_full 1497s ok 4 /GDateTime/add_hours 1497s ok 5 /GDateTime/add_minutes 1497s ok 6 /GDateTime/add_months 1497s ok 7 /GDateTime/add_seconds 1497s ok 8 /GDateTime/add_weeks 1497s ok 9 /GDateTime/add_years 1497s ok 10 /GDateTime/compare 1497s ok 11 /GDateTime/diff 1497s ok 12 /GDateTime/equal 1497s ok 13 /GDateTime/get_day_of_week 1497s ok 14 /GDateTime/get_day_of_month 1497s ok 15 /GDateTime/get_day_of_year 1497s ok 16 /GDateTime/get_hour 1497s ok 17 /GDateTime/get_microsecond 1497s ok 18 /GDateTime/get_minute 1497s ok 19 /GDateTime/get_month 1497s ok 20 /GDateTime/get_second 1497s ok 21 /GDateTime/get_utc_offset 1497s ok 22 /GDateTime/get_year 1497s ok 23 /GDateTime/hash 1497s ok 24 /GDateTime/new_from_unix 1497s ok 25 /GDateTime/new_from_unix_utc 1497s ok 26 /GDateTime/new_from_timeval 1497s ok 27 /GDateTime/new_from_timeval_utc 1497s ok 28 /GDateTime/new_from_iso8601 1497s ok 29 /GDateTime/new_full 1497s ok 30 /GDateTime/now 1497s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1497s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1497s ok 32 /GDateTime/printf 1497s ok 33 /GDateTime/non_utf8_printf 1497s ok 34 /GDateTime/format_unrepresentable 1497s ok 35 /GDateTime/format_iso8601 1498s ok 36 /GDateTime/strftime 1498s # slow test /GDateTime/strftime executed in 0.63 secs 1498s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1498s # Bug Reference: http://bugzilla.gnome.org/749206 1498s ok 38 /GDateTime/month_names 1498s ok 39 /GDateTime/to_local 1498s ok 40 /GDateTime/to_unix 1498s ok 41 /GDateTime/to_timeval 1498s ok 42 /GDateTime/to_utc 1498s ok 43 /GDateTime/now_utc 1498s ok 44 /GDateTime/dst 1498s # Bug Reference: http://bugzilla.gnome.org/642935 1498s ok 45 /GDateTime/test_z 1499s # Executing: glib/gdatetime.test 1501s ok 46 /GDateTime/test-all-dates 1501s # slow test /GDateTime/test-all-dates executed in 2.55 secs 1501s ok 47 /GDateTime/unix_usec 1501s # Start of new_from_unix tests 1501s # Bug Reference: http://bugzilla.gnome.org/782089 1501s ok 48 /GDateTime/new_from_unix/overflow 1501s # End of new_from_unix tests 1501s # Start of new_from_timeval tests 1501s # Bug Reference: http://bugzilla.gnome.org/782089 1501s # Maximum supported GTimeVal.tv_sec = 253402300799 1501s ok 49 /GDateTime/new_from_timeval/overflow 1501s # End of new_from_timeval tests 1501s # Start of new_from_iso8601 tests 1501s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1501s # Vector 0: 1990-11-01T10:21:17Z 1501s # Vector 1: 19901101T102117Z 1501s # Vector 2: 1970-01-01T00:00:17.12Z 1501s # Vector 3: 1970-01-01T00:00:17.1234Z 1501s # Vector 4: 1970-01-01T00:00:17.123456Z 1501s # Vector 5: 1980-02-22T12:36:00+02:00 1501s # Vector 6: 1990-12-31T15:59:60-08:00 1501s # Vector 7: 1501s # Vector 8: x 1501s # Vector 9: 123x 1501s # Vector 10: 2001-10+x 1501s # Vector 11: 1980-02-22T 1501s # Vector 12: 2001-10-08Tx 1501s # Vector 13: 2001-10-08T10:11x 1501s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1501s # Vector 15: 1980-02-22T10:36:00Zulu 1501s # Vector 16: 2T0+819855292164632335 1501s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1501s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1501s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1501s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1501s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1501s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1501s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1501s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1501s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1501s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1501s # Vector 27: 20180803T140805.446178377+0100 1501s # Vector 28: 21474836480803T140805.446178377+0100 1501s # Vector 29: 20181303T140805.446178377+0100 1501s # Vector 30: 20180003T140805.446178377+0100 1501s # Vector 31: 20180800T140805.446178377+0100 1501s # Vector 32: 20180832T140805.446178377+0100 1501s # Vector 33: 20180803T240805.446178377+0100 1501s # Vector 34: 20180803T146005.446178377+0100 1501s # Vector 35: 20180803T140863.446178377+0100 1501s # Vector 36: 20180803T140805.446178377+10000 1501s # Vector 37: -0005-01-01T00:00:00Z 1501s # Vector 38: 2018-08-06 1501s # Vector 39: 20180803T140805,446178377+0100 1501s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1501s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1501s # Vector 42: 1990-11-01T10:21:17 1501s # Vector 43: 1719W462 407777-07 1501s # Vector 44: 4011090 260528Z 1501s # Vector 45: 0000W011 228214-22 1501s ok 50 /GDateTime/new_from_iso8601/2 1501s # End of new_from_iso8601 tests 1501s # Start of format_mixed tests 1501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1501s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1501s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1501s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1501s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1501s # End of format_mixed tests 1501s # Start of strftime tests 1501s ok 55 /GDateTime/strftime/error_handling 1501s # End of strftime tests 1501s # Start of eras tests 1501s ok 56 /GDateTime/eras/japan 1501s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1501s # Vector 0: 1501s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1501s # 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年 1501s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1501s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1501s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1501s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1501s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1501s # Vector 8: + 1501s # Vector 9: +: 1501s # Vector 10: +:: 1501s # Vector 11: +:200 1501s # Vector 12: +:2nonsense 1501s # Vector 13: +:2nonsense: 1501s # Vector 14: +:2: 1501s # Vector 15: +:2:: 1501s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1501s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1501s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1501s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1501s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1501s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1501s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1501s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1501s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1501s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1501s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1501s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1501s # Vector 28: +:2:2020/01/01 1501s # Vector 29: +:2:2020/01/01: 1501s # Vector 30: +:2:2020/01/01:: 1501s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1501s # Vector 32: +:2:2020/01/01:+* 1501s # Vector 33: +:2:2020/01/01:+*: 1501s # Vector 34: +:2:2020/01/01:+*:: 1501s # Vector 35: +:2:2020/01/01:+*:令和 1501s # Vector 36: +:2:2020/01/01:+*:令和: 1501s # Vector 37: +:2:2020/01/01:+*:令和:; 1501s ok 58 /GDateTime/eras/parsing 1501s # End of eras tests 1501s # End of GDateTime tests 1501s # Start of GTimeZone tests 1501s ok 59 /GTimeZone/find-interval 1501s ok 60 /GTimeZone/adjust-time 1501s ok 61 /GTimeZone/no-header 1501s ok 62 /GTimeZone/no-header-identifier 1501s ok 63 /GTimeZone/posix-parse 1501s # Bug Reference: http://bugzilla.gnome.org/697715 1501s ok 64 /GTimeZone/floating-point 1501s # System time zone identifier: Etc/UTC 1501s ok 65 /GTimeZone/identifier 1501s # Vector 0: -158400 1501s # Vector 1: -10000 1501s # Vector 2: -3600 1501s # Vector 3: -61 1501s # Vector 4: -60 1501s # Vector 5: -59 1501s # Vector 6: 0 1501s # Vector 7: 59 1501s # Vector 8: 60 1501s # Vector 9: 61 1501s # Vector 10: 3600 1501s # Vector 11: 10000 1501s # Vector 12: 158400 1501s ok 66 /GTimeZone/new-offset 1501s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1501s ok 67 /GTimeZone/parse-rfc8536 1501s # /GTimeZone/caching summary: GTimeZone instances are cached 1501s ok 68 /GTimeZone/caching 1501s # End of GTimeZone tests 1501s ok - glib/gdatetime.test 1501s # Running test: glib/gdbus-threading.test 1501s TAP version 13 1501s # random seed: R02S4ac0e3a9a1049843e6f18d68ccbf72e2 1501s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1501s ok - glib/gdbus-threading.test 1501s # Running test: glib/basic-signals.test 1501s TAP version 13 1501s # random seed: R02Sd0fa77963fe3cc10d6afb0fbb815e9a5 1501s 1..1 1501s # Start of gobject tests 1501s ok 1 /gobject/basic-signals 1501s # End of gobject tests 1501s ok - glib/basic-signals.test 1501s # Running test: glib/protocol.test 1501s TAP version 13 1501s # random seed: R02Sd94619f248c4d02a9eb1dbe1eb949b3f 1501s 1..9 1501s # Start of glib tests 1501s # Start of testing tests 1501s # Start of protocol tests 1501s ok 1 /glib/testing/protocol/debug 1501s ok 2 /glib/testing/protocol/info 1501s ok 3 /glib/testing/protocol/message 1501s ok 4 /glib/testing/protocol/warning 1501s ok 5 /glib/testing/protocol/critical 1501s ok 6 /glib/testing/protocol/error 1501s ok 7 /glib/testing/protocol/gtest-message 1501s ok 8 /glib/testing/protocol/test-message 1501s ok 9 /glib/testing/protocol/test-error 1501s # End of protocol tests 1501s # End of testing tests 1501s # End of glib tests 1501s ok - glib/protocol.test 1501s # Running test: glib/gdbus-server-auth.test 1501s TAP version 13 1501s # random seed: R02S7f383366cb4135587f061aa27cbd24d5 1501s 1..9 1501s # Start of gdbus tests 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/.dirs/runtime 1501s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-3UKRK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1501s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-3UKRK2/dbus-BDLY29EG 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9182 1501s ok 1 /gdbus/server-auth 1501s # Start of server-auth tests 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/abstract/.dirs/runtime 1501s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-4W0KK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1501s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-4W0KK2/dbus-KNyj2gfH 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1501s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1501s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9182 1501s ok 2 /gdbus/server-auth/abstract 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/tcp/.dirs/runtime 1501s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1501s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/.dirs/runtime 1501s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-GRIIK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1501s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-GRIIK2/dbus-UMRVm540 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9182 1501s ok 4 /gdbus/server-auth/anonymous 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/.dirs/runtime 1501s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-QQ5LK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1501s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-QQ5LK2/dbus-phHN52Eq 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9182 1501s ok 5 /gdbus/server-auth/external 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/.dirs/runtime 1501s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-PMT0K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1501s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1501s # Start of anonymous tests 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1501s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1501s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1501s # End of anonymous tests 1501s # Start of external tests 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1501s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-1IZ0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1501s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5TRSK2/gdbus-server-auth-1IZ0K2/dbus-QhRVE2wR 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 9182 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1501s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=9182,uid=1000,gid=1000 1501s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 9182 1501s ok 8 /gdbus/server-auth/external/require-same-user 1501s # End of external tests 1501s # Start of sha1 tests 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5TRSK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1501s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1501s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1501s # End of sha1 tests 1501s # End of server-auth tests 1501s # End of gdbus tests 1501s ok - glib/gdbus-server-auth.test 1501s # Running test: glib/dynamictests.test 1501s TAP version 13 1501s # random seed: R02Sc92b261d6e933157e324440131e2d946 1501s 1..2 1501s # Start of GObject tests 1501s ok 1 /GObject/threaded-dynamic-ref-unref-init 1501s ok 2 /GObject/dynamic-interface-properties 1501s # End of GObject tests 1501s ok - glib/dynamictests.test 1501s # Running test: glib/static-link.test 1501s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1501s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1501s and make sure you have glib build dependencies installed, including 1501s meson. 1502s ok # SKIP - glib/static-link.test 1502s # Running test: glib/test-printf.test 1502s TAP version 13 1502s # random seed: R02Sf2f77bb551793a621ec2f30fde11eb3e 1502s 1..22 1502s # Start of snprintf tests 1502s ok 1 /snprintf/retval-and-trunc 1502s ok 2 /snprintf/%d 1502s ok 3 /snprintf/%d-invalid 1502s ok 4 /snprintf/%o 1502s ok 5 /snprintf/%u 1502s ok 6 /snprintf/%x 1502s ok 7 /snprintf/%X 1502s ok 8 /snprintf/%f 1502s ok 9 /snprintf/%e 1502s ok 10 /snprintf/%c 1502s ok 11 /snprintf/%s 1502s ok 12 /snprintf/%n 1502s ok 13 /snprintf/test-percent 1502s ok 14 /snprintf/test-positional-params 1502s ok 15 /snprintf/test-64bit 1502s # End of snprintf tests 1502s # Start of printf tests 1502s ok 16 /printf/test-percent 1502s ok 17 /printf/test-positional-params 1502s ok 18 /printf/test-64bit 1502s # Start of test-64bit tests 1502s # Start of subprocess tests 1502s # End of subprocess tests 1502s # End of test-64bit tests 1502s # End of printf tests 1502s # Start of sprintf tests 1502s ok 19 /sprintf/test-positional-params 1502s ok 20 /sprintf/upper-bound 1502s # End of sprintf tests 1502s # Start of vasprintf tests 1502s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1502s ok 21 /vasprintf/invalid-format-placeholder 1502s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1502s ok 22 /vasprintf/invalid-wide-string 1502s # End of vasprintf tests 1502s ok - glib/test-printf.test 1502s # Running test: glib/thread-pool-slow.test 1502s TAP version 13 1502s # random seed: R02Scb16a06badc3e04c09c4d264f6cdf311 1502s 1..7 1502s # Start of threadpool tests 1502s ok 1 /threadpool/functions 1502s ok 2 /threadpool/stop-unused 1502s # slow test /threadpool/stop-unused executed in 0.54 secs 1502s ok 3 /threadpool/pools 1502s # [unsorted] ===> pushed new thread with id:49, number of threads:1, unprocessed:1 1502s # [unsorted] ===> pushed new thread with id:88, number of threads:2, unprocessed:2 1502s # [unsorted] ===> pushed new thread with id:22, number of threads:3, unprocessed:3 1502s # [unsorted] ===> pushed new thread with id:3, number of threads:4, unprocessed:4 1502s # [unsorted] ===> pushed new thread with id:77, number of threads:5, unprocessed:5 1502s # [unsorted] ===> pushed new thread with id:58, number of threads:6, unprocessed:6 1502s # [unsorted] ===> pushed new thread with id:65, number of threads:7, unprocessed:7 1502s # [unsorted] ===> pushed new thread with id:50, number of threads:8, unprocessed:8 1502s # [unsorted] ===> pushed new thread with id:70, number of threads:9, unprocessed:9 1502s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:0 1502s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:1 1502s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:2 1502s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:3 1502s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:4 1502s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:5 1502s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:6 1502s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:7 1502s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:8 1502s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:9 1502s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:10 1502s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:11 1502s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:12 1502s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:13 1502s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:14 1502s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:15 1502s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:16 1502s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:17 1502s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:18 1502s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:19 1502s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:20 1502s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:21 1502s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:22 1502s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:23 1502s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:24 1502s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:25 1502s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:26 1502s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:27 1502s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:28 1502s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:29 1502s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:30 1502s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:31 1502s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:32 1502s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:33 1502s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:34 1502s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:35 1502s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:36 1502s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:37 1502s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:38 1502s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:39 1502s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:40 1502s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:41 1502s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:42 1502s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:43 1502s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:44 1502s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:45 1502s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:46 1502s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:47 1502s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:48 1502s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:49 1502s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:50 1502s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:51 1502s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:52 1502s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:53 1502s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:54 1502s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:55 1502s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:56 1502s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:57 1502s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:58 1502s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:59 1502s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:60 1502s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:61 1502s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:62 1502s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:63 1502s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:64 1502s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:65 1502s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:66 1502s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:67 1502s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:68 1502s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:69 1502s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:70 1502s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:71 1502s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:72 1502s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:73 1502s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:74 1502s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:75 1502s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:76 1502s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:77 1502s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:78 1502s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:79 1502s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:80 1502s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:81 1502s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:82 1502s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:83 1502s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:84 1502s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:85 1502s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:86 1502s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:87 1502s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:88 1502s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:89 1502s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:90 1502s ok 4 /threadpool/no-sort 1502s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:1 1502s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:2 1502s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:3 1502s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:4 1502s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:5 1502s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:6 1502s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:7 1502s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:8 1502s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:9 1502s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:10 1502s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:11 1502s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:12 1502s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:13 1502s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:14 1502s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:15 1502s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:16 1502s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:17 1502s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:18 1502s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:19 1502s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:20 1502s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:21 1502s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:22 1502s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:23 1502s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:24 1502s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:25 1502s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:26 1502s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:27 1502s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:28 1502s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:29 1502s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:30 1502s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:31 1502s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:32 1502s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:33 1502s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:34 1502s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:35 1502s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:36 1502s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:37 1502s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:38 1502s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:39 1502s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:40 1502s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:41 1502s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:42 1502s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:43 1502s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:44 1502s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:45 1502s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:46 1502s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:47 1502s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:48 1502s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:49 1502s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:50 1502s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:51 1502s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:52 1502s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:53 1502s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:54 1502s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:55 1502s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:56 1502s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:57 1502s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:58 1502s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:59 1502s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:60 1502s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:61 1502s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:62 1502s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:63 1502s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:64 1502s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:65 1502s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:66 1502s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:67 1502s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:68 1502s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:69 1502s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:70 1502s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:71 1502s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:72 1502s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:73 1502s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:74 1502s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:75 1502s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:76 1502s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:77 1502s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:78 1502s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:79 1502s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:80 1502s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:81 1502s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:82 1502s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:83 1502s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:84 1502s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:85 1502s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:86 1502s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:87 1502s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:88 1502s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:89 1502s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:90 1502s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:91 1502s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:92 1502s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:93 1502s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:94 1502s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:95 1502s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:96 1502s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:97 1502s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:98 1502s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:99 1502s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:100 1502s # Starting thread pool processing 1502s ok 5 /threadpool/sort 1503s ok 6 /threadpool/stop-unused-multiple 1503s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 1503s # Pool idle thread count: 0, unprocessed jobs: 40 1503s # Pool idle thread count: 0, unprocessed jobs: 0 1503s # Pool idle thread count: 0, unprocessed jobs: 0 1504s # Pool idle thread count: 10, unprocessed jobs: 0 1504s # Pool idle thread count: 10, unprocessed jobs: 0 1504s # Executing: glib/thread-pool-slow.test 1504s # Pool idle thread count: 10, unprocessed jobs: 0 1504s # Pool idle thread count: 10, unprocessed jobs: 0 1505s # Pool idle thread count: 10, unprocessed jobs: 0 1505s # Pool idle thread count: 10, unprocessed jobs: 0 1505s # Pool idle thread count: 10, unprocessed jobs: 0 1505s # Pool idle thread count: 10, unprocessed jobs: 0 1506s # Pool idle thread count: 10, unprocessed jobs: 0 1506s # Pool idle thread count: 10, unprocessed jobs: 0 1506s # Pool idle thread count: 10, unprocessed jobs: 0 1506s # Pool idle thread count: 10, unprocessed jobs: 0 1507s # Pool idle thread count: 10, unprocessed jobs: 0 1507s # Pool idle thread count: 10, unprocessed jobs: 0 1507s # Pool idle thread count: 10, unprocessed jobs: 0 1507s # Pool idle thread count: 10, unprocessed jobs: 0 1508s # Pool idle thread count: 10, unprocessed jobs: 0 1508s # Pool idle thread count: 10, unprocessed jobs: 0 1508s # Pool idle thread count: 10, unprocessed jobs: 0 1508s # Pool idle thread count: 10, unprocessed jobs: 0 1509s # Pool idle thread count: 10, unprocessed jobs: 0 1509s # Pool idle thread count: 10, unprocessed jobs: 0 1509s # Executing: glib/thread-pool-slow.test 1509s # Pool idle thread count: 10, unprocessed jobs: 0 1509s # Pool idle thread count: 10, unprocessed jobs: 0 1510s # Pool idle thread count: 10, unprocessed jobs: 0 1510s # Pool idle thread count: 10, unprocessed jobs: 0 1510s # Pool idle thread count: 10, unprocessed jobs: 0 1510s # Pool idle thread count: 10, unprocessed jobs: 0 1511s # Pool idle thread count: 10, unprocessed jobs: 0 1511s # Pool idle thread count: 10, unprocessed jobs: 0 1511s # Pool idle thread count: 10, unprocessed jobs: 0 1511s # Pool idle thread count: 10, unprocessed jobs: 0 1512s # Pool idle thread count: 10, unprocessed jobs: 2 1512s # Pool idle thread count: 10, unprocessed jobs: 2 1512s # Pool idle thread count: 8, unprocessed jobs: 0 1512s # Pool idle thread count: 8, unprocessed jobs: 0 1512s # Pool idle thread count: 10, unprocessed jobs: 0 1512s # Pool idle thread count: 10, unprocessed jobs: 0 1513s # Pool idle thread count: 10, unprocessed jobs: 0 1513s # Pool idle thread count: 10, unprocessed jobs: 0 1513s # Pool idle thread count: 8, unprocessed jobs: 0 1513s # Pool idle thread count: 8, unprocessed jobs: 0 1514s # Pool idle thread count: 2, unprocessed jobs: 0 1514s # Pool idle thread count: 2, unprocessed jobs: 0 1514s # Executing: glib/thread-pool-slow.test 1514s # Pool idle thread count: 2, unprocessed jobs: 0 1514s # Pool idle thread count: 2, unprocessed jobs: 0 1515s # Pool idle thread count: 2, unprocessed jobs: 0 1515s # Pool idle thread count: 2, unprocessed jobs: 0 1515s # Pool idle thread count: 2, unprocessed jobs: 0 1515s # Pool idle thread count: 2, unprocessed jobs: 0 1516s # Pool idle thread count: 2, unprocessed jobs: 0 1516s # Pool idle thread count: 2, unprocessed jobs: 0 1516s # Pool idle thread count: 2, unprocessed jobs: 0 1516s # Pool idle thread count: 2, unprocessed jobs: 0 1517s # Pool idle thread count: 2, unprocessed jobs: 0 1517s # Pool idle thread count: 2, unprocessed jobs: 0 1517s # Pool idle thread count: 2, unprocessed jobs: 0 1517s # Pool idle thread count: 2, unprocessed jobs: 0 1518s # Pool idle thread count: 2, unprocessed jobs: 0 1518s # Pool idle thread count: 2, unprocessed jobs: 0 1518s # Pool idle thread count: 2, unprocessed jobs: 0 1518s # Pool idle thread count: 2, unprocessed jobs: 0 1519s # Pool idle thread count: 2, unprocessed jobs: 0 1519s # Pool idle thread count: 2, unprocessed jobs: 0 1519s # Executing: glib/thread-pool-slow.test 1519s # Pool idle thread count: 2, unprocessed jobs: 0 1519s # Pool idle thread count: 2, unprocessed jobs: 0 1520s # Pool idle thread count: 2, unprocessed jobs: 0 1520s # Pool idle thread count: 2, unprocessed jobs: 0 1520s # Pool idle thread count: 2, unprocessed jobs: 0 1520s # Pool idle thread count: 2, unprocessed jobs: 0 1521s # Pool idle thread count: 2, unprocessed jobs: 0 1521s # Pool idle thread count: 2, unprocessed jobs: 0 1521s # Pool idle thread count: 2, unprocessed jobs: 0 1521s # Pool idle thread count: 2, unprocessed jobs: 0 1522s # Pool idle thread count: 2, unprocessed jobs: 0 1522s # Pool idle thread count: 2, unprocessed jobs: 0 1522s ok 7 /threadpool/idle-time 1522s # slow test /threadpool/idle-time executed in 19.55 secs 1522s # End of threadpool tests 1522s ok - glib/thread-pool-slow.test 1522s # Running test: glib/cxx-98.test 1522s TAP version 13 1522s # random seed: R02S2cb722e268f8ee76762be93de4eba551 1522s 1..2 1522s # Start of gtask tests 1522s # 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. 1522s ok 1 /gtask/name 1522s # Start of name tests 1522s # 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. 1522s ok 2 /gtask/name/macro-wrapper 1522s # End of name tests 1522s # End of gtask tests 1522s ok - glib/cxx-98.test 1522s # Running test: glib/param.test 1522s TAP version 13 1522s # random seed: R02Scd7e8da9770c8252663caf849e50a0ef 1523s 1..32 1523s # Start of param tests 1523s ok 1 /param/value 1523s ok 2 /param/strings 1523s ok 3 /param/qdata 1523s ok 4 /param/validate 1523s ok 5 /param/convert 1523s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1523s ok 7 /param/default 1523s ok 8 /param/is-valid-name 1523s # Start of invalid-name tests 1523s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1524s ok 9 /param/invalid-name/colon 1524s # slow test /param/invalid-name/colon executed in 0.65 secs 1524s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1524s # Executing: glib/param.test 1524s ok 10 /param/invalid-name/first-char 1524s # slow test /param/invalid-name/first-char executed in 0.58 secs 1524s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1525s ok 11 /param/invalid-name/empty 1525s # slow test /param/invalid-name/empty executed in 0.59 secs 1525s # End of invalid-name tests 1525s # Start of implement tests 1525s # Start of subprocess tests 1525s # End of subprocess tests 1525s # End of implement tests 1525s # End of param tests 1525s # Start of value tests 1525s ok 12 /value/transform 1525s # End of value tests 1525s # Start of paramspec tests 1525s ok 13 /paramspec/char 1525s ok 14 /paramspec/uchar 1525s ok 15 /paramspec/int 1525s ok 16 /paramspec/uint 1525s ok 17 /paramspec/long 1525s ok 18 /paramspec/ulong 1525s ok 19 /paramspec/int64 1525s ok 20 /paramspec/uint64 1525s ok 21 /paramspec/float 1525s ok 22 /paramspec/double 1525s ok 23 /paramspec/unichar 1525s ok 24 /paramspec/param 1525s ok 25 /paramspec/null-param 1525s ok 26 /paramspec/string 1525s ok 27 /paramspec/override 1525s ok 28 /paramspec/gtype 1525s ok 29 /paramspec/variant 1525s ok 30 /paramspec/custom 1525s ok 31 /paramspec/pool 1525s # Start of variant tests 1525s ok 32 /paramspec/variant/cmp 1525s # End of variant tests 1525s # End of paramspec tests 1525s ok - glib/param.test 1525s # Running test: glib/list.test 1525s TAP version 13 1525s # random seed: R02Sdf9800605524184d3e27e3e3c59b4f7c 1525s 1..20 1525s # Start of list tests 1525s ok 1 /list/sort 1525s ok 2 /list/sort-with-data 1525s ok 3 /list/insert-before-link 1525s ok 4 /list/insert-sorted 1525s ok 5 /list/insert-sorted-with-data 1525s ok 6 /list/reverse 1525s ok 7 /list/nth 1525s ok 8 /list/concat 1525s ok 9 /list/remove 1525s ok 10 /list/remove-all 1525s ok 11 /list/first-last 1525s ok 12 /list/insert 1525s ok 13 /list/free-full 1525s ok 14 /list/copy 1525s ok 15 /list/copy-deep 1525s ok 16 /list/delete-link 1525s ok 17 /list/prepend 1525s ok 18 /list/position 1525s ok 19 /list/double-free 1525s # Start of sort tests 1525s ok 20 /list/sort/stable 1525s # End of sort tests 1525s # End of list tests 1525s ok - glib/list.test 1525s # Running test: glib/io-channel-basic.test 1525s TAP version 13 1525s # random seed: R02S32990170c8b2afdcc5ca361763f2ae27 1525s 1..1 1525s # Start of gio tests 1525s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1525s # # random seed: R02Scef8e4b6e4795670a8d3a8d8407f9ccc 1525s # # GLib-DEBUG: io-channel-basic: child writing 8+2978 bytes to 6 1525s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1525s # GLib-DEBUG: io-channel-basic: ...from 5: 2978 bytes 1525s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1525s # # GLib-DEBUG: io-channel-basic: child writing 8+3046 bytes to 6 1525s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1525s # GLib-DEBUG: io-channel-basic: ...from 5: 3046 bytes 1525s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1526s # # GLib-DEBUG: io-channel-basic: child writing 8+1512 bytes to 6 1526s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1526s # GLib-DEBUG: io-channel-basic: ...from 5: 1512 bytes 1526s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1526s # # GLib-DEBUG: io-channel-basic: child writing 8+3336 bytes to 6 1526s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1526s # GLib-DEBUG: io-channel-basic: ...from 5: 3336 bytes 1526s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1526s # # GLib-DEBUG: io-channel-basic: child writing 8+1224 bytes to 6 1526s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1526s # GLib-DEBUG: io-channel-basic: ...from 5: 1224 bytes 1526s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1526s # # GLib-DEBUG: io-channel-basic: child writing 8+3573 bytes to 6 1526s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1526s # GLib-DEBUG: io-channel-basic: ...from 5: 3573 bytes 1526s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1527s # # GLib-DEBUG: io-channel-basic: child writing 8+2966 bytes to 6 1527s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1527s # GLib-DEBUG: io-channel-basic: ...from 5: 2966 bytes 1527s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1527s # # GLib-DEBUG: io-channel-basic: child writing 8+662 bytes to 6 1527s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1527s # GLib-DEBUG: io-channel-basic: ...from 5: 662 bytes 1527s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1527s # # GLib-DEBUG: io-channel-basic: child writing 8+1279 bytes to 6 1527s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1527s # GLib-DEBUG: io-channel-basic: ...from 5: 1279 bytes 1527s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1528s # # GLib-DEBUG: io-channel-basic: child writing 8+2514 bytes to 6 1528s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1528s # GLib-DEBUG: io-channel-basic: ...from 5: 2514 bytes 1528s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1528s # # GLib-DEBUG: io-channel-basic: child writing 8+2898 bytes to 6 1528s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1528s # GLib-DEBUG: io-channel-basic: ...from 5: 2898 bytes 1528s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1528s # # GLib-DEBUG: io-channel-basic: child writing 8+1198 bytes to 6 1528s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1528s # GLib-DEBUG: io-channel-basic: ...from 5: 1198 bytes 1528s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1528s # # GLib-DEBUG: io-channel-basic: child writing 8+3942 bytes to 6 1528s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1528s # GLib-DEBUG: io-channel-basic: ...from 5: 3942 bytes 1528s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # # GLib-DEBUG: io-channel-basic: child writing 8+1254 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 1254 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # # GLib-DEBUG: io-channel-basic: child writing 8+1335 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 1335 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # Executing: glib/io-channel-basic.test 1529s # # GLib-DEBUG: io-channel-basic: child writing 8+404 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 404 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # # GLib-DEBUG: io-channel-basic: child writing 8+74 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 74 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # # GLib-DEBUG: io-channel-basic: child writing 8+1858 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 1858 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # # GLib-DEBUG: io-channel-basic: child writing 8+1044 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 1044 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # # GLib-DEBUG: io-channel-basic: child writing 8+4760 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 4760 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # # GLib-DEBUG: io-channel-basic: child writing 8+3115 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 3115 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+4194 bytes to 6 1531s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1531s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1531s # GLib-DEBUG: io-channel-basic: ...from 5: 4194 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1531s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1531s # # random seed: R02S5f73eff8034d77bb9b7e8976867aada5 1531s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1531s # # random seed: R02Sa4d5441122d8f2d6e7660f335b727e1d 1531s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1531s # # random seed: R02S0befd58539323f12455956090ec269af 1531s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1531s # # random seed: R02Scbd3e9f396d1d7e9911bec5616853705 1531s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1531s # # random seed: R02Sae08249c293ffeb227d44fd21417d66a 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+4612 bytes to 9 1531s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 8: 4612 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+4493 bytes to 11 1531s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 10: 4493 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+3339 bytes to 13 1531s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 12: 3339 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+4699 bytes to 17 1531s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 16: 4699 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+1872 bytes to 15 1531s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 14: 1872 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+4391 bytes to 9 1531s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 8: 4391 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+2727 bytes to 13 1531s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 12: 2727 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+4478 bytes to 11 1531s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 10: 4478 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+269 bytes to 15 1531s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 14: 269 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1531s # # GLib-DEBUG: io-channel-basic: child writing 8+2300 bytes to 17 1531s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 16: 2300 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+3296 bytes to 9 1532s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 8: 3296 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+4792 bytes to 11 1532s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 10: 4792 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+407 bytes to 13 1532s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 12: 407 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+812 bytes to 17 1532s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 16: 812 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+603 bytes to 15 1532s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 14: 603 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+1710 bytes to 11 1532s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 10: 1710 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+1858 bytes to 9 1532s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 8: 1858 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+2336 bytes to 13 1532s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 12: 2336 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+3895 bytes to 17 1532s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 16: 3895 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+4968 bytes to 15 1532s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 14: 4968 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+686 bytes to 11 1532s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 10: 686 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+4487 bytes to 9 1532s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 8: 4487 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+1397 bytes to 13 1532s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 12: 1397 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+3582 bytes to 17 1532s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 16: 3582 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+3472 bytes to 15 1532s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 14: 3472 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+2159 bytes to 11 1532s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 10: 2159 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+1683 bytes to 9 1532s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 8: 1683 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+1002 bytes to 17 1532s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 16: 1002 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+2711 bytes to 13 1532s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 12: 2711 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1532s # # GLib-DEBUG: io-channel-basic: child writing 8+4622 bytes to 15 1532s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 14: 4622 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+3490 bytes to 11 1533s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 10: 3490 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4967 bytes to 9 1533s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 8: 4967 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+78 bytes to 13 1533s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 12: 78 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+176 bytes to 15 1533s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 14: 176 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4693 bytes to 17 1533s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 16: 4693 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4126 bytes to 11 1533s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 10: 4126 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+1915 bytes to 15 1533s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 14: 1915 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+3410 bytes to 9 1533s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 8: 3410 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+3973 bytes to 13 1533s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 12: 3973 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+2890 bytes to 17 1533s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 16: 2890 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4244 bytes to 11 1533s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 10: 4244 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4797 bytes to 9 1533s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 8: 4797 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4858 bytes to 15 1533s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 14: 4858 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+3602 bytes to 13 1533s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 12: 3602 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+3186 bytes to 17 1533s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 16: 3186 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+4396 bytes to 11 1533s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 10: 4396 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+2587 bytes to 9 1533s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 8: 2587 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+3831 bytes to 15 1533s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 14: 3831 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+993 bytes to 13 1533s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 12: 993 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1533s # # GLib-DEBUG: io-channel-basic: child writing 8+2783 bytes to 17 1533s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 16: 2783 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+1333 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 1333 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+161 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 161 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+2289 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 2289 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+2997 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 2997 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+2868 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 2868 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+2172 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 2172 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+1252 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 1252 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+3427 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 3427 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+3504 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 3504 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+3387 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 3387 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # Executing: glib/io-channel-basic.test 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+222 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 222 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+2425 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 2425 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+3802 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 3802 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+898 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 898 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+3959 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 3959 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+727 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 727 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+2188 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 2188 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+3209 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 3209 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+876 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 876 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # # GLib-DEBUG: io-channel-basic: child writing 8+877 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 877 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+1911 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 1911 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+1760 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 1760 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+1458 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 1458 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+4443 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 4443 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+4112 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 4112 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+2884 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 2884 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+917 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 917 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+2258 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 2258 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+598 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 598 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+2275 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 2275 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+2616 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 2616 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+1260 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 1260 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+494 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 494 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+1301 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 1301 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+1245 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 1245 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+594 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 594 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+673 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 673 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+4100 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 4100 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+691 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 691 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # # GLib-DEBUG: io-channel-basic: child writing 8+4471 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 4471 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+1801 bytes to 15 1536s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 14: 1801 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+653 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 653 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+3345 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 3345 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2299 bytes to 13 1536s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 12: 2299 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2142 bytes to 17 1536s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 16: 2142 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+666 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 666 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+4624 bytes to 15 1536s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1536s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1536s # GLib-DEBUG: io-channel-basic: ...from 14: 4624 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2871 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 2871 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+1004 bytes to 13 1536s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 12: 1004 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2611 bytes to 17 1536s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 16: 2611 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+793 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 793 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+1834 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 1834 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2751 bytes to 13 1536s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 12: 2751 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2363 bytes to 17 1536s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 16: 2363 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+2056 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 2056 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # # GLib-DEBUG: io-channel-basic: child writing 8+4557 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 4557 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1537s # # GLib-DEBUG: io-channel-basic: child writing 8+3264 bytes to 13 1537s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1537s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1537s # GLib-DEBUG: io-channel-basic: ...from 12: 3264 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1537s # # GLib-DEBUG: io-channel-basic: child writing 8+2281 bytes to 17 1537s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1537s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1537s # GLib-DEBUG: io-channel-basic: ...from 16: 2281 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1537s # # GLib-DEBUG: io-channel-basic: child writing 8+10 bytes to 9 1537s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1537s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1537s # GLib-DEBUG: io-channel-basic: ...from 8: 10 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1537s # # GLib-DEBUG: io-channel-basic: child writing 8+38 bytes to 11 1537s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 10: 38 bytes 1537s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1537s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1537s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 1537s ok 1 /gio/io-basics 1537s # slow test /gio/io-basics executed in 11.85 secs 1537s # End of gio tests 1537s ok - glib/io-channel-basic.test 1537s # Running test: glib/utils-c-17.test 1537s TAP version 13 1537s # random seed: R02Sa106b5da1d8798f6d4faa7d90ccdfc7a 1537s 1..40 1537s # Start of utils tests 1537s ok 1 /utils/language-names 1537s ok 2 /utils/locale-variants 1537s ok 3 /utils/version 1537s ok 4 /utils/appname 1537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1537s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1537s ok 5 /utils/prgname-thread-safety 1537s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1537s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1537s ok 6 /utils/tmpdir 1537s ok 7 /utils/basic_bits 1537s ok 8 /utils/bits 1537s ok 9 /utils/swap 1537s ok 10 /utils/find-program 1537s ok 11 /utils/find-program-for-path 1537s ok 12 /utils/debug 1537s ok 13 /utils/codeset 1537s ok 14 /utils/codeset2 1537s ok 15 /utils/console-charset 1537s ok 16 /utils/gettext 1537s ok 17 /utils/username 1537s ok 18 /utils/realname 1537s ok 19 /utils/hostname 1537s ok 20 /utils/xdgdirs 1537s ok 21 /utils/specialdir 1537s # NAME: Ubuntu 1537s ok 22 /utils/os-info 1537s ok 23 /utils/clear-pointer 1537s ok 24 /utils/clear-pointer-cast 1537s ok 25 /utils/take-pointer 1537s ok 26 /utils/clear-source 1537s ok 27 /utils/misc-mem 1537s # /utils/aligned-mem summary: Aligned memory allocator 1537s # Alignment must not be zero 1537s # Alignment must be a power of two 1537s # Alignment must be a multiple of sizeof(void*) 1537s ok 28 /utils/aligned-mem 1537s # /utils/free-sized summary: Check that g_free_sized() works 1537s ok 29 /utils/free-sized 1537s ok 30 /utils/nullify 1537s ok 31 /utils/atexit 1537s ok 32 /utils/check-setuid 1537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1537s ok 33 /utils/int-limits 1537s ok 34 /utils/clear-list 1537s ok 35 /utils/clear-slist 1537s # Start of specialdir tests 1537s ok 36 /utils/specialdir/desktop 1537s # End of specialdir tests 1537s # Start of clear-pointer tests 1537s ok 37 /utils/clear-pointer/side-effects 1537s # End of clear-pointer tests 1537s # Start of aligned-mem tests 1537s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1537s ok 38 /utils/aligned-mem/alignment 1537s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1537s ok 39 /utils/aligned-mem/zeroed 1537s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1537s ok 40 /utils/aligned-mem/free-sized 1537s # Start of subprocess tests 1537s # End of subprocess tests 1537s # End of aligned-mem tests 1537s # End of utils tests 1537s ok - glib/utils-c-17.test 1537s # Running test: glib/portal-support-env-var.test 1537s TAP version 13 1537s # random seed: R02Sf0fe135d5cf475bf4bcac0c4b3828766 1537s 1..1 1537s # Start of portal-support tests 1537s ok 1 /portal-support/env-var 1537s # End of portal-support tests 1537s ok - glib/portal-support-env-var.test 1537s # Running test: glib/gdbus-names.test 1537s TAP version 13 1537s # random seed: R02S094dc185e5cbfd2a0f547d37a3d88609 1537s 1..10 1537s # Start of gdbus tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/validate-names/.dirs/runtime 1537s ok 1 /gdbus/validate-names 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-own-name/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 2 /gdbus/bus-own-name 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 3 /gdbus/bus-watch-name 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 4 /gdbus/bus-watch-name-auto-start 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s dbus-daemon[9503]: [session uid=1000 pid=9503] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=9494 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1537s # Acquired a message bus connection 1537s dbus-daemon[9503]: [session uid=1000 pid=9503] Successfully activated service 'org.gtk.GDBus.FakeService' 1537s # Acquired the name org.gtk.GDBus.FakeService 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 6 /gdbus/bus-watch-name-closures 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 7 /gdbus/bus-watch-name-closures-auto-start 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-watch-different-context/.dirs/runtime 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 8 /gdbus/bus-watch-different-context 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/bus-unwatch-early/.dirs/runtime 1537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 9 /gdbus/bus-unwatch-early 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QKZNK2/gdbus/escape-object-path/.dirs/runtime 1537s ok 10 /gdbus/escape-object-path 1537s # End of gdbus tests 1537s ok - glib/gdbus-names.test 1537s # Running test: glib/gdbus-non-socket.test 1537s TAP version 13 1537s # random seed: R02S53b855db30ab1e1ca06a455800d424a4 1537s 1..1 1537s # Start of gdbus tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_YUEVK2/gdbus/non-socket/.dirs/runtime 1537s ok 1 /gdbus/non-socket 1537s # End of gdbus tests 1537s ok - glib/gdbus-non-socket.test 1537s # Running test: glib/gdbus-bz627724.test 1537s TAP version 13 1537s # random seed: R02Sc7f7e028296c627aa5dd25380bbb31f4 1537s 1..1 1537s # Start of gdbus tests 1537s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/home 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/cache 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/system-config2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/config 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/system-data2 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/data 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/state 1537s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_BB4TK2/gdbus/bz627724/.dirs/runtime 1537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1537s ok 1 /gdbus/bz627724 1537s # End of gdbus tests 1537s ok - glib/gdbus-bz627724.test 1537s # Running test: glib/hook.test 1537s TAP version 13 1537s # random seed: R02S54600276b76272489c14f20a6e78e41a 1537s 1..2 1537s # Start of hook tests 1537s ok 1 /hook/basics 1537s ok 2 /hook/corner-cases 1538s # End of hook tests 1538s ok - glib/hook.test 1538s # Running test: glib/utf8-validate.test 1538s TAP version 13 1538s # random seed: R02S7df1f92533056ddfec8e098e145a1d66 1538s 1..216 1538s # Start of utf8 tests 1538s # Vector 0 1538s # Vector 1 1538s # Vector 2 1538s # Vector 3 1538s # Vector 4 1538s # Vector 5 1538s # Vector 6 1538s # Vector 7 1538s # Vector 8 1538s # Vector 9 1538s # Vector 10 1538s # Vector 11 1538s # Vector 12 1538s # Vector 13 1538s # Vector 14 1538s # Vector 15 1538s # Vector 16 1538s # Vector 17 1538s # Vector 18 1538s # Vector 19 1538s # Vector 20 1538s # Vector 21 1538s # Vector 22 1538s # Vector 23 1538s # Vector 24 1538s # Vector 25 1538s # Vector 26 1538s # Vector 27 1538s ok 1 /utf8/get-char-validated 1538s # Start of validate tests 1538s ok 2 /utf8/validate/0 1538s ok 3 /utf8/validate/1 1538s ok 4 /utf8/validate/2 1538s ok 5 /utf8/validate/3 1538s ok 6 /utf8/validate/4 1538s ok 7 /utf8/validate/5 1538s ok 8 /utf8/validate/6 1538s ok 9 /utf8/validate/7 1538s ok 10 /utf8/validate/8 1538s ok 11 /utf8/validate/9 1538s ok 12 /utf8/validate/10 1538s ok 13 /utf8/validate/11 1538s ok 14 /utf8/validate/12 1538s ok 15 /utf8/validate/13 1538s ok 16 /utf8/validate/14 1538s ok 17 /utf8/validate/15 1538s ok 18 /utf8/validate/16 1538s ok 19 /utf8/validate/17 1538s ok 20 /utf8/validate/18 1538s ok 21 /utf8/validate/19 1538s ok 22 /utf8/validate/20 1538s ok 23 /utf8/validate/21 1538s ok 24 /utf8/validate/22 1538s ok 25 /utf8/validate/23 1538s ok 26 /utf8/validate/24 1538s ok 27 /utf8/validate/25 1538s ok 28 /utf8/validate/26 1538s ok 29 /utf8/validate/27 1538s ok 30 /utf8/validate/28 1538s ok 31 /utf8/validate/29 1538s ok 32 /utf8/validate/30 1538s ok 33 /utf8/validate/31 1538s ok 34 /utf8/validate/32 1538s ok 35 /utf8/validate/33 1538s ok 36 /utf8/validate/34 1538s ok 37 /utf8/validate/35 1538s ok 38 /utf8/validate/36 1538s ok 39 /utf8/validate/37 1538s ok 40 /utf8/validate/38 1538s ok 41 /utf8/validate/39 1538s ok 42 /utf8/validate/40 1538s ok 43 /utf8/validate/41 1538s ok 44 /utf8/validate/42 1538s ok 45 /utf8/validate/43 1538s ok 46 /utf8/validate/44 1538s ok 47 /utf8/validate/45 1538s ok 48 /utf8/validate/46 1538s ok 49 /utf8/validate/47 1538s ok 50 /utf8/validate/48 1538s ok 51 /utf8/validate/49 1538s ok 52 /utf8/validate/50 1538s ok 53 /utf8/validate/51 1538s ok 54 /utf8/validate/52 1538s ok 55 /utf8/validate/53 1538s ok 56 /utf8/validate/54 1538s ok 57 /utf8/validate/55 1538s ok 58 /utf8/validate/56 1538s ok 59 /utf8/validate/57 1538s ok 60 /utf8/validate/58 1538s ok 61 /utf8/validate/59 1538s ok 62 /utf8/validate/60 1538s ok 63 /utf8/validate/61 1538s ok 64 /utf8/validate/62 1538s ok 65 /utf8/validate/63 1538s ok 66 /utf8/validate/64 1538s ok 67 /utf8/validate/65 1538s ok 68 /utf8/validate/66 1538s ok 69 /utf8/validate/67 1538s ok 70 /utf8/validate/68 1538s ok 71 /utf8/validate/69 1538s ok 72 /utf8/validate/70 1538s ok 73 /utf8/validate/71 1538s ok 74 /utf8/validate/72 1538s ok 75 /utf8/validate/73 1538s ok 76 /utf8/validate/74 1538s ok 77 /utf8/validate/75 1538s ok 78 /utf8/validate/76 1538s ok 79 /utf8/validate/77 1538s ok 80 /utf8/validate/78 1538s ok 81 /utf8/validate/79 1538s ok 82 /utf8/validate/80 1538s ok 83 /utf8/validate/81 1538s ok 84 /utf8/validate/82 1538s ok 85 /utf8/validate/83 1538s ok 86 /utf8/validate/84 1538s ok 87 /utf8/validate/85 1538s ok 88 /utf8/validate/86 1538s ok 89 /utf8/validate/87 1538s ok 90 /utf8/validate/88 1538s ok 91 /utf8/validate/89 1538s ok 92 /utf8/validate/90 1538s ok 93 /utf8/validate/91 1538s ok 94 /utf8/validate/92 1538s ok 95 /utf8/validate/93 1538s ok 96 /utf8/validate/94 1538s ok 97 /utf8/validate/95 1538s ok 98 /utf8/validate/96 1538s ok 99 /utf8/validate/97 1538s ok 100 /utf8/validate/98 1538s ok 101 /utf8/validate/99 1538s ok 102 /utf8/validate/100 1538s ok 103 /utf8/validate/101 1538s ok 104 /utf8/validate/102 1538s ok 105 /utf8/validate/103 1538s ok 106 /utf8/validate/104 1538s ok 107 /utf8/validate/105 1538s ok 108 /utf8/validate/106 1538s ok 109 /utf8/validate/107 1538s ok 110 /utf8/validate/108 1538s ok 111 /utf8/validate/109 1538s ok 112 /utf8/validate/110 1538s ok 113 /utf8/validate/111 1538s ok 114 /utf8/validate/112 1538s ok 115 /utf8/validate/113 1538s ok 116 /utf8/validate/114 1538s ok 117 /utf8/validate/115 1538s ok 118 /utf8/validate/116 1538s ok 119 /utf8/validate/117 1538s ok 120 /utf8/validate/118 1538s ok 121 /utf8/validate/119 1538s ok 122 /utf8/validate/120 1538s ok 123 /utf8/validate/121 1538s ok 124 /utf8/validate/122 1538s ok 125 /utf8/validate/123 1538s ok 126 /utf8/validate/124 1538s ok 127 /utf8/validate/125 1538s ok 128 /utf8/validate/126 1538s ok 129 /utf8/validate/127 1538s ok 130 /utf8/validate/128 1538s ok 131 /utf8/validate/129 1538s ok 132 /utf8/validate/130 1538s ok 133 /utf8/validate/131 1538s ok 134 /utf8/validate/132 1538s ok 135 /utf8/validate/133 1538s ok 136 /utf8/validate/134 1538s ok 137 /utf8/validate/135 1538s ok 138 /utf8/validate/136 1538s ok 139 /utf8/validate/137 1538s ok 140 /utf8/validate/138 1538s ok 141 /utf8/validate/139 1538s ok 142 /utf8/validate/140 1538s ok 143 /utf8/validate/141 1538s ok 144 /utf8/validate/142 1538s ok 145 /utf8/validate/143 1538s ok 146 /utf8/validate/144 1538s ok 147 /utf8/validate/145 1538s ok 148 /utf8/validate/146 1538s ok 149 /utf8/validate/147 1538s ok 150 /utf8/validate/148 1538s ok 151 /utf8/validate/149 1538s ok 152 /utf8/validate/150 1538s ok 153 /utf8/validate/151 1538s ok 154 /utf8/validate/152 1538s ok 155 /utf8/validate/153 1538s ok 156 /utf8/validate/154 1538s ok 157 /utf8/validate/155 1538s ok 158 /utf8/validate/156 1538s ok 159 /utf8/validate/157 1538s ok 160 /utf8/validate/158 1538s ok 161 /utf8/validate/159 1538s ok 162 /utf8/validate/160 1538s ok 163 /utf8/validate/161 1538s ok 164 /utf8/validate/162 1538s ok 165 /utf8/validate/163 1538s ok 166 /utf8/validate/164 1538s ok 167 /utf8/validate/165 1538s ok 168 /utf8/validate/166 1538s ok 169 /utf8/validate/167 1538s ok 170 /utf8/validate/168 1538s ok 171 /utf8/validate/169 1538s ok 172 /utf8/validate/170 1538s ok 173 /utf8/validate/171 1538s ok 174 /utf8/validate/172 1538s ok 175 /utf8/validate/173 1538s ok 176 /utf8/validate/174 1538s ok 177 /utf8/validate/175 1538s ok 178 /utf8/validate/176 1538s ok 179 /utf8/validate/177 1538s ok 180 /utf8/validate/178 1538s ok 181 /utf8/validate/179 1538s ok 182 /utf8/validate/180 1538s ok 183 /utf8/validate/181 1538s ok 184 /utf8/validate/182 1538s ok 185 /utf8/validate/183 1538s ok 186 /utf8/validate/184 1538s ok 187 /utf8/validate/185 1538s ok 188 /utf8/validate/186 1538s ok 189 /utf8/validate/187 1538s ok 190 /utf8/validate/188 1538s ok 191 /utf8/validate/189 1538s ok 192 /utf8/validate/190 1538s ok 193 /utf8/validate/191 1538s ok 194 /utf8/validate/192 1538s ok 195 /utf8/validate/193 1538s ok 196 /utf8/validate/194 1538s ok 197 /utf8/validate/195 1538s ok 198 /utf8/validate/196 1538s ok 199 /utf8/validate/197 1538s ok 200 /utf8/validate/198 1538s ok 201 /utf8/validate/199 1538s ok 202 /utf8/validate/200 1538s ok 203 /utf8/validate/201 1538s ok 204 /utf8/validate/202 1538s ok 205 /utf8/validate/203 1538s ok 206 /utf8/validate/204 1538s ok 207 /utf8/validate/205 1538s ok 208 /utf8/validate/206 1538s ok 209 /utf8/validate/207 1538s ok 210 /utf8/validate/208 1538s ok 211 /utf8/validate/209 1538s ok 212 /utf8/validate/210 1538s ok 213 /utf8/validate/211 1538s ok 214 /utf8/validate/212 1538s ok 215 /utf8/validate/213 1538s ok 216 /utf8/validate/214 1538s # End of validate tests 1538s # End of utf8 tests 1538s ok - glib/utf8-validate.test 1538s # Running test: glib/override.test 1538s TAP version 13 1538s # random seed: R02S4943e7653121091a8f58288b65445f9e 1538s 1..1 1538s # Start of gobject tests 1538s # *** emitting foo on a TestA instance 1538s # Expecting: TestA::foo,TestI::foo 1538s # Got: TestA::foo,TestI::foo 1538s # *** emitting bar on a TestA instance 1538s # Expecting: TestA::bar 1538s # Got: TestA::bar 1538s # *** emitting baz on a TestA instance 1538s # Expecting: TestA::baz 1538s # Got: TestA::baz 1538s # *** emitting foo on a TestB instance 1538s # Expecting: TestB::foo,TestA::foo,TestI::foo 1538s # Got: TestB::foo,TestA::foo,TestI::foo 1538s # *** emitting bar on a TestB instance 1538s # Expecting: TestB::bar,TestA::bar 1538s # Got: TestB::bar,TestA::bar 1538s # *** emitting baz on a TestB instance 1538s # Expecting: TestB::baz,TestA::baz 1538s # Got: TestB::baz,TestA::baz 1538s # *** emitting foo on a TestC instance 1538s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1538s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1538s # *** emitting bar on a TestC instance 1538s # Expecting: TestC::bar,TestB::bar,TestA::bar 1538s # Got: TestC::bar,TestB::bar,TestA::bar 1538s # *** emitting baz on a TestC instance 1538s # Expecting: TestC::baz,TestB::baz,TestA::baz 1538s # Got: TestC::baz,TestB::baz,TestA::baz 1538s ok 1 /gobject/override 1538s # End of gobject tests 1538s ok - glib/override.test 1538s # Running test: glib/rec-mutex.test 1538s TAP version 13 1538s # random seed: R02Sa06e3ab562d79ed04c6213eb9d994da4 1538s 1..29 1538s # Start of thread tests 1538s ok 1 /thread/rec-mutex1 1538s ok 2 /thread/rec-mutex2 1538s ok 3 /thread/rec-mutex3 1538s ok 4 /thread/rec-mutex4 1538s # Start of rec-mutex tests 1538s # Start of perf tests 1538s # Start of uncontended tests 1538s # max perf: 0.200000 mips 1538s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1538s # max perf: 1.000000 mips 1538s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1538s # max perf: 1.000000 mips 1538s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1538s # max perf: 1.000000 mips 1538s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1538s # max perf: inf mips 1538s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1538s # End of uncontended tests 1538s # Start of contended1 tests 1538s # max perf: 2.000000 mips 1538s ok 10 /thread/rec-mutex/perf/contended1/depth1 1538s # max perf: 2.000000 mips 1538s ok 11 /thread/rec-mutex/perf/contended1/depth2 1538s # max perf: 2.000000 mips 1538s ok 12 /thread/rec-mutex/perf/contended1/depth3 1538s # max perf: 2.000000 mips 1538s ok 13 /thread/rec-mutex/perf/contended1/depth4 1538s # max perf: 2.000000 mips 1538s ok 14 /thread/rec-mutex/perf/contended1/depth5 1538s # End of contended1 tests 1538s # Start of contended2 tests 1538s # max perf: 0.078947 mips 1538s ok 15 /thread/rec-mutex/perf/contended2/depth1 1538s # max perf: 3.000000 mips 1538s ok 16 /thread/rec-mutex/perf/contended2/depth2 1538s # max perf: 1.500000 mips 1538s ok 17 /thread/rec-mutex/perf/contended2/depth3 1538s # max perf: 1.500000 mips 1538s ok 18 /thread/rec-mutex/perf/contended2/depth4 1538s # max perf: 1.500000 mips 1538s ok 19 /thread/rec-mutex/perf/contended2/depth5 1538s # End of contended2 tests 1538s # Start of contended3 tests 1538s # max perf: 4.000000 mips 1538s ok 20 /thread/rec-mutex/perf/contended3/depth1 1538s # max perf: 4.000000 mips 1538s ok 21 /thread/rec-mutex/perf/contended3/depth2 1538s # max perf: 2.000000 mips 1538s ok 22 /thread/rec-mutex/perf/contended3/depth3 1538s # max perf: 4.000000 mips 1538s ok 23 /thread/rec-mutex/perf/contended3/depth4 1538s # max perf: 2.000000 mips 1538s ok 24 /thread/rec-mutex/perf/contended3/depth5 1538s # End of contended3 tests 1538s # Start of contended4 tests 1538s # max perf: 5.000000 mips 1538s ok 25 /thread/rec-mutex/perf/contended4/depth1 1538s # max perf: 2.500000 mips 1538s ok 26 /thread/rec-mutex/perf/contended4/depth2 1538s # max perf: 2.500000 mips 1538s ok 27 /thread/rec-mutex/perf/contended4/depth3 1538s # max perf: 2.500000 mips 1538s ok 28 /thread/rec-mutex/perf/contended4/depth4 1538s # max perf: 1.666667 mips 1538s ok 29 /thread/rec-mutex/perf/contended4/depth5 1538s # End of contended4 tests 1538s # End of perf tests 1538s # End of rec-mutex tests 1538s # End of thread tests 1538s ok - glib/rec-mutex.test 1538s # Running test: glib/power-profile-monitor-dbus.test 1539s # Executing: glib/power-profile-monitor-dbus.test 1539s TAP version 13 1539s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1539s 1..1 1539s ok - glib/power-profile-monitor-dbus.test 1539s # Running test: glib/inet-address.test 1539s TAP version 13 1539s # random seed: R02S056bb3522336b114dcf92600d176ff60 1539s 1..11 1539s # Start of inet-address tests 1539s ok 1 /inet-address/parse 1539s ok 2 /inet-address/any 1539s ok 3 /inet-address/loopback 1539s ok 4 /inet-address/bytes 1539s ok 5 /inet-address/property 1539s # End of inet-address tests 1539s # Start of socket-address tests 1539s ok 6 /socket-address/basic 1539s ok 7 /socket-address/to-string 1539s # End of socket-address tests 1539s # Start of address-mask tests 1539s ok 8 /address-mask/parse 1539s ok 9 /address-mask/property 1539s ok 10 /address-mask/equal 1539s ok 11 /address-mask/match 1539s # End of address-mask tests 1539s ok - glib/inet-address.test 1539s # Running test: glib/bitlock.test 1539s TAP version 13 1539s # random seed: R02Sfdd3c5eb6dd47dc40c2730b99d784e6d 1539s 1..1 1539s # Start of bitlock tests 1539s # Start of performance tests 1539s # max perf: iterations per second 1539s ok 1 /bitlock/performance/uncontended 1539s # End of performance tests 1539s # End of bitlock tests 1539s ok - glib/bitlock.test 1539s # Running test: glib/giomodule.test 1539s TAP version 13 1539s # random seed: R02S5aa3304c1eda7d2c1ddb98bacfe2705e 1539s 1..3 1539s # Start of giomodule tests 1539s ok 1 /giomodule/extension-point 1539s ok 2 /giomodule/module-scan-all 1539s ok 3 /giomodule/module-scan-all-with-scope 1539s # End of giomodule tests 1539s ok - glib/giomodule.test 1539s # Running test: glib/include.test 1539s TAP version 13 1539s # random seed: R02S16e81aa00e2ad334f28b537730d83868 1539s 1..1 1539s # Start of include tests 1539s ok 1 /include/rwlock 1539s # End of include tests 1539s ok - glib/include.test 1539s # Running test: glib/markup-subparser.test 1539s TAP version 13 1539s # random seed: R02S8b0edd8957d585fa220758df57346d56 1539s 1..14 1539s # Start of glib tests 1539s # Start of markup tests 1539s # Start of subparser tests 1539s # Start of success tests 1539s ok 1 /glib/markup/subparser/success/0 1539s ok 2 /glib/markup/subparser/success/1 1539s ok 3 /glib/markup/subparser/success/2 1539s ok 4 /glib/markup/subparser/success/3 1539s ok 5 /glib/markup/subparser/success/4 1539s ok 6 /glib/markup/subparser/success/5 1539s ok 7 /glib/markup/subparser/success/6 1539s # End of success tests 1539s # Start of failure tests 1539s ok 8 /glib/markup/subparser/failure/0 1539s ok 9 /glib/markup/subparser/failure/1 1539s ok 10 /glib/markup/subparser/failure/2 1539s ok 11 /glib/markup/subparser/failure/3 1539s ok 12 /glib/markup/subparser/failure/4 1539s ok 13 /glib/markup/subparser/failure/5 1539s ok 14 /glib/markup/subparser/failure/6 1539s # End of failure tests 1539s # End of subparser tests 1539s # End of markup tests 1539s # End of glib tests 1539s ok - glib/markup-subparser.test 1539s # Running test: glib/refcount.test 1539s TAP version 13 1539s # random seed: R02S067deb00962df84eb6b71ec08b5acd18 1539s 1..4 1539s # Start of refcount tests 1539s ok 1 /refcount/grefcount 1539s ok 2 /refcount/gatomicrefcount 1539s # Start of grefcount tests 1539s ok 3 /refcount/grefcount/saturation 1539s # End of grefcount tests 1539s # Start of gatomicrefcount tests 1539s ok 4 /refcount/gatomicrefcount/saturation 1539s # End of gatomicrefcount tests 1539s # End of refcount tests 1539s ok - glib/refcount.test 1539s # Running test: glib/memchunk.test 1539s TAP version 13 1539s # random seed: R02S68e08d6c85aecf5f51697d9d29180cc3 1539s 1..1 1539s # Start of memchunk tests 1539s ok 1 /memchunk/basic 1539s # End of memchunk tests 1539s ok - glib/memchunk.test 1539s # Running test: glib/checksum.test 1539s TAP version 13 1539s # random seed: R02S53e15c916285e98480e152a4262bfb97 1539s 1..1851 1539s # Start of checksum tests 1539s ok 1 /checksum/unsupported 1539s # Start of MD5 tests 1539s ok 2 /checksum/MD5/0 1539s ok 3 /checksum/MD5/1 1539s ok 4 /checksum/MD5/2 1539s ok 5 /checksum/MD5/3 1539s ok 6 /checksum/MD5/4 1539s ok 7 /checksum/MD5/5 1539s ok 8 /checksum/MD5/6 1539s ok 9 /checksum/MD5/7 1539s ok 10 /checksum/MD5/8 1539s ok 11 /checksum/MD5/9 1539s ok 12 /checksum/MD5/10 1539s ok 13 /checksum/MD5/11 1539s ok 14 /checksum/MD5/12 1539s ok 15 /checksum/MD5/13 1539s ok 16 /checksum/MD5/14 1539s ok 17 /checksum/MD5/15 1539s ok 18 /checksum/MD5/16 1539s ok 19 /checksum/MD5/17 1539s ok 20 /checksum/MD5/18 1539s ok 21 /checksum/MD5/19 1539s ok 22 /checksum/MD5/20 1539s ok 23 /checksum/MD5/21 1539s ok 24 /checksum/MD5/22 1539s ok 25 /checksum/MD5/23 1539s ok 26 /checksum/MD5/24 1539s ok 27 /checksum/MD5/25 1539s ok 28 /checksum/MD5/26 1539s ok 29 /checksum/MD5/27 1539s ok 30 /checksum/MD5/28 1539s ok 31 /checksum/MD5/29 1539s ok 32 /checksum/MD5/30 1539s ok 33 /checksum/MD5/31 1539s ok 34 /checksum/MD5/32 1539s ok 35 /checksum/MD5/33 1539s ok 36 /checksum/MD5/34 1539s ok 37 /checksum/MD5/35 1539s ok 38 /checksum/MD5/36 1539s ok 39 /checksum/MD5/37 1539s ok 40 /checksum/MD5/38 1539s ok 41 /checksum/MD5/39 1539s ok 42 /checksum/MD5/40 1539s ok 43 /checksum/MD5/41 1539s ok 44 /checksum/MD5/42 1539s ok 45 /checksum/MD5/43 1539s ok 46 /checksum/MD5/44 1539s ok 47 /checksum/MD5/45 1539s ok 48 /checksum/MD5/46 1539s ok 49 /checksum/MD5/47 1539s ok 50 /checksum/MD5/48 1539s ok 51 /checksum/MD5/49 1539s ok 52 /checksum/MD5/50 1539s ok 53 /checksum/MD5/51 1539s ok 54 /checksum/MD5/52 1539s ok 55 /checksum/MD5/53 1539s ok 56 /checksum/MD5/54 1539s ok 57 /checksum/MD5/55 1539s ok 58 /checksum/MD5/56 1539s ok 59 /checksum/MD5/57 1539s ok 60 /checksum/MD5/58 1539s ok 61 /checksum/MD5/59 1539s ok 62 /checksum/MD5/60 1539s ok 63 /checksum/MD5/61 1539s ok 64 /checksum/MD5/62 1539s ok 65 /checksum/MD5/63 1539s ok 66 /checksum/MD5/64 1539s ok 67 /checksum/MD5/65 1539s ok 68 /checksum/MD5/66 1539s ok 69 /checksum/MD5/67 1539s ok 70 /checksum/MD5/68 1539s ok 71 /checksum/MD5/69 1539s ok 72 /checksum/MD5/70 1539s ok 73 /checksum/MD5/71 1539s ok 74 /checksum/MD5/72 1539s ok 75 /checksum/MD5/73 1539s ok 76 /checksum/MD5/74 1539s ok 77 /checksum/MD5/75 1539s ok 78 /checksum/MD5/76 1539s ok 79 /checksum/MD5/77 1539s ok 80 /checksum/MD5/78 1539s ok 81 /checksum/MD5/79 1539s ok 82 /checksum/MD5/80 1539s ok 83 /checksum/MD5/81 1539s ok 84 /checksum/MD5/82 1539s ok 85 /checksum/MD5/83 1539s ok 86 /checksum/MD5/84 1539s ok 87 /checksum/MD5/85 1539s ok 88 /checksum/MD5/86 1539s ok 89 /checksum/MD5/87 1539s ok 90 /checksum/MD5/88 1539s ok 91 /checksum/MD5/89 1539s ok 92 /checksum/MD5/90 1539s ok 93 /checksum/MD5/91 1539s ok 94 /checksum/MD5/92 1539s ok 95 /checksum/MD5/93 1539s ok 96 /checksum/MD5/94 1539s ok 97 /checksum/MD5/95 1539s ok 98 /checksum/MD5/96 1539s ok 99 /checksum/MD5/97 1539s ok 100 /checksum/MD5/98 1539s ok 101 /checksum/MD5/99 1539s ok 102 /checksum/MD5/100 1539s ok 103 /checksum/MD5/101 1539s ok 104 /checksum/MD5/102 1539s ok 105 /checksum/MD5/103 1539s ok 106 /checksum/MD5/104 1539s ok 107 /checksum/MD5/105 1539s ok 108 /checksum/MD5/106 1539s ok 109 /checksum/MD5/107 1539s ok 110 /checksum/MD5/108 1539s ok 111 /checksum/MD5/109 1539s ok 112 /checksum/MD5/110 1539s ok 113 /checksum/MD5/111 1539s ok 114 /checksum/MD5/112 1539s ok 115 /checksum/MD5/113 1539s ok 116 /checksum/MD5/114 1539s ok 117 /checksum/MD5/115 1539s ok 118 /checksum/MD5/116 1539s ok 119 /checksum/MD5/117 1539s ok 120 /checksum/MD5/118 1539s ok 121 /checksum/MD5/119 1539s ok 122 /checksum/MD5/120 1539s ok 123 /checksum/MD5/121 1539s ok 124 /checksum/MD5/122 1539s ok 125 /checksum/MD5/123 1539s ok 126 /checksum/MD5/124 1539s ok 127 /checksum/MD5/125 1539s ok 128 /checksum/MD5/126 1539s ok 129 /checksum/MD5/127 1539s ok 130 /checksum/MD5/128 1539s ok 131 /checksum/MD5/129 1539s ok 132 /checksum/MD5/130 1539s ok 133 /checksum/MD5/131 1539s ok 134 /checksum/MD5/132 1539s ok 135 /checksum/MD5/133 1539s ok 136 /checksum/MD5/134 1539s ok 137 /checksum/MD5/135 1539s ok 138 /checksum/MD5/136 1539s ok 139 /checksum/MD5/137 1539s ok 140 /checksum/MD5/138 1539s ok 141 /checksum/MD5/139 1539s ok 142 /checksum/MD5/140 1539s ok 143 /checksum/MD5/141 1539s ok 144 /checksum/MD5/142 1539s ok 145 /checksum/MD5/143 1539s ok 146 /checksum/MD5/144 1539s ok 147 /checksum/MD5/145 1539s ok 148 /checksum/MD5/146 1539s ok 149 /checksum/MD5/147 1539s ok 150 /checksum/MD5/148 1539s ok 151 /checksum/MD5/149 1539s ok 152 /checksum/MD5/150 1539s ok 153 /checksum/MD5/151 1539s ok 154 /checksum/MD5/152 1539s ok 155 /checksum/MD5/153 1539s ok 156 /checksum/MD5/154 1539s ok 157 /checksum/MD5/155 1539s ok 158 /checksum/MD5/156 1539s ok 159 /checksum/MD5/157 1539s ok 160 /checksum/MD5/158 1539s ok 161 /checksum/MD5/159 1539s ok 162 /checksum/MD5/160 1539s ok 163 /checksum/MD5/161 1539s ok 164 /checksum/MD5/162 1539s ok 165 /checksum/MD5/163 1539s ok 166 /checksum/MD5/164 1539s ok 167 /checksum/MD5/165 1539s ok 168 /checksum/MD5/166 1539s ok 169 /checksum/MD5/167 1539s ok 170 /checksum/MD5/168 1539s ok 171 /checksum/MD5/169 1539s ok 172 /checksum/MD5/170 1539s ok 173 /checksum/MD5/171 1539s ok 174 /checksum/MD5/172 1539s ok 175 /checksum/MD5/173 1539s ok 176 /checksum/MD5/174 1539s ok 177 /checksum/MD5/175 1539s ok 178 /checksum/MD5/176 1539s ok 179 /checksum/MD5/177 1539s ok 180 /checksum/MD5/178 1539s ok 181 /checksum/MD5/179 1539s ok 182 /checksum/MD5/180 1539s ok 183 /checksum/MD5/181 1539s ok 184 /checksum/MD5/182 1539s ok 185 /checksum/MD5/183 1539s ok 186 /checksum/MD5/string 1539s ok 187 /checksum/MD5/bytes 1539s # Start of reset tests 1539s ok 188 /checksum/MD5/reset/0 1539s ok 189 /checksum/MD5/reset/1 1539s ok 190 /checksum/MD5/reset/2 1539s ok 191 /checksum/MD5/reset/3 1539s ok 192 /checksum/MD5/reset/4 1539s ok 193 /checksum/MD5/reset/5 1539s ok 194 /checksum/MD5/reset/6 1539s ok 195 /checksum/MD5/reset/7 1539s ok 196 /checksum/MD5/reset/8 1539s ok 197 /checksum/MD5/reset/9 1539s ok 198 /checksum/MD5/reset/10 1539s ok 199 /checksum/MD5/reset/11 1539s ok 200 /checksum/MD5/reset/12 1539s ok 201 /checksum/MD5/reset/13 1539s ok 202 /checksum/MD5/reset/14 1539s ok 203 /checksum/MD5/reset/15 1539s ok 204 /checksum/MD5/reset/16 1539s ok 205 /checksum/MD5/reset/17 1539s ok 206 /checksum/MD5/reset/18 1539s ok 207 /checksum/MD5/reset/19 1539s ok 208 /checksum/MD5/reset/20 1539s ok 209 /checksum/MD5/reset/21 1539s ok 210 /checksum/MD5/reset/22 1539s ok 211 /checksum/MD5/reset/23 1539s ok 212 /checksum/MD5/reset/24 1539s ok 213 /checksum/MD5/reset/25 1539s ok 214 /checksum/MD5/reset/26 1539s ok 215 /checksum/MD5/reset/27 1539s ok 216 /checksum/MD5/reset/28 1539s ok 217 /checksum/MD5/reset/29 1539s ok 218 /checksum/MD5/reset/30 1539s ok 219 /checksum/MD5/reset/31 1539s ok 220 /checksum/MD5/reset/32 1539s ok 221 /checksum/MD5/reset/33 1539s ok 222 /checksum/MD5/reset/34 1539s ok 223 /checksum/MD5/reset/35 1539s ok 224 /checksum/MD5/reset/36 1539s ok 225 /checksum/MD5/reset/37 1539s ok 226 /checksum/MD5/reset/38 1539s ok 227 /checksum/MD5/reset/39 1539s ok 228 /checksum/MD5/reset/40 1539s ok 229 /checksum/MD5/reset/41 1539s ok 230 /checksum/MD5/reset/42 1539s ok 231 /checksum/MD5/reset/43 1539s ok 232 /checksum/MD5/reset/44 1539s ok 233 /checksum/MD5/reset/45 1539s ok 234 /checksum/MD5/reset/46 1539s ok 235 /checksum/MD5/reset/47 1539s ok 236 /checksum/MD5/reset/48 1539s ok 237 /checksum/MD5/reset/49 1539s ok 238 /checksum/MD5/reset/50 1539s ok 239 /checksum/MD5/reset/51 1539s ok 240 /checksum/MD5/reset/52 1539s ok 241 /checksum/MD5/reset/53 1539s ok 242 /checksum/MD5/reset/54 1539s ok 243 /checksum/MD5/reset/55 1539s ok 244 /checksum/MD5/reset/56 1539s ok 245 /checksum/MD5/reset/57 1539s ok 246 /checksum/MD5/reset/58 1539s ok 247 /checksum/MD5/reset/59 1539s ok 248 /checksum/MD5/reset/60 1539s ok 249 /checksum/MD5/reset/61 1539s ok 250 /checksum/MD5/reset/62 1539s ok 251 /checksum/MD5/reset/63 1539s ok 252 /checksum/MD5/reset/64 1539s ok 253 /checksum/MD5/reset/65 1539s ok 254 /checksum/MD5/reset/66 1539s ok 255 /checksum/MD5/reset/67 1539s ok 256 /checksum/MD5/reset/68 1539s ok 257 /checksum/MD5/reset/69 1539s ok 258 /checksum/MD5/reset/70 1539s ok 259 /checksum/MD5/reset/71 1539s ok 260 /checksum/MD5/reset/72 1539s ok 261 /checksum/MD5/reset/73 1539s ok 262 /checksum/MD5/reset/74 1539s ok 263 /checksum/MD5/reset/75 1539s ok 264 /checksum/MD5/reset/76 1539s ok 265 /checksum/MD5/reset/77 1539s ok 266 /checksum/MD5/reset/78 1539s ok 267 /checksum/MD5/reset/79 1539s ok 268 /checksum/MD5/reset/80 1539s ok 269 /checksum/MD5/reset/81 1539s ok 270 /checksum/MD5/reset/82 1539s ok 271 /checksum/MD5/reset/83 1539s ok 272 /checksum/MD5/reset/84 1539s ok 273 /checksum/MD5/reset/85 1539s ok 274 /checksum/MD5/reset/86 1539s ok 275 /checksum/MD5/reset/87 1539s ok 276 /checksum/MD5/reset/88 1539s ok 277 /checksum/MD5/reset/89 1539s ok 278 /checksum/MD5/reset/90 1539s ok 279 /checksum/MD5/reset/91 1539s ok 280 /checksum/MD5/reset/92 1539s ok 281 /checksum/MD5/reset/93 1539s ok 282 /checksum/MD5/reset/94 1539s ok 283 /checksum/MD5/reset/95 1539s ok 284 /checksum/MD5/reset/96 1539s ok 285 /checksum/MD5/reset/97 1539s ok 286 /checksum/MD5/reset/98 1539s ok 287 /checksum/MD5/reset/99 1539s ok 288 /checksum/MD5/reset/100 1539s ok 289 /checksum/MD5/reset/101 1539s ok 290 /checksum/MD5/reset/102 1539s ok 291 /checksum/MD5/reset/103 1539s ok 292 /checksum/MD5/reset/104 1539s ok 293 /checksum/MD5/reset/105 1539s ok 294 /checksum/MD5/reset/106 1539s ok 295 /checksum/MD5/reset/107 1539s ok 296 /checksum/MD5/reset/108 1539s ok 297 /checksum/MD5/reset/109 1539s ok 298 /checksum/MD5/reset/110 1539s ok 299 /checksum/MD5/reset/111 1539s ok 300 /checksum/MD5/reset/112 1539s ok 301 /checksum/MD5/reset/113 1539s ok 302 /checksum/MD5/reset/114 1539s ok 303 /checksum/MD5/reset/115 1539s ok 304 /checksum/MD5/reset/116 1539s ok 305 /checksum/MD5/reset/117 1539s ok 306 /checksum/MD5/reset/118 1539s ok 307 /checksum/MD5/reset/119 1539s ok 308 /checksum/MD5/reset/120 1539s ok 309 /checksum/MD5/reset/121 1539s ok 310 /checksum/MD5/reset/122 1539s ok 311 /checksum/MD5/reset/123 1539s ok 312 /checksum/MD5/reset/124 1539s ok 313 /checksum/MD5/reset/125 1539s ok 314 /checksum/MD5/reset/126 1539s ok 315 /checksum/MD5/reset/127 1539s ok 316 /checksum/MD5/reset/128 1539s ok 317 /checksum/MD5/reset/129 1539s ok 318 /checksum/MD5/reset/130 1539s ok 319 /checksum/MD5/reset/131 1539s ok 320 /checksum/MD5/reset/132 1539s ok 321 /checksum/MD5/reset/133 1539s ok 322 /checksum/MD5/reset/134 1539s ok 323 /checksum/MD5/reset/135 1539s ok 324 /checksum/MD5/reset/136 1539s ok 325 /checksum/MD5/reset/137 1539s ok 326 /checksum/MD5/reset/138 1539s ok 327 /checksum/MD5/reset/139 1539s ok 328 /checksum/MD5/reset/140 1539s ok 329 /checksum/MD5/reset/141 1539s ok 330 /checksum/MD5/reset/142 1539s ok 331 /checksum/MD5/reset/143 1539s ok 332 /checksum/MD5/reset/144 1539s ok 333 /checksum/MD5/reset/145 1539s ok 334 /checksum/MD5/reset/146 1539s ok 335 /checksum/MD5/reset/147 1539s ok 336 /checksum/MD5/reset/148 1539s ok 337 /checksum/MD5/reset/149 1539s ok 338 /checksum/MD5/reset/150 1539s ok 339 /checksum/MD5/reset/151 1539s ok 340 /checksum/MD5/reset/152 1539s ok 341 /checksum/MD5/reset/153 1539s ok 342 /checksum/MD5/reset/154 1539s ok 343 /checksum/MD5/reset/155 1539s ok 344 /checksum/MD5/reset/156 1539s ok 345 /checksum/MD5/reset/157 1539s ok 346 /checksum/MD5/reset/158 1539s ok 347 /checksum/MD5/reset/159 1539s ok 348 /checksum/MD5/reset/160 1539s ok 349 /checksum/MD5/reset/161 1539s ok 350 /checksum/MD5/reset/162 1539s ok 351 /checksum/MD5/reset/163 1539s ok 352 /checksum/MD5/reset/164 1539s ok 353 /checksum/MD5/reset/165 1539s ok 354 /checksum/MD5/reset/166 1539s ok 355 /checksum/MD5/reset/167 1539s ok 356 /checksum/MD5/reset/168 1539s ok 357 /checksum/MD5/reset/169 1539s ok 358 /checksum/MD5/reset/170 1539s ok 359 /checksum/MD5/reset/171 1539s ok 360 /checksum/MD5/reset/172 1539s ok 361 /checksum/MD5/reset/173 1539s ok 362 /checksum/MD5/reset/174 1539s ok 363 /checksum/MD5/reset/175 1539s ok 364 /checksum/MD5/reset/176 1539s ok 365 /checksum/MD5/reset/177 1539s ok 366 /checksum/MD5/reset/178 1539s ok 367 /checksum/MD5/reset/179 1539s ok 368 /checksum/MD5/reset/180 1539s ok 369 /checksum/MD5/reset/181 1539s ok 370 /checksum/MD5/reset/182 1539s ok 371 /checksum/MD5/reset/183 1539s # End of reset tests 1539s # End of MD5 tests 1539s # Start of SHA1 tests 1539s ok 372 /checksum/SHA1/0 1539s ok 373 /checksum/SHA1/1 1539s ok 374 /checksum/SHA1/2 1539s ok 375 /checksum/SHA1/3 1539s ok 376 /checksum/SHA1/4 1539s ok 377 /checksum/SHA1/5 1539s ok 378 /checksum/SHA1/6 1539s ok 379 /checksum/SHA1/7 1539s ok 380 /checksum/SHA1/8 1539s ok 381 /checksum/SHA1/9 1539s ok 382 /checksum/SHA1/10 1539s ok 383 /checksum/SHA1/11 1539s ok 384 /checksum/SHA1/12 1539s ok 385 /checksum/SHA1/13 1539s ok 386 /checksum/SHA1/14 1539s ok 387 /checksum/SHA1/15 1539s ok 388 /checksum/SHA1/16 1539s ok 389 /checksum/SHA1/17 1539s ok 390 /checksum/SHA1/18 1539s ok 391 /checksum/SHA1/19 1539s ok 392 /checksum/SHA1/20 1539s ok 393 /checksum/SHA1/21 1539s ok 394 /checksum/SHA1/22 1539s ok 395 /checksum/SHA1/23 1539s ok 396 /checksum/SHA1/24 1539s ok 397 /checksum/SHA1/25 1539s ok 398 /checksum/SHA1/26 1539s ok 399 /checksum/SHA1/27 1539s ok 400 /checksum/SHA1/28 1539s ok 401 /checksum/SHA1/29 1539s ok 402 /checksum/SHA1/30 1539s ok 403 /checksum/SHA1/31 1539s ok 404 /checksum/SHA1/32 1539s ok 405 /checksum/SHA1/33 1539s ok 406 /checksum/SHA1/34 1539s ok 407 /checksum/SHA1/35 1539s ok 408 /checksum/SHA1/36 1539s ok 409 /checksum/SHA1/37 1539s ok 410 /checksum/SHA1/38 1539s ok 411 /checksum/SHA1/39 1539s ok 412 /checksum/SHA1/40 1539s ok 413 /checksum/SHA1/41 1539s ok 414 /checksum/SHA1/42 1539s ok 415 /checksum/SHA1/43 1539s ok 416 /checksum/SHA1/44 1539s ok 417 /checksum/SHA1/45 1539s ok 418 /checksum/SHA1/46 1539s ok 419 /checksum/SHA1/47 1539s ok 420 /checksum/SHA1/48 1539s ok 421 /checksum/SHA1/49 1539s ok 422 /checksum/SHA1/50 1539s ok 423 /checksum/SHA1/51 1539s ok 424 /checksum/SHA1/52 1539s ok 425 /checksum/SHA1/53 1539s ok 426 /checksum/SHA1/54 1539s ok 427 /checksum/SHA1/55 1539s ok 428 /checksum/SHA1/56 1539s ok 429 /checksum/SHA1/57 1539s ok 430 /checksum/SHA1/58 1539s ok 431 /checksum/SHA1/59 1539s ok 432 /checksum/SHA1/60 1539s ok 433 /checksum/SHA1/61 1539s ok 434 /checksum/SHA1/62 1539s ok 435 /checksum/SHA1/63 1539s ok 436 /checksum/SHA1/64 1539s ok 437 /checksum/SHA1/65 1539s ok 438 /checksum/SHA1/66 1539s ok 439 /checksum/SHA1/67 1539s ok 440 /checksum/SHA1/68 1539s ok 441 /checksum/SHA1/69 1539s ok 442 /checksum/SHA1/70 1539s ok 443 /checksum/SHA1/71 1539s ok 444 /checksum/SHA1/72 1539s ok 445 /checksum/SHA1/73 1539s ok 446 /checksum/SHA1/74 1539s ok 447 /checksum/SHA1/75 1539s ok 448 /checksum/SHA1/76 1539s ok 449 /checksum/SHA1/77 1539s ok 450 /checksum/SHA1/78 1539s ok 451 /checksum/SHA1/79 1539s ok 452 /checksum/SHA1/80 1539s ok 453 /checksum/SHA1/81 1539s ok 454 /checksum/SHA1/82 1539s ok 455 /checksum/SHA1/83 1539s ok 456 /checksum/SHA1/84 1539s ok 457 /checksum/SHA1/85 1539s ok 458 /checksum/SHA1/86 1539s ok 459 /checksum/SHA1/87 1539s ok 460 /checksum/SHA1/88 1539s ok 461 /checksum/SHA1/89 1539s ok 462 /checksum/SHA1/90 1539s ok 463 /checksum/SHA1/91 1539s ok 464 /checksum/SHA1/92 1539s ok 465 /checksum/SHA1/93 1539s ok 466 /checksum/SHA1/94 1539s ok 467 /checksum/SHA1/95 1539s ok 468 /checksum/SHA1/96 1539s ok 469 /checksum/SHA1/97 1539s ok 470 /checksum/SHA1/98 1539s ok 471 /checksum/SHA1/99 1539s ok 472 /checksum/SHA1/100 1539s ok 473 /checksum/SHA1/101 1539s ok 474 /checksum/SHA1/102 1539s ok 475 /checksum/SHA1/103 1539s ok 476 /checksum/SHA1/104 1539s ok 477 /checksum/SHA1/105 1539s ok 478 /checksum/SHA1/106 1539s ok 479 /checksum/SHA1/107 1539s ok 480 /checksum/SHA1/108 1539s ok 481 /checksum/SHA1/109 1539s ok 482 /checksum/SHA1/110 1539s ok 483 /checksum/SHA1/111 1539s ok 484 /checksum/SHA1/112 1539s ok 485 /checksum/SHA1/113 1539s ok 486 /checksum/SHA1/114 1539s ok 487 /checksum/SHA1/115 1539s ok 488 /checksum/SHA1/116 1539s ok 489 /checksum/SHA1/117 1539s ok 490 /checksum/SHA1/118 1539s ok 491 /checksum/SHA1/119 1539s ok 492 /checksum/SHA1/120 1539s ok 493 /checksum/SHA1/121 1539s ok 494 /checksum/SHA1/122 1539s ok 495 /checksum/SHA1/123 1539s ok 496 /checksum/SHA1/124 1539s ok 497 /checksum/SHA1/125 1539s ok 498 /checksum/SHA1/126 1539s ok 499 /checksum/SHA1/127 1539s ok 500 /checksum/SHA1/128 1539s ok 501 /checksum/SHA1/129 1539s ok 502 /checksum/SHA1/130 1539s ok 503 /checksum/SHA1/131 1539s ok 504 /checksum/SHA1/132 1539s ok 505 /checksum/SHA1/133 1539s ok 506 /checksum/SHA1/134 1539s ok 507 /checksum/SHA1/135 1539s ok 508 /checksum/SHA1/136 1539s ok 509 /checksum/SHA1/137 1539s ok 510 /checksum/SHA1/138 1539s ok 511 /checksum/SHA1/139 1539s ok 512 /checksum/SHA1/140 1539s ok 513 /checksum/SHA1/141 1539s ok 514 /checksum/SHA1/142 1539s ok 515 /checksum/SHA1/143 1539s ok 516 /checksum/SHA1/144 1539s ok 517 /checksum/SHA1/145 1539s ok 518 /checksum/SHA1/146 1539s ok 519 /checksum/SHA1/147 1539s ok 520 /checksum/SHA1/148 1539s ok 521 /checksum/SHA1/149 1539s ok 522 /checksum/SHA1/150 1539s ok 523 /checksum/SHA1/151 1539s ok 524 /checksum/SHA1/152 1539s ok 525 /checksum/SHA1/153 1539s ok 526 /checksum/SHA1/154 1539s ok 527 /checksum/SHA1/155 1539s ok 528 /checksum/SHA1/156 1539s ok 529 /checksum/SHA1/157 1539s ok 530 /checksum/SHA1/158 1539s ok 531 /checksum/SHA1/159 1539s ok 532 /checksum/SHA1/160 1539s ok 533 /checksum/SHA1/161 1539s ok 534 /checksum/SHA1/162 1539s ok 535 /checksum/SHA1/163 1539s ok 536 /checksum/SHA1/164 1539s ok 537 /checksum/SHA1/165 1539s ok 538 /checksum/SHA1/166 1539s ok 539 /checksum/SHA1/167 1540s ok 540 /checksum/SHA1/168 1540s ok 541 /checksum/SHA1/169 1540s ok 542 /checksum/SHA1/170 1540s ok 543 /checksum/SHA1/171 1540s ok 544 /checksum/SHA1/172 1540s ok 545 /checksum/SHA1/173 1540s ok 546 /checksum/SHA1/174 1540s ok 547 /checksum/SHA1/175 1540s ok 548 /checksum/SHA1/176 1540s ok 549 /checksum/SHA1/177 1540s ok 550 /checksum/SHA1/178 1540s ok 551 /checksum/SHA1/179 1540s ok 552 /checksum/SHA1/180 1540s ok 553 /checksum/SHA1/181 1540s ok 554 /checksum/SHA1/182 1540s ok 555 /checksum/SHA1/183 1540s ok 556 /checksum/SHA1/string 1540s ok 557 /checksum/SHA1/bytes 1540s # Start of reset tests 1540s ok 558 /checksum/SHA1/reset/0 1540s ok 559 /checksum/SHA1/reset/1 1540s ok 560 /checksum/SHA1/reset/2 1540s ok 561 /checksum/SHA1/reset/3 1540s ok 562 /checksum/SHA1/reset/4 1540s ok 563 /checksum/SHA1/reset/5 1540s ok 564 /checksum/SHA1/reset/6 1540s ok 565 /checksum/SHA1/reset/7 1540s ok 566 /checksum/SHA1/reset/8 1540s ok 567 /checksum/SHA1/reset/9 1540s ok 568 /checksum/SHA1/reset/10 1540s ok 569 /checksum/SHA1/reset/11 1540s ok 570 /checksum/SHA1/reset/12 1540s ok 571 /checksum/SHA1/reset/13 1540s ok 572 /checksum/SHA1/reset/14 1540s ok 573 /checksum/SHA1/reset/15 1540s ok 574 /checksum/SHA1/reset/16 1540s ok 575 /checksum/SHA1/reset/17 1540s ok 576 /checksum/SHA1/reset/18 1540s ok 577 /checksum/SHA1/reset/19 1540s ok 578 /checksum/SHA1/reset/20 1540s ok 579 /checksum/SHA1/reset/21 1540s ok 580 /checksum/SHA1/reset/22 1540s ok 581 /checksum/SHA1/reset/23 1540s ok 582 /checksum/SHA1/reset/24 1540s ok 583 /checksum/SHA1/reset/25 1540s ok 584 /checksum/SHA1/reset/26 1540s ok 585 /checksum/SHA1/reset/27 1540s ok 586 /checksum/SHA1/reset/28 1540s ok 587 /checksum/SHA1/reset/29 1540s ok 588 /checksum/SHA1/reset/30 1540s ok 589 /checksum/SHA1/reset/31 1540s ok 590 /checksum/SHA1/reset/32 1540s ok 591 /checksum/SHA1/reset/33 1540s ok 592 /checksum/SHA1/reset/34 1540s ok 593 /checksum/SHA1/reset/35 1540s ok 594 /checksum/SHA1/reset/36 1540s ok 595 /checksum/SHA1/reset/37 1540s ok 596 /checksum/SHA1/reset/38 1540s ok 597 /checksum/SHA1/reset/39 1540s ok 598 /checksum/SHA1/reset/40 1540s ok 599 /checksum/SHA1/reset/41 1540s ok 600 /checksum/SHA1/reset/42 1540s ok 601 /checksum/SHA1/reset/43 1540s ok 602 /checksum/SHA1/reset/44 1540s ok 603 /checksum/SHA1/reset/45 1540s ok 604 /checksum/SHA1/reset/46 1540s ok 605 /checksum/SHA1/reset/47 1540s ok 606 /checksum/SHA1/reset/48 1540s ok 607 /checksum/SHA1/reset/49 1540s ok 608 /checksum/SHA1/reset/50 1540s ok 609 /checksum/SHA1/reset/51 1540s ok 610 /checksum/SHA1/reset/52 1540s ok 611 /checksum/SHA1/reset/53 1540s ok 612 /checksum/SHA1/reset/54 1540s ok 613 /checksum/SHA1/reset/55 1540s ok 614 /checksum/SHA1/reset/56 1540s ok 615 /checksum/SHA1/reset/57 1540s ok 616 /checksum/SHA1/reset/58 1540s ok 617 /checksum/SHA1/reset/59 1540s ok 618 /checksum/SHA1/reset/60 1540s ok 619 /checksum/SHA1/reset/61 1540s ok 620 /checksum/SHA1/reset/62 1540s ok 621 /checksum/SHA1/reset/63 1540s ok 622 /checksum/SHA1/reset/64 1540s ok 623 /checksum/SHA1/reset/65 1540s ok 624 /checksum/SHA1/reset/66 1540s ok 625 /checksum/SHA1/reset/67 1540s ok 626 /checksum/SHA1/reset/68 1540s ok 627 /checksum/SHA1/reset/69 1540s ok 628 /checksum/SHA1/reset/70 1540s ok 629 /checksum/SHA1/reset/71 1540s ok 630 /checksum/SHA1/reset/72 1540s ok 631 /checksum/SHA1/reset/73 1540s ok 632 /checksum/SHA1/reset/74 1540s ok 633 /checksum/SHA1/reset/75 1540s ok 634 /checksum/SHA1/reset/76 1540s ok 635 /checksum/SHA1/reset/77 1540s ok 636 /checksum/SHA1/reset/78 1540s ok 637 /checksum/SHA1/reset/79 1540s ok 638 /checksum/SHA1/reset/80 1540s ok 639 /checksum/SHA1/reset/81 1540s ok 640 /checksum/SHA1/reset/82 1540s ok 641 /checksum/SHA1/reset/83 1540s ok 642 /checksum/SHA1/reset/84 1540s ok 643 /checksum/SHA1/reset/85 1540s ok 644 /checksum/SHA1/reset/86 1540s ok 645 /checksum/SHA1/reset/87 1540s ok 646 /checksum/SHA1/reset/88 1540s ok 647 /checksum/SHA1/reset/89 1540s ok 648 /checksum/SHA1/reset/90 1540s ok 649 /checksum/SHA1/reset/91 1540s ok 650 /checksum/SHA1/reset/92 1540s ok 651 /checksum/SHA1/reset/93 1540s ok 652 /checksum/SHA1/reset/94 1540s ok 653 /checksum/SHA1/reset/95 1540s ok 654 /checksum/SHA1/reset/96 1540s ok 655 /checksum/SHA1/reset/97 1540s ok 656 /checksum/SHA1/reset/98 1540s ok 657 /checksum/SHA1/reset/99 1540s ok 658 /checksum/SHA1/reset/100 1540s ok 659 /checksum/SHA1/reset/101 1540s ok 660 /checksum/SHA1/reset/102 1540s ok 661 /checksum/SHA1/reset/103 1540s ok 662 /checksum/SHA1/reset/104 1540s ok 663 /checksum/SHA1/reset/105 1540s ok 664 /checksum/SHA1/reset/106 1540s ok 665 /checksum/SHA1/reset/107 1540s ok 666 /checksum/SHA1/reset/108 1540s ok 667 /checksum/SHA1/reset/109 1540s ok 668 /checksum/SHA1/reset/110 1540s ok 669 /checksum/SHA1/reset/111 1540s ok 670 /checksum/SHA1/reset/112 1540s ok 671 /checksum/SHA1/reset/113 1540s ok 672 /checksum/SHA1/reset/114 1540s ok 673 /checksum/SHA1/reset/115 1540s ok 674 /checksum/SHA1/reset/116 1540s ok 675 /checksum/SHA1/reset/117 1540s ok 676 /checksum/SHA1/reset/118 1540s ok 677 /checksum/SHA1/reset/119 1540s ok 678 /checksum/SHA1/reset/120 1540s ok 679 /checksum/SHA1/reset/121 1540s ok 680 /checksum/SHA1/reset/122 1540s ok 681 /checksum/SHA1/reset/123 1540s ok 682 /checksum/SHA1/reset/124 1540s ok 683 /checksum/SHA1/reset/125 1540s ok 684 /checksum/SHA1/reset/126 1540s ok 685 /checksum/SHA1/reset/127 1540s ok 686 /checksum/SHA1/reset/128 1540s ok 687 /checksum/SHA1/reset/129 1540s ok 688 /checksum/SHA1/reset/130 1540s ok 689 /checksum/SHA1/reset/131 1540s ok 690 /checksum/SHA1/reset/132 1540s ok 691 /checksum/SHA1/reset/133 1540s ok 692 /checksum/SHA1/reset/134 1540s ok 693 /checksum/SHA1/reset/135 1540s ok 694 /checksum/SHA1/reset/136 1540s ok 695 /checksum/SHA1/reset/137 1540s ok 696 /checksum/SHA1/reset/138 1540s ok 697 /checksum/SHA1/reset/139 1540s ok 698 /checksum/SHA1/reset/140 1540s ok 699 /checksum/SHA1/reset/141 1540s ok 700 /checksum/SHA1/reset/142 1540s ok 701 /checksum/SHA1/reset/143 1540s ok 702 /checksum/SHA1/reset/144 1540s ok 703 /checksum/SHA1/reset/145 1540s ok 704 /checksum/SHA1/reset/146 1540s ok 705 /checksum/SHA1/reset/147 1540s ok 706 /checksum/SHA1/reset/148 1540s ok 707 /checksum/SHA1/reset/149 1540s ok 708 /checksum/SHA1/reset/150 1540s ok 709 /checksum/SHA1/reset/151 1540s ok 710 /checksum/SHA1/reset/152 1540s ok 711 /checksum/SHA1/reset/153 1540s ok 712 /checksum/SHA1/reset/154 1540s ok 713 /checksum/SHA1/reset/155 1540s ok 714 /checksum/SHA1/reset/156 1540s ok 715 /checksum/SHA1/reset/157 1540s ok 716 /checksum/SHA1/reset/158 1540s ok 717 /checksum/SHA1/reset/159 1540s ok 718 /checksum/SHA1/reset/160 1540s ok 719 /checksum/SHA1/reset/161 1540s ok 720 /checksum/SHA1/reset/162 1540s ok 721 /checksum/SHA1/reset/163 1540s ok 722 /checksum/SHA1/reset/164 1540s ok 723 /checksum/SHA1/reset/165 1540s ok 724 /checksum/SHA1/reset/166 1540s ok 725 /checksum/SHA1/reset/167 1540s ok 726 /checksum/SHA1/reset/168 1540s ok 727 /checksum/SHA1/reset/169 1540s ok 728 /checksum/SHA1/reset/170 1540s ok 729 /checksum/SHA1/reset/171 1540s ok 730 /checksum/SHA1/reset/172 1540s ok 731 /checksum/SHA1/reset/173 1540s ok 732 /checksum/SHA1/reset/174 1540s ok 733 /checksum/SHA1/reset/175 1540s ok 734 /checksum/SHA1/reset/176 1540s ok 735 /checksum/SHA1/reset/177 1540s ok 736 /checksum/SHA1/reset/178 1540s ok 737 /checksum/SHA1/reset/179 1540s ok 738 /checksum/SHA1/reset/180 1540s ok 739 /checksum/SHA1/reset/181 1540s ok 740 /checksum/SHA1/reset/182 1540s ok 741 /checksum/SHA1/reset/183 1540s # End of reset tests 1540s # End of SHA1 tests 1540s # Start of SHA256 tests 1540s ok 742 /checksum/SHA256/0 1540s ok 743 /checksum/SHA256/1 1540s ok 744 /checksum/SHA256/2 1540s ok 745 /checksum/SHA256/3 1540s ok 746 /checksum/SHA256/4 1540s ok 747 /checksum/SHA256/5 1540s ok 748 /checksum/SHA256/6 1540s ok 749 /checksum/SHA256/7 1540s ok 750 /checksum/SHA256/8 1540s ok 751 /checksum/SHA256/9 1540s ok 752 /checksum/SHA256/10 1540s ok 753 /checksum/SHA256/11 1540s ok 754 /checksum/SHA256/12 1540s ok 755 /checksum/SHA256/13 1540s ok 756 /checksum/SHA256/14 1540s ok 757 /checksum/SHA256/15 1540s ok 758 /checksum/SHA256/16 1540s ok 759 /checksum/SHA256/17 1540s ok 760 /checksum/SHA256/18 1540s ok 761 /checksum/SHA256/19 1540s ok 762 /checksum/SHA256/20 1540s ok 763 /checksum/SHA256/21 1540s ok 764 /checksum/SHA256/22 1540s ok 765 /checksum/SHA256/23 1540s ok 766 /checksum/SHA256/24 1540s ok 767 /checksum/SHA256/25 1540s ok 768 /checksum/SHA256/26 1540s ok 769 /checksum/SHA256/27 1540s ok 770 /checksum/SHA256/28 1540s ok 771 /checksum/SHA256/29 1540s ok 772 /checksum/SHA256/30 1540s ok 773 /checksum/SHA256/31 1540s ok 774 /checksum/SHA256/32 1540s ok 775 /checksum/SHA256/33 1540s ok 776 /checksum/SHA256/34 1540s ok 777 /checksum/SHA256/35 1540s ok 778 /checksum/SHA256/36 1540s ok 779 /checksum/SHA256/37 1540s ok 780 /checksum/SHA256/38 1540s ok 781 /checksum/SHA256/39 1540s ok 782 /checksum/SHA256/40 1540s ok 783 /checksum/SHA256/41 1540s ok 784 /checksum/SHA256/42 1540s ok 785 /checksum/SHA256/43 1540s ok 786 /checksum/SHA256/44 1540s ok 787 /checksum/SHA256/45 1540s ok 788 /checksum/SHA256/46 1540s ok 789 /checksum/SHA256/47 1540s ok 790 /checksum/SHA256/48 1540s ok 791 /checksum/SHA256/49 1540s ok 792 /checksum/SHA256/50 1540s ok 793 /checksum/SHA256/51 1540s ok 794 /checksum/SHA256/52 1540s ok 795 /checksum/SHA256/53 1540s ok 796 /checksum/SHA256/54 1540s ok 797 /checksum/SHA256/55 1540s ok 798 /checksum/SHA256/56 1540s ok 799 /checksum/SHA256/57 1540s ok 800 /checksum/SHA256/58 1540s ok 801 /checksum/SHA256/59 1540s ok 802 /checksum/SHA256/60 1540s ok 803 /checksum/SHA256/61 1540s ok 804 /checksum/SHA256/62 1540s ok 805 /checksum/SHA256/63 1540s ok 806 /checksum/SHA256/64 1540s ok 807 /checksum/SHA256/65 1540s ok 808 /checksum/SHA256/66 1540s ok 809 /checksum/SHA256/67 1540s ok 810 /checksum/SHA256/68 1540s ok 811 /checksum/SHA256/69 1540s ok 812 /checksum/SHA256/70 1540s ok 813 /checksum/SHA256/71 1540s ok 814 /checksum/SHA256/72 1540s ok 815 /checksum/SHA256/73 1540s ok 816 /checksum/SHA256/74 1540s ok 817 /checksum/SHA256/75 1540s ok 818 /checksum/SHA256/76 1540s ok 819 /checksum/SHA256/77 1540s ok 820 /checksum/SHA256/78 1540s ok 821 /checksum/SHA256/79 1540s ok 822 /checksum/SHA256/80 1540s ok 823 /checksum/SHA256/81 1540s ok 824 /checksum/SHA256/82 1540s ok 825 /checksum/SHA256/83 1540s ok 826 /checksum/SHA256/84 1540s ok 827 /checksum/SHA256/85 1540s ok 828 /checksum/SHA256/86 1540s ok 829 /checksum/SHA256/87 1540s ok 830 /checksum/SHA256/88 1540s ok 831 /checksum/SHA256/89 1540s ok 832 /checksum/SHA256/90 1540s ok 833 /checksum/SHA256/91 1540s ok 834 /checksum/SHA256/92 1540s ok 835 /checksum/SHA256/93 1540s ok 836 /checksum/SHA256/94 1540s ok 837 /checksum/SHA256/95 1540s ok 838 /checksum/SHA256/96 1540s ok 839 /checksum/SHA256/97 1540s ok 840 /checksum/SHA256/98 1540s ok 841 /checksum/SHA256/99 1540s ok 842 /checksum/SHA256/100 1540s ok 843 /checksum/SHA256/101 1540s ok 844 /checksum/SHA256/102 1540s ok 845 /checksum/SHA256/103 1540s ok 846 /checksum/SHA256/104 1540s ok 847 /checksum/SHA256/105 1540s ok 848 /checksum/SHA256/106 1540s ok 849 /checksum/SHA256/107 1540s ok 850 /checksum/SHA256/108 1540s ok 851 /checksum/SHA256/109 1540s ok 852 /checksum/SHA256/110 1540s ok 853 /checksum/SHA256/111 1540s ok 854 /checksum/SHA256/112 1540s ok 855 /checksum/SHA256/113 1540s ok 856 /checksum/SHA256/114 1540s ok 857 /checksum/SHA256/115 1540s ok 858 /checksum/SHA256/116 1540s ok 859 /checksum/SHA256/117 1540s ok 860 /checksum/SHA256/118 1540s ok 861 /checksum/SHA256/119 1540s ok 862 /checksum/SHA256/120 1540s ok 863 /checksum/SHA256/121 1540s ok 864 /checksum/SHA256/122 1540s ok 865 /checksum/SHA256/123 1540s ok 866 /checksum/SHA256/124 1540s ok 867 /checksum/SHA256/125 1540s ok 868 /checksum/SHA256/126 1540s ok 869 /checksum/SHA256/127 1540s ok 870 /checksum/SHA256/128 1540s ok 871 /checksum/SHA256/129 1540s ok 872 /checksum/SHA256/130 1540s ok 873 /checksum/SHA256/131 1540s ok 874 /checksum/SHA256/132 1540s ok 875 /checksum/SHA256/133 1540s ok 876 /checksum/SHA256/134 1540s ok 877 /checksum/SHA256/135 1540s ok 878 /checksum/SHA256/136 1540s ok 879 /checksum/SHA256/137 1540s ok 880 /checksum/SHA256/138 1540s ok 881 /checksum/SHA256/139 1540s ok 882 /checksum/SHA256/140 1540s ok 883 /checksum/SHA256/141 1540s ok 884 /checksum/SHA256/142 1540s ok 885 /checksum/SHA256/143 1540s ok 886 /checksum/SHA256/144 1540s ok 887 /checksum/SHA256/145 1540s ok 888 /checksum/SHA256/146 1540s ok 889 /checksum/SHA256/147 1540s ok 890 /checksum/SHA256/148 1540s ok 891 /checksum/SHA256/149 1540s ok 892 /checksum/SHA256/150 1540s ok 893 /checksum/SHA256/151 1540s ok 894 /checksum/SHA256/152 1540s ok 895 /checksum/SHA256/153 1540s ok 896 /checksum/SHA256/154 1540s ok 897 /checksum/SHA256/155 1540s ok 898 /checksum/SHA256/156 1540s ok 899 /checksum/SHA256/157 1540s ok 900 /checksum/SHA256/158 1540s ok 901 /checksum/SHA256/159 1540s ok 902 /checksum/SHA256/160 1540s ok 903 /checksum/SHA256/161 1540s ok 904 /checksum/SHA256/162 1540s ok 905 /checksum/SHA256/163 1540s ok 906 /checksum/SHA256/164 1540s ok 907 /checksum/SHA256/165 1540s ok 908 /checksum/SHA256/166 1540s ok 909 /checksum/SHA256/167 1540s ok 910 /checksum/SHA256/168 1540s ok 911 /checksum/SHA256/169 1540s ok 912 /checksum/SHA256/170 1540s ok 913 /checksum/SHA256/171 1540s ok 914 /checksum/SHA256/172 1540s ok 915 /checksum/SHA256/173 1540s ok 916 /checksum/SHA256/174 1540s ok 917 /checksum/SHA256/175 1540s ok 918 /checksum/SHA256/176 1540s ok 919 /checksum/SHA256/177 1540s ok 920 /checksum/SHA256/178 1540s ok 921 /checksum/SHA256/179 1540s ok 922 /checksum/SHA256/180 1540s ok 923 /checksum/SHA256/181 1540s ok 924 /checksum/SHA256/182 1540s ok 925 /checksum/SHA256/183 1540s ok 926 /checksum/SHA256/string 1540s ok 927 /checksum/SHA256/bytes 1540s # Start of reset tests 1540s ok 928 /checksum/SHA256/reset/0 1540s ok 929 /checksum/SHA256/reset/1 1540s ok 930 /checksum/SHA256/reset/2 1540s ok 931 /checksum/SHA256/reset/3 1540s ok 932 /checksum/SHA256/reset/4 1540s ok 933 /checksum/SHA256/reset/5 1540s ok 934 /checksum/SHA256/reset/6 1540s ok 935 /checksum/SHA256/reset/7 1540s ok 936 /checksum/SHA256/reset/8 1540s ok 937 /checksum/SHA256/reset/9 1540s ok 938 /checksum/SHA256/reset/10 1540s ok 939 /checksum/SHA256/reset/11 1540s ok 940 /checksum/SHA256/reset/12 1540s ok 941 /checksum/SHA256/reset/13 1540s ok 942 /checksum/SHA256/reset/14 1540s ok 943 /checksum/SHA256/reset/15 1540s ok 944 /checksum/SHA256/reset/16 1540s ok 945 /checksum/SHA256/reset/17 1540s ok 946 /checksum/SHA256/reset/18 1540s ok 947 /checksum/SHA256/reset/19 1540s ok 948 /checksum/SHA256/reset/20 1540s ok 949 /checksum/SHA256/reset/21 1540s ok 950 /checksum/SHA256/reset/22 1540s ok 951 /checksum/SHA256/reset/23 1540s ok 952 /checksum/SHA256/reset/24 1540s ok 953 /checksum/SHA256/reset/25 1540s ok 954 /checksum/SHA256/reset/26 1540s ok 955 /checksum/SHA256/reset/27 1540s ok 956 /checksum/SHA256/reset/28 1540s ok 957 /checksum/SHA256/reset/29 1540s ok 958 /checksum/SHA256/reset/30 1540s ok 959 /checksum/SHA256/reset/31 1540s ok 960 /checksum/SHA256/reset/32 1540s ok 961 /checksum/SHA256/reset/33 1540s ok 962 /checksum/SHA256/reset/34 1540s ok 963 /checksum/SHA256/reset/35 1540s ok 964 /checksum/SHA256/reset/36 1540s ok 965 /checksum/SHA256/reset/37 1540s ok 966 /checksum/SHA256/reset/38 1540s ok 967 /checksum/SHA256/reset/39 1540s ok 968 /checksum/SHA256/reset/40 1540s ok 969 /checksum/SHA256/reset/41 1540s ok 970 /checksum/SHA256/reset/42 1540s ok 971 /checksum/SHA256/reset/43 1540s ok 972 /checksum/SHA256/reset/44 1540s ok 973 /checksum/SHA256/reset/45 1540s ok 974 /checksum/SHA256/reset/46 1540s ok 975 /checksum/SHA256/reset/47 1540s ok 976 /checksum/SHA256/reset/48 1540s ok 977 /checksum/SHA256/reset/49 1540s ok 978 /checksum/SHA256/reset/50 1540s ok 979 /checksum/SHA256/reset/51 1540s ok 980 /checksum/SHA256/reset/52 1540s ok 981 /checksum/SHA256/reset/53 1540s ok 982 /checksum/SHA256/reset/54 1540s ok 983 /checksum/SHA256/reset/55 1540s ok 984 /checksum/SHA256/reset/56 1540s ok 985 /checksum/SHA256/reset/57 1540s ok 986 /checksum/SHA256/reset/58 1540s ok 987 /checksum/SHA256/reset/59 1540s ok 988 /checksum/SHA256/reset/60 1540s ok 989 /checksum/SHA256/reset/61 1540s ok 990 /checksum/SHA256/reset/62 1540s ok 991 /checksum/SHA256/reset/63 1540s ok 992 /checksum/SHA256/reset/64 1540s ok 993 /checksum/SHA256/reset/65 1540s ok 994 /checksum/SHA256/reset/66 1540s ok 995 /checksum/SHA256/reset/67 1540s ok 996 /checksum/SHA256/reset/68 1540s ok 997 /checksum/SHA256/reset/69 1540s ok 998 /checksum/SHA256/reset/70 1540s ok 999 /checksum/SHA256/reset/71 1540s ok 1000 /checksum/SHA256/reset/72 1540s ok 1001 /checksum/SHA256/reset/73 1540s ok 1002 /checksum/SHA256/reset/74 1540s ok 1003 /checksum/SHA256/reset/75 1540s ok 1004 /checksum/SHA256/reset/76 1540s ok 1005 /checksum/SHA256/reset/77 1540s ok 1006 /checksum/SHA256/reset/78 1540s ok 1007 /checksum/SHA256/reset/79 1540s ok 1008 /checksum/SHA256/reset/80 1540s ok 1009 /checksum/SHA256/reset/81 1540s ok 1010 /checksum/SHA256/reset/82 1540s ok 1011 /checksum/SHA256/reset/83 1540s ok 1012 /checksum/SHA256/reset/84 1540s ok 1013 /checksum/SHA256/reset/85 1540s ok 1014 /checksum/SHA256/reset/86 1540s ok 1015 /checksum/SHA256/reset/87 1540s ok 1016 /checksum/SHA256/reset/88 1540s ok 1017 /checksum/SHA256/reset/89 1540s ok 1018 /checksum/SHA256/reset/90 1540s ok 1019 /checksum/SHA256/reset/91 1540s ok 1020 /checksum/SHA256/reset/92 1540s ok 1021 /checksum/SHA256/reset/93 1540s ok 1022 /checksum/SHA256/reset/94 1540s ok 1023 /checksum/SHA256/reset/95 1540s ok 1024 /checksum/SHA256/reset/96 1540s ok 1025 /checksum/SHA256/reset/97 1540s ok 1026 /checksum/SHA256/reset/98 1540s ok 1027 /checksum/SHA256/reset/99 1540s ok 1028 /checksum/SHA256/reset/100 1540s ok 1029 /checksum/SHA256/reset/101 1540s ok 1030 /checksum/SHA256/reset/102 1540s ok 1031 /checksum/SHA256/reset/103 1540s ok 1032 /checksum/SHA256/reset/104 1540s ok 1033 /checksum/SHA256/reset/105 1540s ok 1034 /checksum/SHA256/reset/106 1540s ok 1035 /checksum/SHA256/reset/107 1540s ok 1036 /checksum/SHA256/reset/108 1540s ok 1037 /checksum/SHA256/reset/109 1540s ok 1038 /checksum/SHA256/reset/110 1540s ok 1039 /checksum/SHA256/reset/111 1540s ok 1040 /checksum/SHA256/reset/112 1540s ok 1041 /checksum/SHA256/reset/113 1540s ok 1042 /checksum/SHA256/reset/114 1540s ok 1043 /checksum/SHA256/reset/115 1540s ok 1044 /checksum/SHA256/reset/116 1540s ok 1045 /checksum/SHA256/reset/117 1540s ok 1046 /checksum/SHA256/reset/118 1540s ok 1047 /checksum/SHA256/reset/119 1540s ok 1048 /checksum/SHA256/reset/120 1540s ok 1049 /checksum/SHA256/reset/121 1540s ok 1050 /checksum/SHA256/reset/122 1540s ok 1051 /checksum/SHA256/reset/123 1540s ok 1052 /checksum/SHA256/reset/124 1540s ok 1053 /checksum/SHA256/reset/125 1540s ok 1054 /checksum/SHA256/reset/126 1540s ok 1055 /checksum/SHA256/reset/127 1540s ok 1056 /checksum/SHA256/reset/128 1540s ok 1057 /checksum/SHA256/reset/129 1540s ok 1058 /checksum/SHA256/reset/130 1540s ok 1059 /checksum/SHA256/reset/131 1540s ok 1060 /checksum/SHA256/reset/132 1540s ok 1061 /checksum/SHA256/reset/133 1540s ok 1062 /checksum/SHA256/reset/134 1540s ok 1063 /checksum/SHA256/reset/135 1540s ok 1064 /checksum/SHA256/reset/136 1540s ok 1065 /checksum/SHA256/reset/137 1540s ok 1066 /checksum/SHA256/reset/138 1540s ok 1067 /checksum/SHA256/reset/139 1540s ok 1068 /checksum/SHA256/reset/140 1540s ok 1069 /checksum/SHA256/reset/141 1540s ok 1070 /checksum/SHA256/reset/142 1540s ok 1071 /checksum/SHA256/reset/143 1540s ok 1072 /checksum/SHA256/reset/144 1540s ok 1073 /checksum/SHA256/reset/145 1540s ok 1074 /checksum/SHA256/reset/146 1540s ok 1075 /checksum/SHA256/reset/147 1540s ok 1076 /checksum/SHA256/reset/148 1540s ok 1077 /checksum/SHA256/reset/149 1540s ok 1078 /checksum/SHA256/reset/150 1540s ok 1079 /checksum/SHA256/reset/151 1540s ok 1080 /checksum/SHA256/reset/152 1540s ok 1081 /checksum/SHA256/reset/153 1540s ok 1082 /checksum/SHA256/reset/154 1540s ok 1083 /checksum/SHA256/reset/155 1540s ok 1084 /checksum/SHA256/reset/156 1540s ok 1085 /checksum/SHA256/reset/157 1540s ok 1086 /checksum/SHA256/reset/158 1540s ok 1087 /checksum/SHA256/reset/159 1540s ok 1088 /checksum/SHA256/reset/160 1540s ok 1089 /checksum/SHA256/reset/161 1540s ok 1090 /checksum/SHA256/reset/162 1540s ok 1091 /checksum/SHA256/reset/163 1540s ok 1092 /checksum/SHA256/reset/164 1540s ok 1093 /checksum/SHA256/reset/165 1540s ok 1094 /checksum/SHA256/reset/166 1540s ok 1095 /checksum/SHA256/reset/167 1540s ok 1096 /checksum/SHA256/reset/168 1540s ok 1097 /checksum/SHA256/reset/169 1540s ok 1098 /checksum/SHA256/reset/170 1540s ok 1099 /checksum/SHA256/reset/171 1540s ok 1100 /checksum/SHA256/reset/172 1540s ok 1101 /checksum/SHA256/reset/173 1540s ok 1102 /checksum/SHA256/reset/174 1540s ok 1103 /checksum/SHA256/reset/175 1540s ok 1104 /checksum/SHA256/reset/176 1540s ok 1105 /checksum/SHA256/reset/177 1540s ok 1106 /checksum/SHA256/reset/178 1540s ok 1107 /checksum/SHA256/reset/179 1540s ok 1108 /checksum/SHA256/reset/180 1540s ok 1109 /checksum/SHA256/reset/181 1540s ok 1110 /checksum/SHA256/reset/182 1540s ok 1111 /checksum/SHA256/reset/183 1540s # End of reset tests 1540s # End of SHA256 tests 1540s # Start of SHA384 tests 1540s ok 1112 /checksum/SHA384/0 1540s ok 1113 /checksum/SHA384/1 1540s ok 1114 /checksum/SHA384/2 1540s ok 1115 /checksum/SHA384/3 1540s ok 1116 /checksum/SHA384/4 1540s ok 1117 /checksum/SHA384/5 1540s ok 1118 /checksum/SHA384/6 1540s ok 1119 /checksum/SHA384/7 1540s ok 1120 /checksum/SHA384/8 1540s ok 1121 /checksum/SHA384/9 1540s ok 1122 /checksum/SHA384/10 1540s ok 1123 /checksum/SHA384/11 1540s ok 1124 /checksum/SHA384/12 1540s ok 1125 /checksum/SHA384/13 1540s ok 1126 /checksum/SHA384/14 1540s ok 1127 /checksum/SHA384/15 1540s ok 1128 /checksum/SHA384/16 1540s ok 1129 /checksum/SHA384/17 1540s ok 1130 /checksum/SHA384/18 1540s ok 1131 /checksum/SHA384/19 1540s ok 1132 /checksum/SHA384/20 1540s ok 1133 /checksum/SHA384/21 1540s ok 1134 /checksum/SHA384/22 1540s ok 1135 /checksum/SHA384/23 1540s ok 1136 /checksum/SHA384/24 1540s ok 1137 /checksum/SHA384/25 1540s ok 1138 /checksum/SHA384/26 1540s ok 1139 /checksum/SHA384/27 1540s ok 1140 /checksum/SHA384/28 1540s ok 1141 /checksum/SHA384/29 1540s ok 1142 /checksum/SHA384/30 1540s ok 1143 /checksum/SHA384/31 1540s ok 1144 /checksum/SHA384/32 1540s ok 1145 /checksum/SHA384/33 1540s ok 1146 /checksum/SHA384/34 1540s ok 1147 /checksum/SHA384/35 1540s ok 1148 /checksum/SHA384/36 1540s ok 1149 /checksum/SHA384/37 1540s ok 1150 /checksum/SHA384/38 1540s ok 1151 /checksum/SHA384/39 1540s ok 1152 /checksum/SHA384/40 1540s ok 1153 /checksum/SHA384/41 1540s ok 1154 /checksum/SHA384/42 1540s ok 1155 /checksum/SHA384/43 1540s ok 1156 /checksum/SHA384/44 1540s ok 1157 /checksum/SHA384/45 1540s ok 1158 /checksum/SHA384/46 1540s ok 1159 /checksum/SHA384/47 1540s ok 1160 /checksum/SHA384/48 1540s ok 1161 /checksum/SHA384/49 1540s ok 1162 /checksum/SHA384/50 1540s ok 1163 /checksum/SHA384/51 1540s ok 1164 /checksum/SHA384/52 1540s ok 1165 /checksum/SHA384/53 1540s ok 1166 /checksum/SHA384/54 1540s ok 1167 /checksum/SHA384/55 1540s ok 1168 /checksum/SHA384/56 1540s ok 1169 /checksum/SHA384/57 1540s ok 1170 /checksum/SHA384/58 1540s ok 1171 /checksum/SHA384/59 1540s ok 1172 /checksum/SHA384/60 1540s ok 1173 /checksum/SHA384/61 1540s ok 1174 /checksum/SHA384/62 1540s ok 1175 /checksum/SHA384/63 1540s ok 1176 /checksum/SHA384/64 1540s ok 1177 /checksum/SHA384/65 1540s ok 1178 /checksum/SHA384/66 1540s ok 1179 /checksum/SHA384/67 1540s ok 1180 /checksum/SHA384/68 1540s ok 1181 /checksum/SHA384/69 1540s ok 1182 /checksum/SHA384/70 1540s ok 1183 /checksum/SHA384/71 1540s ok 1184 /checksum/SHA384/72 1540s ok 1185 /checksum/SHA384/73 1540s ok 1186 /checksum/SHA384/74 1540s ok 1187 /checksum/SHA384/75 1540s ok 1188 /checksum/SHA384/76 1540s ok 1189 /checksum/SHA384/77 1540s ok 1190 /checksum/SHA384/78 1540s ok 1191 /checksum/SHA384/79 1540s ok 1192 /checksum/SHA384/80 1540s ok 1193 /checksum/SHA384/81 1540s ok 1194 /checksum/SHA384/82 1540s ok 1195 /checksum/SHA384/83 1540s ok 1196 /checksum/SHA384/84 1540s ok 1197 /checksum/SHA384/85 1540s ok 1198 /checksum/SHA384/86 1540s ok 1199 /checksum/SHA384/87 1540s ok 1200 /checksum/SHA384/88 1540s ok 1201 /checksum/SHA384/89 1540s ok 1202 /checksum/SHA384/90 1540s ok 1203 /checksum/SHA384/91 1540s ok 1204 /checksum/SHA384/92 1540s ok 1205 /checksum/SHA384/93 1540s ok 1206 /checksum/SHA384/94 1540s ok 1207 /checksum/SHA384/95 1540s ok 1208 /checksum/SHA384/96 1540s ok 1209 /checksum/SHA384/97 1540s ok 1210 /checksum/SHA384/98 1540s ok 1211 /checksum/SHA384/99 1540s ok 1212 /checksum/SHA384/100 1540s ok 1213 /checksum/SHA384/101 1540s ok 1214 /checksum/SHA384/102 1540s ok 1215 /checksum/SHA384/103 1540s ok 1216 /checksum/SHA384/104 1540s ok 1217 /checksum/SHA384/105 1540s ok 1218 /checksum/SHA384/106 1540s ok 1219 /checksum/SHA384/107 1540s ok 1220 /checksum/SHA384/108 1540s ok 1221 /checksum/SHA384/109 1540s ok 1222 /checksum/SHA384/110 1540s ok 1223 /checksum/SHA384/111 1540s ok 1224 /checksum/SHA384/112 1540s ok 1225 /checksum/SHA384/113 1540s ok 1226 /checksum/SHA384/114 1540s ok 1227 /checksum/SHA384/115 1540s ok 1228 /checksum/SHA384/116 1540s ok 1229 /checksum/SHA384/117 1540s ok 1230 /checksum/SHA384/118 1540s ok 1231 /checksum/SHA384/119 1540s ok 1232 /checksum/SHA384/120 1540s ok 1233 /checksum/SHA384/121 1540s ok 1234 /checksum/SHA384/122 1540s ok 1235 /checksum/SHA384/123 1540s ok 1236 /checksum/SHA384/124 1540s ok 1237 /checksum/SHA384/125 1540s ok 1238 /checksum/SHA384/126 1540s ok 1239 /checksum/SHA384/127 1540s ok 1240 /checksum/SHA384/128 1540s ok 1241 /checksum/SHA384/129 1540s ok 1242 /checksum/SHA384/130 1540s ok 1243 /checksum/SHA384/131 1540s ok 1244 /checksum/SHA384/132 1540s ok 1245 /checksum/SHA384/133 1540s ok 1246 /checksum/SHA384/134 1540s ok 1247 /checksum/SHA384/135 1540s ok 1248 /checksum/SHA384/136 1540s ok 1249 /checksum/SHA384/137 1540s ok 1250 /checksum/SHA384/138 1540s ok 1251 /checksum/SHA384/139 1540s ok 1252 /checksum/SHA384/140 1540s ok 1253 /checksum/SHA384/141 1540s ok 1254 /checksum/SHA384/142 1540s ok 1255 /checksum/SHA384/143 1540s ok 1256 /checksum/SHA384/144 1540s ok 1257 /checksum/SHA384/145 1540s ok 1258 /checksum/SHA384/146 1540s ok 1259 /checksum/SHA384/147 1540s ok 1260 /checksum/SHA384/148 1540s ok 1261 /checksum/SHA384/149 1540s ok 1262 /checksum/SHA384/150 1540s ok 1263 /checksum/SHA384/151 1540s ok 1264 /checksum/SHA384/152 1540s ok 1265 /checksum/SHA384/153 1540s ok 1266 /checksum/SHA384/154 1540s ok 1267 /checksum/SHA384/155 1540s ok 1268 /checksum/SHA384/156 1540s ok 1269 /checksum/SHA384/157 1540s ok 1270 /checksum/SHA384/158 1540s ok 1271 /checksum/SHA384/159 1540s ok 1272 /checksum/SHA384/160 1540s ok 1273 /checksum/SHA384/161 1540s ok 1274 /checksum/SHA384/162 1540s ok 1275 /checksum/SHA384/163 1540s ok 1276 /checksum/SHA384/164 1540s ok 1277 /checksum/SHA384/165 1540s ok 1278 /checksum/SHA384/166 1540s ok 1279 /checksum/SHA384/167 1540s ok 1280 /checksum/SHA384/168 1540s ok 1281 /checksum/SHA384/169 1540s ok 1282 /checksum/SHA384/170 1540s ok 1283 /checksum/SHA384/171 1540s ok 1284 /checksum/SHA384/172 1540s ok 1285 /checksum/SHA384/173 1540s ok 1286 /checksum/SHA384/174 1540s ok 1287 /checksum/SHA384/175 1540s ok 1288 /checksum/SHA384/176 1540s ok 1289 /checksum/SHA384/177 1540s ok 1290 /checksum/SHA384/178 1540s ok 1291 /checksum/SHA384/179 1540s ok 1292 /checksum/SHA384/180 1540s ok 1293 /checksum/SHA384/181 1540s ok 1294 /checksum/SHA384/182 1540s ok 1295 /checksum/SHA384/183 1540s ok 1296 /checksum/SHA384/string 1540s ok 1297 /checksum/SHA384/bytes 1540s # Start of reset tests 1540s ok 1298 /checksum/SHA384/reset/0 1540s ok 1299 /checksum/SHA384/reset/1 1540s ok 1300 /checksum/SHA384/reset/2 1540s ok 1301 /checksum/SHA384/reset/3 1540s ok 1302 /checksum/SHA384/reset/4 1540s ok 1303 /checksum/SHA384/reset/5 1540s ok 1304 /checksum/SHA384/reset/6 1540s ok 1305 /checksum/SHA384/reset/7 1540s ok 1306 /checksum/SHA384/reset/8 1540s ok 1307 /checksum/SHA384/reset/9 1540s ok 1308 /checksum/SHA384/reset/10 1540s ok 1309 /checksum/SHA384/reset/11 1540s ok 1310 /checksum/SHA384/reset/12 1540s ok 1311 /checksum/SHA384/reset/13 1540s ok 1312 /checksum/SHA384/reset/14 1540s ok 1313 /checksum/SHA384/reset/15 1540s ok 1314 /checksum/SHA384/reset/16 1540s ok 1315 /checksum/SHA384/reset/17 1540s ok 1316 /checksum/SHA384/reset/18 1540s ok 1317 /checksum/SHA384/reset/19 1540s ok 1318 /checksum/SHA384/reset/20 1540s ok 1319 /checksum/SHA384/reset/21 1540s ok 1320 /checksum/SHA384/reset/22 1540s ok 1321 /checksum/SHA384/reset/23 1540s ok 1322 /checksum/SHA384/reset/24 1540s ok 1323 /checksum/SHA384/reset/25 1540s ok 1324 /checksum/SHA384/reset/26 1540s ok 1325 /checksum/SHA384/reset/27 1540s ok 1326 /checksum/SHA384/reset/28 1540s ok 1327 /checksum/SHA384/reset/29 1540s ok 1328 /checksum/SHA384/reset/30 1540s ok 1329 /checksum/SHA384/reset/31 1540s ok 1330 /checksum/SHA384/reset/32 1540s ok 1331 /checksum/SHA384/reset/33 1540s ok 1332 /checksum/SHA384/reset/34 1540s ok 1333 /checksum/SHA384/reset/35 1540s ok 1334 /checksum/SHA384/reset/36 1540s ok 1335 /checksum/SHA384/reset/37 1540s ok 1336 /checksum/SHA384/reset/38 1540s ok 1337 /checksum/SHA384/reset/39 1540s ok 1338 /checksum/SHA384/reset/40 1540s ok 1339 /checksum/SHA384/reset/41 1540s ok 1340 /checksum/SHA384/reset/42 1540s ok 1341 /checksum/SHA384/reset/43 1540s ok 1342 /checksum/SHA384/reset/44 1540s ok 1343 /checksum/SHA384/reset/45 1540s ok 1344 /checksum/SHA384/reset/46 1540s ok 1345 /checksum/SHA384/reset/47 1540s ok 1346 /checksum/SHA384/reset/48 1540s ok 1347 /checksum/SHA384/reset/49 1540s ok 1348 /checksum/SHA384/reset/50 1540s ok 1349 /checksum/SHA384/reset/51 1540s ok 1350 /checksum/SHA384/reset/52 1540s ok 1351 /checksum/SHA384/reset/53 1540s ok 1352 /checksum/SHA384/reset/54 1540s ok 1353 /checksum/SHA384/reset/55 1540s ok 1354 /checksum/SHA384/reset/56 1540s ok 1355 /checksum/SHA384/reset/57 1540s ok 1356 /checksum/SHA384/reset/58 1540s ok 1357 /checksum/SHA384/reset/59 1540s ok 1358 /checksum/SHA384/reset/60 1540s ok 1359 /checksum/SHA384/reset/61 1540s ok 1360 /checksum/SHA384/reset/62 1540s ok 1361 /checksum/SHA384/reset/63 1540s ok 1362 /checksum/SHA384/reset/64 1540s ok 1363 /checksum/SHA384/reset/65 1540s ok 1364 /checksum/SHA384/reset/66 1540s ok 1365 /checksum/SHA384/reset/67 1540s ok 1366 /checksum/SHA384/reset/68 1540s ok 1367 /checksum/SHA384/reset/69 1540s ok 1368 /checksum/SHA384/reset/70 1540s ok 1369 /checksum/SHA384/reset/71 1540s ok 1370 /checksum/SHA384/reset/72 1540s ok 1371 /checksum/SHA384/reset/73 1540s ok 1372 /checksum/SHA384/reset/74 1540s ok 1373 /checksum/SHA384/reset/75 1540s ok 1374 /checksum/SHA384/reset/76 1540s ok 1375 /checksum/SHA384/reset/77 1540s ok 1376 /checksum/SHA384/reset/78 1540s ok 1377 /checksum/SHA384/reset/79 1540s ok 1378 /checksum/SHA384/reset/80 1540s ok 1379 /checksum/SHA384/reset/81 1540s ok 1380 /checksum/SHA384/reset/82 1540s ok 1381 /checksum/SHA384/reset/83 1540s ok 1382 /checksum/SHA384/reset/84 1540s ok 1383 /checksum/SHA384/reset/85 1540s ok 1384 /checksum/SHA384/reset/86 1540s ok 1385 /checksum/SHA384/reset/87 1540s ok 1386 /checksum/SHA384/reset/88 1540s ok 1387 /checksum/SHA384/reset/89 1540s ok 1388 /checksum/SHA384/reset/90 1540s ok 1389 /checksum/SHA384/reset/91 1540s ok 1390 /checksum/SHA384/reset/92 1540s ok 1391 /checksum/SHA384/reset/93 1540s ok 1392 /checksum/SHA384/reset/94 1540s ok 1393 /checksum/SHA384/reset/95 1540s ok 1394 /checksum/SHA384/reset/96 1540s ok 1395 /checksum/SHA384/reset/97 1540s ok 1396 /checksum/SHA384/reset/98 1540s ok 1397 /checksum/SHA384/reset/99 1540s ok 1398 /checksum/SHA384/reset/100 1540s ok 1399 /checksum/SHA384/reset/101 1540s ok 1400 /checksum/SHA384/reset/102 1540s ok 1401 /checksum/SHA384/reset/103 1540s ok 1402 /checksum/SHA384/reset/104 1540s ok 1403 /checksum/SHA384/reset/105 1540s ok 1404 /checksum/SHA384/reset/106 1540s ok 1405 /checksum/SHA384/reset/107 1540s ok 1406 /checksum/SHA384/reset/108 1540s ok 1407 /checksum/SHA384/reset/109 1540s ok 1408 /checksum/SHA384/reset/110 1540s ok 1409 /checksum/SHA384/reset/111 1540s ok 1410 /checksum/SHA384/reset/112 1540s ok 1411 /checksum/SHA384/reset/113 1540s ok 1412 /checksum/SHA384/reset/114 1540s ok 1413 /checksum/SHA384/reset/115 1540s ok 1414 /checksum/SHA384/reset/116 1540s ok 1415 /checksum/SHA384/reset/117 1540s ok 1416 /checksum/SHA384/reset/118 1540s ok 1417 /checksum/SHA384/reset/119 1540s ok 1418 /checksum/SHA384/reset/120 1540s ok 1419 /checksum/SHA384/reset/121 1540s ok 1420 /checksum/SHA384/reset/122 1540s ok 1421 /checksum/SHA384/reset/123 1540s ok 1422 /checksum/SHA384/reset/124 1540s ok 1423 /checksum/SHA384/reset/125 1540s ok 1424 /checksum/SHA384/reset/126 1540s ok 1425 /checksum/SHA384/reset/127 1540s ok 1426 /checksum/SHA384/reset/128 1540s ok 1427 /checksum/SHA384/reset/129 1540s ok 1428 /checksum/SHA384/reset/130 1540s ok 1429 /checksum/SHA384/reset/131 1540s ok 1430 /checksum/SHA384/reset/132 1540s ok 1431 /checksum/SHA384/reset/133 1540s ok 1432 /checksum/SHA384/reset/134 1540s ok 1433 /checksum/SHA384/reset/135 1540s ok 1434 /checksum/SHA384/reset/136 1540s ok 1435 /checksum/SHA384/reset/137 1540s ok 1436 /checksum/SHA384/reset/138 1540s ok 1437 /checksum/SHA384/reset/139 1540s ok 1438 /checksum/SHA384/reset/140 1540s ok 1439 /checksum/SHA384/reset/141 1540s ok 1440 /checksum/SHA384/reset/142 1540s ok 1441 /checksum/SHA384/reset/143 1540s ok 1442 /checksum/SHA384/reset/144 1540s ok 1443 /checksum/SHA384/reset/145 1540s ok 1444 /checksum/SHA384/reset/146 1540s ok 1445 /checksum/SHA384/reset/147 1540s ok 1446 /checksum/SHA384/reset/148 1540s ok 1447 /checksum/SHA384/reset/149 1540s ok 1448 /checksum/SHA384/reset/150 1540s ok 1449 /checksum/SHA384/reset/151 1540s ok 1450 /checksum/SHA384/reset/152 1540s ok 1451 /checksum/SHA384/reset/153 1540s ok 1452 /checksum/SHA384/reset/154 1540s ok 1453 /checksum/SHA384/reset/155 1540s ok 1454 /checksum/SHA384/reset/156 1540s ok 1455 /checksum/SHA384/reset/157 1540s ok 1456 /checksum/SHA384/reset/158 1540s ok 1457 /checksum/SHA384/reset/159 1540s ok 1458 /checksum/SHA384/reset/160 1540s ok 1459 /checksum/SHA384/reset/161 1540s ok 1460 /checksum/SHA384/reset/162 1540s ok 1461 /checksum/SHA384/reset/163 1540s ok 1462 /checksum/SHA384/reset/164 1540s ok 1463 /checksum/SHA384/reset/165 1540s ok 1464 /checksum/SHA384/reset/166 1540s ok 1465 /checksum/SHA384/reset/167 1540s ok 1466 /checksum/SHA384/reset/168 1540s ok 1467 /checksum/SHA384/reset/169 1540s ok 1468 /checksum/SHA384/reset/170 1540s ok 1469 /checksum/SHA384/reset/171 1540s ok 1470 /checksum/SHA384/reset/172 1540s ok 1471 /checksum/SHA384/reset/173 1540s ok 1472 /checksum/SHA384/reset/174 1540s ok 1473 /checksum/SHA384/reset/175 1540s ok 1474 /checksum/SHA384/reset/176 1540s ok 1475 /checksum/SHA384/reset/177 1540s ok 1476 /checksum/SHA384/reset/178 1540s ok 1477 /checksum/SHA384/reset/179 1540s ok 1478 /checksum/SHA384/reset/180 1540s ok 1479 /checksum/SHA384/reset/181 1540s ok 1480 /checksum/SHA384/reset/182 1540s ok 1481 /checksum/SHA384/reset/183 1540s # End of reset tests 1540s # End of SHA384 tests 1540s # Start of SHA512 tests 1540s ok 1482 /checksum/SHA512/0 1540s ok 1483 /checksum/SHA512/1 1540s ok 1484 /checksum/SHA512/2 1540s ok 1485 /checksum/SHA512/3 1540s ok 1486 /checksum/SHA512/4 1540s ok 1487 /checksum/SHA512/5 1540s ok 1488 /checksum/SHA512/6 1540s ok 1489 /checksum/SHA512/7 1540s ok 1490 /checksum/SHA512/8 1540s ok 1491 /checksum/SHA512/9 1540s ok 1492 /checksum/SHA512/10 1540s ok 1493 /checksum/SHA512/11 1540s ok 1494 /checksum/SHA512/12 1540s ok 1495 /checksum/SHA512/13 1540s ok 1496 /checksum/SHA512/14 1540s ok 1497 /checksum/SHA512/15 1540s ok 1498 /checksum/SHA512/16 1540s ok 1499 /checksum/SHA512/17 1540s ok 1500 /checksum/SHA512/18 1540s ok 1501 /checksum/SHA512/19 1540s ok 1502 /checksum/SHA512/20 1540s ok 1503 /checksum/SHA512/21 1540s ok 1504 /checksum/SHA512/22 1540s ok 1505 /checksum/SHA512/23 1540s ok 1506 /checksum/SHA512/24 1540s ok 1507 /checksum/SHA512/25 1540s ok 1508 /checksum/SHA512/26 1540s ok 1509 /checksum/SHA512/27 1540s ok 1510 /checksum/SHA512/28 1540s ok 1511 /checksum/SHA512/29 1540s ok 1512 /checksum/SHA512/30 1540s ok 1513 /checksum/SHA512/31 1540s ok 1514 /checksum/SHA512/32 1540s ok 1515 /checksum/SHA512/33 1540s ok 1516 /checksum/SHA512/34 1540s ok 1517 /checksum/SHA512/35 1540s ok 1518 /checksum/SHA512/36 1540s ok 1519 /checksum/SHA512/37 1540s ok 1520 /checksum/SHA512/38 1540s ok 1521 /checksum/SHA512/39 1540s ok 1522 /checksum/SHA512/40 1540s ok 1523 /checksum/SHA512/41 1540s ok 1524 /checksum/SHA512/42 1540s ok 1525 /checksum/SHA512/43 1540s ok 1526 /checksum/SHA512/44 1540s ok 1527 /checksum/SHA512/45 1540s ok 1528 /checksum/SHA512/46 1540s ok 1529 /checksum/SHA512/47 1540s ok 1530 /checksum/SHA512/48 1540s ok 1531 /checksum/SHA512/49 1540s ok 1532 /checksum/SHA512/50 1540s ok 1533 /checksum/SHA512/51 1540s ok 1534 /checksum/SHA512/52 1540s ok 1535 /checksum/SHA512/53 1540s ok 1536 /checksum/SHA512/54 1540s ok 1537 /checksum/SHA512/55 1540s ok 1538 /checksum/SHA512/56 1540s ok 1539 /checksum/SHA512/57 1540s ok 1540 /checksum/SHA512/58 1540s ok 1541 /checksum/SHA512/59 1540s ok 1542 /checksum/SHA512/60 1540s ok 1543 /checksum/SHA512/61 1540s ok 1544 /checksum/SHA512/62 1540s ok 1545 /checksum/SHA512/63 1540s ok 1546 /checksum/SHA512/64 1540s ok 1547 /checksum/SHA512/65 1540s ok 1548 /checksum/SHA512/66 1540s ok 1549 /checksum/SHA512/67 1540s ok 1550 /checksum/SHA512/68 1540s ok 1551 /checksum/SHA512/69 1540s ok 1552 /checksum/SHA512/70 1540s ok 1553 /checksum/SHA512/71 1540s ok 1554 /checksum/SHA512/72 1540s ok 1555 /checksum/SHA512/73 1540s ok 1556 /checksum/SHA512/74 1540s ok 1557 /checksum/SHA512/75 1540s ok 1558 /checksum/SHA512/76 1540s ok 1559 /checksum/SHA512/77 1540s ok 1560 /checksum/SHA512/78 1540s ok 1561 /checksum/SHA512/79 1540s ok 1562 /checksum/SHA512/80 1540s ok 1563 /checksum/SHA512/81 1540s ok 1564 /checksum/SHA512/82 1540s ok 1565 /checksum/SHA512/83 1540s ok 1566 /checksum/SHA512/84 1540s ok 1567 /checksum/SHA512/85 1540s ok 1568 /checksum/SHA512/86 1540s ok 1569 /checksum/SHA512/87 1540s ok 1570 /checksum/SHA512/88 1540s ok 1571 /checksum/SHA512/89 1540s ok 1572 /checksum/SHA512/90 1540s ok 1573 /checksum/SHA512/91 1540s ok 1574 /checksum/SHA512/92 1540s ok 1575 /checksum/SHA512/93 1540s ok 1576 /checksum/SHA512/94 1540s ok 1577 /checksum/SHA512/95 1540s ok 1578 /checksum/SHA512/96 1540s ok 1579 /checksum/SHA512/97 1540s ok 1580 /checksum/SHA512/98 1540s ok 1581 /checksum/SHA512/99 1540s ok 1582 /checksum/SHA512/100 1540s ok 1583 /checksum/SHA512/101 1540s ok 1584 /checksum/SHA512/102 1540s ok 1585 /checksum/SHA512/103 1540s ok 1586 /checksum/SHA512/104 1540s ok 1587 /checksum/SHA512/105 1540s ok 1588 /checksum/SHA512/106 1540s ok 1589 /checksum/SHA512/107 1540s ok 1590 /checksum/SHA512/108 1540s ok 1591 /checksum/SHA512/109 1540s ok 1592 /checksum/SHA512/110 1540s ok 1593 /checksum/SHA512/111 1540s ok 1594 /checksum/SHA512/112 1540s ok 1595 /checksum/SHA512/113 1540s ok 1596 /checksum/SHA512/114 1540s ok 1597 /checksum/SHA512/115 1540s ok 1598 /checksum/SHA512/116 1540s ok 1599 /checksum/SHA512/117 1540s ok 1600 /checksum/SHA512/118 1540s ok 1601 /checksum/SHA512/119 1540s ok 1602 /checksum/SHA512/120 1540s ok 1603 /checksum/SHA512/121 1540s ok 1604 /checksum/SHA512/122 1540s ok 1605 /checksum/SHA512/123 1540s ok 1606 /checksum/SHA512/124 1540s ok 1607 /checksum/SHA512/125 1540s ok 1608 /checksum/SHA512/126 1540s ok 1609 /checksum/SHA512/127 1540s ok 1610 /checksum/SHA512/128 1540s ok 1611 /checksum/SHA512/129 1540s ok 1612 /checksum/SHA512/130 1540s ok 1613 /checksum/SHA512/131 1540s ok 1614 /checksum/SHA512/132 1540s ok 1615 /checksum/SHA512/133 1540s ok 1616 /checksum/SHA512/134 1540s ok 1617 /checksum/SHA512/135 1540s ok 1618 /checksum/SHA512/136 1540s ok 1619 /checksum/SHA512/137 1540s ok 1620 /checksum/SHA512/138 1540s ok 1621 /checksum/SHA512/139 1540s ok 1622 /checksum/SHA512/140 1540s ok 1623 /checksum/SHA512/141 1540s ok 1624 /checksum/SHA512/142 1540s ok 1625 /checksum/SHA512/143 1540s ok 1626 /checksum/SHA512/144 1540s ok 1627 /checksum/SHA512/145 1540s ok 1628 /checksum/SHA512/146 1540s ok 1629 /checksum/SHA512/147 1540s ok 1630 /checksum/SHA512/148 1540s ok 1631 /checksum/SHA512/149 1540s ok 1632 /checksum/SHA512/150 1540s ok 1633 /checksum/SHA512/151 1540s ok 1634 /checksum/SHA512/152 1540s ok 1635 /checksum/SHA512/153 1540s ok 1636 /checksum/SHA512/154 1540s ok 1637 /checksum/SHA512/155 1540s ok 1638 /checksum/SHA512/156 1540s ok 1639 /checksum/SHA512/157 1540s ok 1640 /checksum/SHA512/158 1540s ok 1641 /checksum/SHA512/159 1540s ok 1642 /checksum/SHA512/160 1540s ok 1643 /checksum/SHA512/161 1540s ok 1644 /checksum/SHA512/162 1540s ok 1645 /checksum/SHA512/163 1540s ok 1646 /checksum/SHA512/164 1540s ok 1647 /checksum/SHA512/165 1540s ok 1648 /checksum/SHA512/166 1540s ok 1649 /checksum/SHA512/167 1540s ok 1650 /checksum/SHA512/168 1540s ok 1651 /checksum/SHA512/169 1540s ok 1652 /checksum/SHA512/170 1540s ok 1653 /checksum/SHA512/171 1540s ok 1654 /checksum/SHA512/172 1540s ok 1655 /checksum/SHA512/173 1540s ok 1656 /checksum/SHA512/174 1540s ok 1657 /checksum/SHA512/175 1540s ok 1658 /checksum/SHA512/176 1540s ok 1659 /checksum/SHA512/177 1540s ok 1660 /checksum/SHA512/178 1540s ok 1661 /checksum/SHA512/179 1540s ok 1662 /checksum/SHA512/180 1540s ok 1663 /checksum/SHA512/181 1540s ok 1664 /checksum/SHA512/182 1540s ok 1665 /checksum/SHA512/183 1540s ok 1666 /checksum/SHA512/string 1540s ok 1667 /checksum/SHA512/bytes 1540s # Start of reset tests 1540s ok 1668 /checksum/SHA512/reset/0 1540s ok 1669 /checksum/SHA512/reset/1 1540s ok 1670 /checksum/SHA512/reset/2 1540s ok 1671 /checksum/SHA512/reset/3 1540s ok 1672 /checksum/SHA512/reset/4 1540s ok 1673 /checksum/SHA512/reset/5 1540s ok 1674 /checksum/SHA512/reset/6 1540s ok 1675 /checksum/SHA512/reset/7 1540s ok 1676 /checksum/SHA512/reset/8 1540s ok 1677 /checksum/SHA512/reset/9 1540s ok 1678 /checksum/SHA512/reset/10 1540s ok 1679 /checksum/SHA512/reset/11 1540s ok 1680 /checksum/SHA512/reset/12 1540s ok 1681 /checksum/SHA512/reset/13 1540s ok 1682 /checksum/SHA512/reset/14 1540s ok 1683 /checksum/SHA512/reset/15 1540s ok 1684 /checksum/SHA512/reset/16 1540s ok 1685 /checksum/SHA512/reset/17 1540s ok 1686 /checksum/SHA512/reset/18 1540s ok 1687 /checksum/SHA512/reset/19 1540s ok 1688 /checksum/SHA512/reset/20 1540s ok 1689 /checksum/SHA512/reset/21 1540s ok 1690 /checksum/SHA512/reset/22 1540s ok 1691 /checksum/SHA512/reset/23 1540s ok 1692 /checksum/SHA512/reset/24 1540s ok 1693 /checksum/SHA512/reset/25 1540s ok 1694 /checksum/SHA512/reset/26 1540s ok 1695 /checksum/SHA512/reset/27 1540s ok 1696 /checksum/SHA512/reset/28 1540s ok 1697 /checksum/SHA512/reset/29 1540s ok 1698 /checksum/SHA512/reset/30 1540s ok 1699 /checksum/SHA512/reset/31 1540s ok 1700 /checksum/SHA512/reset/32 1540s ok 1701 /checksum/SHA512/reset/33 1540s ok 1702 /checksum/SHA512/reset/34 1540s ok 1703 /checksum/SHA512/reset/35 1540s ok 1704 /checksum/SHA512/reset/36 1540s ok 1705 /checksum/SHA512/reset/37 1540s ok 1706 /checksum/SHA512/reset/38 1540s ok 1707 /checksum/SHA512/reset/39 1540s ok 1708 /checksum/SHA512/reset/40 1540s ok 1709 /checksum/SHA512/reset/41 1540s ok 1710 /checksum/SHA512/reset/42 1540s ok 1711 /checksum/SHA512/reset/43 1540s ok 1712 /checksum/SHA512/reset/44 1540s ok 1713 /checksum/SHA512/reset/45 1540s ok 1714 /checksum/SHA512/reset/46 1540s ok 1715 /checksum/SHA512/reset/47 1540s ok 1716 /checksum/SHA512/reset/48 1540s ok 1717 /checksum/SHA512/reset/49 1540s ok 1718 /checksum/SHA512/reset/50 1540s ok 1719 /checksum/SHA512/reset/51 1540s ok 1720 /checksum/SHA512/reset/52 1540s ok 1721 /checksum/SHA512/reset/53 1540s ok 1722 /checksum/SHA512/reset/54 1540s ok 1723 /checksum/SHA512/reset/55 1540s ok 1724 /checksum/SHA512/reset/56 1540s ok 1725 /checksum/SHA512/reset/57 1540s ok 1726 /checksum/SHA512/reset/58 1540s ok 1727 /checksum/SHA512/reset/59 1540s ok 1728 /checksum/SHA512/reset/60 1540s ok 1729 /checksum/SHA512/reset/61 1540s ok 1730 /checksum/SHA512/reset/62 1540s ok 1731 /checksum/SHA512/reset/63 1540s ok 1732 /checksum/SHA512/reset/64 1540s ok 1733 /checksum/SHA512/reset/65 1540s ok 1734 /checksum/SHA512/reset/66 1540s ok 1735 /checksum/SHA512/reset/67 1540s ok 1736 /checksum/SHA512/reset/68 1540s ok 1737 /checksum/SHA512/reset/69 1540s ok 1738 /checksum/SHA512/reset/70 1540s ok 1739 /checksum/SHA512/reset/71 1540s ok 1740 /checksum/SHA512/reset/72 1540s ok 1741 /checksum/SHA512/reset/73 1540s ok 1742 /checksum/SHA512/reset/74 1540s ok 1743 /checksum/SHA512/reset/75 1540s ok 1744 /checksum/SHA512/reset/76 1540s ok 1745 /checksum/SHA512/reset/77 1540s ok 1746 /checksum/SHA512/reset/78 1540s ok 1747 /checksum/SHA512/reset/79 1540s ok 1748 /checksum/SHA512/reset/80 1540s ok 1749 /checksum/SHA512/reset/81 1540s ok 1750 /checksum/SHA512/reset/82 1540s ok 1751 /checksum/SHA512/reset/83 1540s ok 1752 /checksum/SHA512/reset/84 1540s ok 1753 /checksum/SHA512/reset/85 1540s ok 1754 /checksum/SHA512/reset/86 1540s ok 1755 /checksum/SHA512/reset/87 1540s ok 1756 /checksum/SHA512/reset/88 1540s ok 1757 /checksum/SHA512/reset/89 1540s ok 1758 /checksum/SHA512/reset/90 1540s ok 1759 /checksum/SHA512/reset/91 1540s ok 1760 /checksum/SHA512/reset/92 1540s ok 1761 /checksum/SHA512/reset/93 1540s ok 1762 /checksum/SHA512/reset/94 1540s ok 1763 /checksum/SHA512/reset/95 1540s ok 1764 /checksum/SHA512/reset/96 1540s ok 1765 /checksum/SHA512/reset/97 1540s ok 1766 /checksum/SHA512/reset/98 1540s ok 1767 /checksum/SHA512/reset/99 1540s ok 1768 /checksum/SHA512/reset/100 1540s ok 1769 /checksum/SHA512/reset/101 1540s ok 1770 /checksum/SHA512/reset/102 1540s ok 1771 /checksum/SHA512/reset/103 1540s ok 1772 /checksum/SHA512/reset/104 1540s ok 1773 /checksum/SHA512/reset/105 1540s ok 1774 /checksum/SHA512/reset/106 1540s ok 1775 /checksum/SHA512/reset/107 1540s ok 1776 /checksum/SHA512/reset/108 1540s ok 1777 /checksum/SHA512/reset/109 1540s ok 1778 /checksum/SHA512/reset/110 1540s ok 1779 /checksum/SHA512/reset/111 1540s ok 1780 /checksum/SHA512/reset/112 1540s ok 1781 /checksum/SHA512/reset/113 1540s ok 1782 /checksum/SHA512/reset/114 1540s ok 1783 /checksum/SHA512/reset/115 1540s ok 1784 /checksum/SHA512/reset/116 1540s ok 1785 /checksum/SHA512/reset/117 1540s ok 1786 /checksum/SHA512/reset/118 1540s ok 1787 /checksum/SHA512/reset/119 1540s ok 1788 /checksum/SHA512/reset/120 1540s ok 1789 /checksum/SHA512/reset/121 1540s ok 1790 /checksum/SHA512/reset/122 1540s ok 1791 /checksum/SHA512/reset/123 1540s ok 1792 /checksum/SHA512/reset/124 1540s ok 1793 /checksum/SHA512/reset/125 1540s ok 1794 /checksum/SHA512/reset/126 1540s ok 1795 /checksum/SHA512/reset/127 1540s ok 1796 /checksum/SHA512/reset/128 1540s ok 1797 /checksum/SHA512/reset/129 1540s ok 1798 /checksum/SHA512/reset/130 1540s ok 1799 /checksum/SHA512/reset/131 1540s ok 1800 /checksum/SHA512/reset/132 1540s ok 1801 /checksum/SHA512/reset/133 1540s ok 1802 /checksum/SHA512/reset/134 1540s ok 1803 /checksum/SHA512/reset/135 1540s ok 1804 /checksum/SHA512/reset/136 1540s ok 1805 /checksum/SHA512/reset/137 1540s ok 1806 /checksum/SHA512/reset/138 1540s ok 1807 /checksum/SHA512/reset/139 1540s ok 1808 /checksum/SHA512/reset/140 1540s ok 1809 /checksum/SHA512/reset/141 1540s ok 1810 /checksum/SHA512/reset/142 1540s ok 1811 /checksum/SHA512/reset/143 1540s ok 1812 /checksum/SHA512/reset/144 1540s ok 1813 /checksum/SHA512/reset/145 1540s ok 1814 /checksum/SHA512/reset/146 1540s ok 1815 /checksum/SHA512/reset/147 1540s ok 1816 /checksum/SHA512/reset/148 1540s ok 1817 /checksum/SHA512/reset/149 1540s ok 1818 /checksum/SHA512/reset/150 1540s ok 1819 /checksum/SHA512/reset/151 1540s ok 1820 /checksum/SHA512/reset/152 1540s ok 1821 /checksum/SHA512/reset/153 1540s ok 1822 /checksum/SHA512/reset/154 1540s ok 1823 /checksum/SHA512/reset/155 1540s ok 1824 /checksum/SHA512/reset/156 1540s ok 1825 /checksum/SHA512/reset/157 1540s ok 1826 /checksum/SHA512/reset/158 1540s ok 1827 /checksum/SHA512/reset/159 1540s ok 1828 /checksum/SHA512/reset/160 1540s ok 1829 /checksum/SHA512/reset/161 1540s ok 1830 /checksum/SHA512/reset/162 1540s ok 1831 /checksum/SHA512/reset/163 1540s ok 1832 /checksum/SHA512/reset/164 1540s ok 1833 /checksum/SHA512/reset/165 1540s ok 1834 /checksum/SHA512/reset/166 1540s ok 1835 /checksum/SHA512/reset/167 1540s ok 1836 /checksum/SHA512/reset/168 1540s ok 1837 /checksum/SHA512/reset/169 1540s ok 1838 /checksum/SHA512/reset/170 1540s ok 1839 /checksum/SHA512/reset/171 1540s ok 1840 /checksum/SHA512/reset/172 1540s ok 1841 /checksum/SHA512/reset/173 1540s ok 1842 /checksum/SHA512/reset/174 1540s ok 1843 /checksum/SHA512/reset/175 1540s ok 1844 /checksum/SHA512/reset/176 1540s ok 1845 /checksum/SHA512/reset/177 1540s ok 1846 /checksum/SHA512/reset/178 1540s ok 1847 /checksum/SHA512/reset/179 1540s ok 1848 /checksum/SHA512/reset/180 1540s ok 1849 /checksum/SHA512/reset/181 1540s ok 1850 /checksum/SHA512/reset/182 1540s ok 1851 /checksum/SHA512/reset/183 1540s # End of reset tests 1540s # End of SHA512 tests 1540s # End of checksum tests 1540s ok - glib/checksum.test 1540s # Running test: glib/search-utils.test 1540s TAP version 13 1540s # random seed: R02Sd9dfa8663674a6f05d84c8e0be5938a9 1540s # GLib-DEBUG: Current user locale: C.UTF-8 1540s 1..6 1540s # Start of search tests 1540s # GLib-DEBUG: Started 1540s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1540s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1540s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1540s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1540s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1540s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1540s ok 1 /search/basic 1540s # GLib-DEBUG: Started 1540s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1540s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1540s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1540s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1540s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1540s ok 2 /search/composed 1540s # GLib-DEBUG: Started 1540s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1540s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1540s ok 3 /search/decomposed 1540s # GLib-DEBUG: Started 1540s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1540s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1540s ok 4 /search/turkish 1540s # GLib-DEBUG: Started 1540s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1540s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1540s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1540s ok 5 /search/c_locale_unicode 1540s # GLib-DEBUG: Started 1540s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1540s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1540s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1540s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1540s ok 6 /search/multi_words 1540s # End of search tests 1540s ok - glib/search-utils.test 1540s # Running test: glib/utils-isolated.test 1540s TAP version 13 1540s # random seed: R02S84aea640015dc0f9c1ed3c399e2bda3a 1540s 1..9 1540s # Start of utils-isolated tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/tmp-dir/.dirs/runtime 1540s ok 1 /utils-isolated/tmp-dir 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/home-dir/.dirs/runtime 1540s ok 2 /utils-isolated/home-dir 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-cache-dir/.dirs/runtime 1540s ok 3 /utils-isolated/user-cache-dir 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-config-dirs/.dirs/runtime 1540s ok 4 /utils-isolated/system-config-dirs 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-config-dir/.dirs/runtime 1540s ok 5 /utils-isolated/user-config-dir 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/system-data-dirs/.dirs/runtime 1540s ok 6 /utils-isolated/system-data-dirs 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-data-dir/.dirs/runtime 1540s ok 7 /utils-isolated/user-data-dir 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-state-dir/.dirs/runtime 1540s ok 8 /utils-isolated/user-state-dir 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TU82K2/utils-isolated/user-runtime-dir/.dirs/runtime 1540s ok 9 /utils-isolated/user-runtime-dir 1540s # End of utils-isolated tests 1540s ok - glib/utils-isolated.test 1540s # Running test: glib/object-info.test 1540s TAP version 13 1540s # random seed: R02S8f0ef4deef9c5e0d72ee68e1739435b7 1540s 1..2 1540s # Start of object-info tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_BXQVK2/object-info/find-method-using-interfaces/.dirs/runtime 1540s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1540s ok 1 /object-info/find-method-using-interfaces 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_BXQVK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1540s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1540s ok 2 /object-info/find-vfunc-using-interfaces 1540s # End of object-info tests 1540s ok - glib/object-info.test 1540s # Running test: glib/actions.test 1540s TAP version 13 1540s # random seed: R02Sd9d8cff1253fa6dca50d46c2541c00a1 1540s 1..12 1540s # Start of actions tests 1540s ok 1 /actions/basic 1540s ok 2 /actions/name 1540s ok 3 /actions/simplegroup 1540s ok 4 /actions/stateful 1540s ok 5 /actions/default-activate 1540s ok 6 /actions/entries 1540s ok 7 /actions/parse-detailed 1540s ok 8 /actions/property 1540s ok 9 /actions/no-properties 1540s # Start of dbus tests 1540s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s ok 10 /actions/dbus/export 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1544s # Executing: glib/actions.test 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s ok 11 /actions/dbus/threaded 1545s # slow test /actions/dbus/threaded executed in 4.77 secs 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1545s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1545s ok 12 /actions/dbus/bug679509 1545s # End of dbus tests 1545s # End of actions tests 1545s ok - glib/actions.test 1545s # Running test: glib/buffered-output-stream.test 1545s TAP version 13 1545s # random seed: R02S5ebdd68f6abf9019251af91a9a0665d2 1545s 1..5 1545s # Start of buffered-output-stream tests 1545s ok 1 /buffered-output-stream/write 1545s ok 2 /buffered-output-stream/grow 1545s ok 3 /buffered-output-stream/seek 1545s ok 4 /buffered-output-stream/truncate 1545s # End of buffered-output-stream tests 1545s # Start of filter-output-stream tests 1545s ok 5 /filter-output-stream/close 1545s # End of filter-output-stream tests 1545s ok - glib/buffered-output-stream.test 1545s # Running test: glib/async-splice-output-stream.test 1545s TAP version 13 1545s # random seed: R02S902a6ea981ed46a1dcd27c9bb6b1e520 1545s 1..5 1545s # Start of async-splice tests 1545s ok 1 /async-splice/copy-chunks 1545s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1545s ok 2 /async-splice/copy-chunks-threaded-input 1545s ok 3 /async-splice/copy-chunks-threaded-output 1545s ok 4 /async-splice/copy-chunks-threaded 1545s ok 5 /async-splice/cancelled 1545s # End of async-splice tests 1545s ok - glib/async-splice-output-stream.test 1545s # Running test: glib/converter-stream.test 1545s TAP version 13 1545s # random seed: R02S298c4e45bb2ce5804184be4b1d8654dd 1545s 1..17 1545s # Start of converter tests 1545s ok 1 /converter/basics 1545s # End of converter tests 1545s # Start of converter-input-stream tests 1545s ok 2 /converter-input-stream/expander 1545s ok 3 /converter-input-stream/compressor 1545s # Start of truncation tests 1546s ok 4 /converter-input-stream/truncation/zlib 1546s ok 5 /converter-input-stream/truncation/gzip 1547s ok 6 /converter-input-stream/truncation/raw 1547s # End of truncation tests 1547s # Start of charset tests 1547s ok 7 /converter-input-stream/charset/utf8->latin1 1547s ok 8 /converter-input-stream/charset/latin1->utf8 1547s ok 9 /converter-input-stream/charset/fallbacks 1547s # End of charset tests 1547s # End of converter-input-stream tests 1547s # Start of converter-output-stream tests 1547s # Start of roundtrip tests 1547s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1547s ok 10 /converter-output-stream/roundtrip/zlib-0 1547s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1547s ok 11 /converter-output-stream/roundtrip/zlib-9 1547s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1547s ok 12 /converter-output-stream/roundtrip/gzip-0 1547s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1548s ok 13 /converter-output-stream/roundtrip/gzip-9 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1548s ok 14 /converter-output-stream/roundtrip/raw-0 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1548s ok 15 /converter-output-stream/roundtrip/raw-9 1548s # End of roundtrip tests 1548s # End of converter-output-stream tests 1548s # Start of converter-stream tests 1548s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1548s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb0029cd6cdd0 and GSocketClientAsyncConnectData 0xb0029d162330 1548s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1548s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1548s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb0029cd7d550 for GSocketClientAsyncConnectData 0xb0029d162330 1548s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1548s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1548s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1548s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1548s ok 16 /converter-stream/pollable 1548s ok 17 /converter-stream/leftover 1548s # End of converter-stream tests 1548s ok - glib/converter-stream.test 1548s # Running test: glib/dataset.test 1548s TAP version 13 1548s # random seed: R02S593237a5d4f980244eb92d0f90aaf063 1548s 1..14 1548s # Start of quark tests 1548s ok 1 /quark/basic 1548s ok 2 /quark/string 1548s # End of quark tests 1548s # Start of dataset tests 1548s ok 3 /dataset/basic 1548s ok 4 /dataset/id 1548s ok 5 /dataset/full 1548s ok 6 /dataset/foreach 1548s ok 7 /dataset/destroy 1548s # End of dataset tests 1548s # Start of datalist tests 1548s ok 8 /datalist/basic 1548s ok 9 /datalist/id 1548s ok 10 /datalist/recursive-clear 1548s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1548s ok 11 /datalist/id-remove-multiple 1548s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1548s ok 12 /datalist/id-remove-multiple-destroy-order 1548s ok 13 /datalist/update-atomic 1548s # Start of id-remove-multiple tests 1548s ok 14 /datalist/id-remove-multiple/resize 1548s # End of id-remove-multiple tests 1548s # End of datalist tests 1549s ok - glib/dataset.test 1549s # Running test: glib/collate.test 1549s TAP version 13 1549s # random seed: R02Sb1814d21874eb7f706c9ef6aab87676c 1549s 1..9 1549s # Start of unicode tests 1549s # Start of collate tests 1549s ok 1 /unicode/collate/0 1549s ok 2 /unicode/collate/1 1549s ok 3 /unicode/collate/2 1549s # End of collate tests 1549s # Start of collate-key tests 1549s ok 4 /unicode/collate-key/0 1549s ok 5 /unicode/collate-key/1 1549s ok 6 /unicode/collate-key/2 1549s # End of collate-key tests 1549s # Start of collate-filename tests 1549s ok 7 /unicode/collate-filename/0 1549s ok 8 /unicode/collate-filename/1 1549s ok 9 /unicode/collate-filename/2 1549s # End of collate-filename tests 1549s # End of unicode tests 1549s ok - glib/collate.test 1549s # Running test: glib/spawn-path-search.test 1549s TAP version 13 1549s # random seed: R02Sf5343679fc8770c36e7b148a1a8cad95 1549s 1..7 1549s # Start of spawn tests 1549s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1549s # 1549s # this is spawn-test-helper from glib/tests 1549s # 1549s ok 1 /spawn/do-not-search 1549s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1549s # 1549s # this is spawn-test-helper from path-test-subdir 1549s # 1549s ok 2 /spawn/search-path 1549s # /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. 1549s # 1549s # this is spawn-test-helper from path-test-subdir 1549s # 1549s ok 3 /spawn/search-path-from-envp 1549s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1549s # 1549s # this is spawn-test-helper from path-test-subdir 1549s # 1549s ok 4 /spawn/search-path-ambiguous 1549s # 1549s # this is spawn-test-helper from path-test-subdir 1549s # 1549s ok 5 /spawn/search-path-heap-allocation 1549s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1549s # 1549s # this is spawn-test-helper from glib/tests 1549s # 1549s ok 6 /spawn/search-path-fallback-in-environ 1549s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1549s # 1549s # this is spawn-test-helper from glib/tests 1549s # 1549s ok 7 /spawn/search-path-fallback-in-envp 1549s # End of spawn tests 1549s ok - glib/spawn-path-search.test 1549s # Running test: glib/unix-mounts.test 1549s TAP version 13 1549s # random seed: R02S0f5bea54e13e07c63492b07058e7b11c 1549s 1..2 1549s # Start of unix-mounts tests 1549s ok 1 /unix-mounts/is-system-fs-type 1549s ok 2 /unix-mounts/is-system-device-path 1549s # End of unix-mounts tests 1549s ok - glib/unix-mounts.test 1549s # Running test: glib/convert.test 1549s TAP version 13 1549s # random seed: R02Sbf3e05d941355de219756372acf654d5 1549s 1..14 1549s # Start of conversion tests 1549s ok 1 /conversion/no-conv 1549s ok 2 /conversion/iconv-state 1549s ok 3 /conversion/illegal-sequence 1549s ok 4 /conversion/byte-order 1549s ok 5 /conversion/unicode 1549s ok 6 /conversion/filename-utf8 1549s ok 7 /conversion/filename-display 1549s ok 8 /conversion/convert-embedded-nul 1549s # Start of locale-to-utf8 tests 1549s ok 9 /conversion/locale-to-utf8/embedded-nul 1549s # Start of embedded-nul tests 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of embedded-nul tests 1549s # End of locale-to-utf8 tests 1549s # Start of locale-from-utf8 tests 1549s ok 10 /conversion/locale-from-utf8/embedded-nul 1549s # Start of embedded-nul tests 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of embedded-nul tests 1549s # End of locale-from-utf8 tests 1549s # Start of filename-to-utf8 tests 1549s ok 11 /conversion/filename-to-utf8/embedded-nul 1549s # Start of embedded-nul tests 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of embedded-nul tests 1549s # End of filename-to-utf8 tests 1549s # Start of filename-from-utf8 tests 1549s ok 12 /conversion/filename-from-utf8/embedded-nul 1549s # Start of embedded-nul tests 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of embedded-nul tests 1549s # End of filename-from-utf8 tests 1549s # Start of filename-from-uri tests 1549s ok 13 /conversion/filename-from-uri/query-is-ignored 1549s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1549s # End of filename-from-uri tests 1549s # End of conversion tests 1549s ok - glib/convert.test 1549s # Running test: glib/network-monitor-race.test 1549s TAP version 13 1549s # random seed: R02S3d10fc8c8f92d84fe665a1454aaa389e 1549s 1..1 1549s # Start of network-monitor tests 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1549s # Executing: glib/network-monitor-race.test 1551s ok 1 /network-monitor/create-in-thread 1551s # slow test /network-monitor/create-in-thread executed in 2.58 secs 1551s # End of network-monitor tests 1551s ok - glib/network-monitor-race.test 1551s # Running test: glib/macros-c-11.test 1551s TAP version 13 1551s # random seed: R02S1ff7e693a7f5916ff05792fb3f01f86e 1551s 1..4 1551s # Start of C tests 1551s ok 1 /C/standard-11 1551s # End of C tests 1551s # Start of alignof tests 1551s ok 2 /alignof/fallback 1551s # End of alignof tests 1551s # Start of assert tests 1551s ok 3 /assert/static 1551s # End of assert tests 1551s # Start of struct tests 1551s ok 4 /struct/sizeof_member 1551s # End of struct tests 1551s ok - glib/macros-c-11.test 1551s # Running test: glib/logging.test 1551s TAP version 13 1551s # random seed: R02S98c4d2565e680c8d8be18f8af68eae51 1551s 1..17 1551s # Start of logging tests 1552s ok 1 /logging/default-handler 1552s ok 2 /logging/warnings 1552s ok 3 /logging/fatal-log-mask 1552s # bu-DEBUG: message 1552s # ba-DEBUG: message 1552s # ba-INFO: message 1552s ok 4 /logging/set-handler 1552s ok 5 /logging/print-handler 1552s ok 6 /logging/printerr-handler 1552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1552s # The Log Message Handler 1552s # 1552s # The Good Fail Message Handler 1552s # 1552s ok 7 /logging/653052 1552s ok 8 /logging/gibberish 1552s # Start of default-handler tests 1552s # Start of subprocess tests 1552s # End of subprocess tests 1552s # End of default-handler tests 1552s # End of logging tests 1552s # Start of structured-logging tests 1552s ok 9 /structured-logging/no-state 1552s ok 10 /structured-logging/some-state 1552s ok 11 /structured-logging/robustness 1552s ok 12 /structured-logging/roundtrip1 1552s ok 13 /structured-logging/roundtrip2 1552s ok 14 /structured-logging/roundtrip3 1552s ok 15 /structured-logging/variant1 1552s ok 16 /structured-logging/variant2 1552s ok 17 /structured-logging/set-writer-func-twice 1552s # End of structured-logging tests 1552s ok - glib/logging.test 1552s # Running test: glib/gdbus-exit-on-close.test 1552s TAP version 13 1552s # random seed: R02S58b4469c4b9489ae2dc3d63f5cf7d2fd 1552s 1..4 1552s # Start of gdbus tests 1552s # Start of exit-on-close tests 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/default/.dirs/runtime 1552s ok 1 /gdbus/exit-on-close/default 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/true/.dirs/runtime 1552s ok 2 /gdbus/exit-on-close/true 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/false/.dirs/runtime 1552s ok 3 /gdbus/exit-on-close/false 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_41FSK2/gdbus/exit-on-close/we-close/.dirs/runtime 1552s ok 4 /gdbus/exit-on-close/we-close 1552s # Start of default tests 1552s # End of default tests 1552s # Start of true tests 1552s # End of true tests 1552s # Start of false tests 1552s # End of false tests 1552s # Start of we-close tests 1552s # End of we-close tests 1552s # End of exit-on-close tests 1552s # End of gdbus tests 1552s ok - glib/gdbus-exit-on-close.test 1552s # Running test: glib/repository-search-paths.test 1552s TAP version 13 1552s # random seed: R02Sb6c737195f748e68452be2ca6465a182 1552s 1..4 1552s # Start of repository tests 1552s # Start of search-paths tests 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/default/.dirs/runtime 1552s ok 1 /repository/search-paths/default 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_SI71K2/repository/search-paths/prepend/.dirs/runtime 1552s ok 2 /repository/search-paths/prepend 1552s # End of search-paths tests 1552s # Start of library-paths tests 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/default/.dirs/runtime 1552s ok 3 /repository/library-paths/default 1552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/home 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/cache 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/system-config2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/config 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/system-data2 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/data 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/state 1552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_SI71K2/repository/library-paths/prepend/.dirs/runtime 1552s ok 4 /repository/library-paths/prepend 1552s # End of library-paths tests 1552s # End of repository tests 1552s ok - glib/repository-search-paths.test 1552s # Running test: glib/spawn-singlethread.test 1552s TAP version 13 1552s # random seed: R02Sbf0e46d7ad6fde5ae74e5f3aec6ed41b 1552s 1..9 1552s # Start of gthread tests 1552s ok 1 /gthread/spawn-single-sync 1552s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1552s ok 2 /gthread/spawn-stderr-socket 1552s ok 3 /gthread/spawn-single-async 1552s # thread 1 1552s # thread 1 1552s ok 4 /gthread/spawn-single-async-with-fds 1552s ok 5 /gthread/spawn-async-with-invalid-fds 1552s ok 6 /gthread/spawn-script 1552s ok 7 /gthread/spawn-posix-spawn 1552s # Start of spawn tests 1552s ok 8 /gthread/spawn/nonexistent 1552s # FD map: 1552s # • 5 → 15 1552s # • 6 → 16 1552s # • 7 → 17 1552s # • 8 → 18 1552s # • 9 → 19 1552s # • 10 → 20 1552s # • 11 → 21 1552s # • 12 → 22 1552s # • 13 → 23 1552s # • 3 → 13 1552s ok 9 /gthread/spawn/fd-assignment-clash 1552s # End of spawn tests 1552s # End of gthread tests 1552s ok - glib/spawn-singlethread.test 1552s # Running test: glib/genmarshal.py.test 1553s TAP version 13 1553s ok 1 __main__.TestGenmarshal.test_empty_list 1553s # tmpdir: /tmp/tmpl67yxv29 1553s # genmarshal: /usr/bin/glib-genmarshal 1553s # /tmp/tmpl67yxv29/tmphtwlxphy.list: 1553s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl67yxv29/tmphtwlxphy.list', '--header', '--quiet'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # 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. */ 1553s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1553s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1553s # 1553s # #include 1553s # 1553s # G_BEGIN_DECLS 1553s # 1553s # 1553s # G_END_DECLS 1553s # 1553s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1553s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl67yxv29/tmphtwlxphy.list', '--body', '--quiet'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # 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. */ 1553s # #include 1553s # 1553s # #ifdef G_ENABLE_DEBUG 1553s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1553s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1553s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1553s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1553s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1553s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1553s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1553s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1553s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1553s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1553s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1553s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1553s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1553s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1553s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1553s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1553s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1553s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1553s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1553s # #else /* !G_ENABLE_DEBUG */ 1553s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1553s # * Do not access GValues directly in your code. Instead, use the 1553s # * g_value_get_*() functions 1553s # */ 1553s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1553s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1553s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1553s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1553s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1553s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1553s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1553s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1553s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1553s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1553s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1553s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1553s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1553s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1553s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1553s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1553s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1553s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1553s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1553s # #endif /* !G_ENABLE_DEBUG */ 1553s ok 2 __main__.TestGenmarshal.test_help 1553s # tmpdir: /tmp/tmpctdc3wk5 1553s # genmarshal: /usr/bin/glib-genmarshal 1553s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1553s # [--internal] [--valist-marshallers] [-v] 1553s # [--g-fatal-warnings] [--include-header [HEADER]] 1553s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1553s # [--prototypes] [--header] [--body] 1553s # [--stdinc | --nostdinc] [--quiet | --verbose] 1553s # [FILE ...] 1553s # 1553s # Generate signal marshallers for GObject 1553s # 1553s # positional arguments: 1553s # FILE Files with lists of marshallers to generate, or "-" 1553s # for standard input 1553s # 1553s # options: 1553s # -h, --help show this help message and exit 1553s # --prefix STRING Specify marshaller prefix 1553s # --output FILE Write output into the specified file 1553s # --skip-source Skip source location comments 1553s # --internal Mark generated functions as internal 1553s # --valist-marshallers Generate va_list marshallers 1553s # -v, --version Print version information, and exit 1553s # --g-fatal-warnings Make warnings fatal 1553s # --include-header [HEADER] 1553s # Include the specified header in the body 1553s # --pragma-once Use "pragma once" as the inclusion guard 1553s # -D CPP_DEFINES Pre-processor define 1553s # -U CPP_UNDEFINES Pre-processor undefine 1553s # --prototypes Generate the marshallers prototype in the C code 1553s # --header Generate C headers 1553s # --body Generate C code 1553s # --stdinc Include standard marshallers 1553s # --nostdinc Use standard marshallers 1553s # --quiet Only print warnings and errors 1553s # --verbose Be verbose, and include debugging information 1553s ok 3 __main__.TestGenmarshal.test_no_args 1553s # tmpdir: /tmp/tmp7m1mgo9t 1553s # genmarshal: /usr/bin/glib-genmarshal 1553s # Running: ['/usr/bin/glib-genmarshal'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: 1554s ok 4 __main__.TestGenmarshal.test_void_boolean 1554s # tmpdir: /tmp/tmp20o4c826 1554s # genmarshal: /usr/bin/glib-genmarshal 1554s # /tmp/tmp20o4c826/tmp66ofe44a.list: VOID:BOOLEAN 1554s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp20o4c826/tmp66ofe44a.list', '--header', '--quiet'] 1554s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1554s # 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. */ 1554s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1554s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1554s # 1554s # #include 1554s # 1554s # G_BEGIN_DECLS 1554s # 1554s # /* VOID:BOOLEAN (/tmp/tmp20o4c826/tmp66ofe44a.list:1) */ 1554s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1554s # 1554s # 1554s # G_END_DECLS 1554s # 1554s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1554s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp20o4c826/tmp66ofe44a.list', '--body', '--quiet'] 1554s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1554s # 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. */ 1554s # #include 1554s # 1554s # #ifdef G_ENABLE_DEBUG 1554s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1554s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1554s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1554s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1554s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1554s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1554s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1554s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1554s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1554s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1554s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1554s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1554s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1554s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1554s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1554s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1554s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1554s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1554s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1554s # #else /* !G_ENABLE_DEBUG */ 1554s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1554s # * Do not access GValues directly in your code. Instead, use the 1554s # * g_value_get_*() functions 1554s # */ 1554s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1554s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1554s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1554s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1554s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1554s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1554s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1554s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1554s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1554s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1554s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1554s # #endif /* !G_ENABLE_DEBUG */ 1554s # Executing: glib/genmarshal.py.test 1554s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1554s # tmpdir: /tmp/tmpt8m8v1cx 1554s # genmarshal: /usr/bin/glib-genmarshal 1554s # /tmp/tmpt8m8v1cx/tmp6bixxjlr.list: VOID:BOOLEAN,INT64 1554s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt8m8v1cx/tmp6bixxjlr.list', '--header', '--quiet'] 1554s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1554s # 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. */ 1554s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1554s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1554s # 1554s # #include 1554s # 1554s # G_BEGIN_DECLS 1554s # 1554s # /* VOID:BOOLEAN,INT64 (/tmp/tmpt8m8v1cx/tmp6bixxjlr.list:1) */ 1554s # extern 1554s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1554s # GValue *return_value, 1554s # guint n_param_values, 1554s # const GValue *param_values, 1554s # gpointer invocation_hint, 1554s # gpointer marshal_data); 1554s # 1554s # 1554s # G_END_DECLS 1554s # 1554s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1554s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt8m8v1cx/tmp6bixxjlr.list', '--body', '--quiet'] 1554s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1554s # 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. */ 1554s # #include 1554s # 1554s # #ifdef G_ENABLE_DEBUG 1554s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1554s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1554s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1554s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1554s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1554s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1554s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1554s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1554s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1554s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1554s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1554s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1554s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1554s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1554s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1554s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1554s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1554s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1554s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1554s # #else /* !G_ENABLE_DEBUG */ 1554s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1554s # * Do not access GValues directly in your code. Instead, use the 1554s # * g_value_get_*() functions 1554s # */ 1554s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1554s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1554s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1554s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1554s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1554s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1554s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1554s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1554s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1554s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1554s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1554s # #endif /* !G_ENABLE_DEBUG */ 1554s # 1554s # /* VOID:BOOLEAN,INT64 (/tmp/tmpt8m8v1cx/tmp6bixxjlr.list:1) */ 1554s # void 1554s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1554s # GValue *return_value G_GNUC_UNUSED, 1554s # guint n_param_values, 1554s # const GValue *param_values, 1554s # gpointer invocation_hint G_GNUC_UNUSED, 1554s # gpointer marshal_data) 1554s # { 1554s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1554s # gboolean arg1, 1554s # gint64 arg2, 1554s # gpointer data2); 1554s # GCClosure *cc = (GCClosure *) closure; 1554s # gpointer data1, data2; 1554s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1554s # 1554s # g_return_if_fail (n_param_values == 3); 1554s # 1554s # if (G_CCLOSURE_SWAP_DATA (closure)) 1554s # { 1554s # data1 = closure->data; 1554s # data2 = g_value_peek_pointer (param_values + 0); 1554s # } 1554s # else 1554s # { 1554s # data1 = g_value_peek_pointer (param_values + 0); 1554s # data2 = closure->data; 1554s # } 1554s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1554s # 1554s # callback (data1, 1554s # g_marshal_value_peek_boolean (param_values + 1), 1554s # g_marshal_value_peek_int64 (param_values + 2), 1554s # data2); 1554s # } 1554s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1554s # tmpdir: /tmp/tmp7l4gvqqq 1554s # genmarshal: /usr/bin/glib-genmarshal 1554s # /tmp/tmp7l4gvqqq/tmpvo5dvv7s.list: VOID:PARAM 1554s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7l4gvqqq/tmpvo5dvv7s.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1554s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1554s # 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. */ 1554s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1554s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1554s # 1554s # G_BEGIN_DECLS 1554s # 1554s # /* VOID:PARAM (/tmp/tmp7l4gvqqq/tmpvo5dvv7s.list:1) */ 1554s # extern 1554s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1554s # GValue *return_value, 1554s # guint n_param_values, 1554s # const GValue *param_values, 1554s # gpointer invocation_hint, 1554s # gpointer marshal_data); 1554s # extern 1554s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1554s # GValue *return_value, 1554s # gpointer instance, 1554s # va_list args, 1554s # gpointer marshal_data, 1554s # int n_params, 1554s # GType *param_types); 1554s # 1554s # 1554s # G_END_DECLS 1554s # 1554s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1554s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7l4gvqqq/tmpvo5dvv7s.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1554s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1554s # 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. */ 1554s # #ifdef G_ENABLE_DEBUG 1554s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1554s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1554s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1554s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1554s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1554s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1554s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1554s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1554s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1554s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1554s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1554s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1554s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1554s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1554s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1554s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1554s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1554s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1554s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1554s # #else /* !G_ENABLE_DEBUG */ 1554s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1554s # * Do not access GValues directly in your code. Instead, use the 1554s # * g_value_get_*() functions 1554s # */ 1554s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1554s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1554s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1554s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1554s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1554s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1554s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1554s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1554s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1554s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1554s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1554s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1554s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1554s # #endif /* !G_ENABLE_DEBUG */ 1554s # 1554s # /* VOID:PARAM (/tmp/tmp7l4gvqqq/tmpvo5dvv7s.list:1) */ 1554s # void 1554s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1554s # GValue *return_value G_GNUC_UNUSED, 1554s # guint n_param_values, 1554s # const GValue *param_values, 1554s # gpointer invocation_hint G_GNUC_UNUSED, 1554s # gpointer marshal_data) 1554s # { 1554s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1554s # gpointer arg1, 1554s # gpointer data2); 1554s # GCClosure *cc = (GCClosure *) closure; 1554s # gpointer data1, data2; 1554s # GMarshalFunc_VOID__PARAM callback; 1554s # 1554s # g_return_if_fail (n_param_values == 2); 1554s # 1554s # if (G_CCLOSURE_SWAP_DATA (closure)) 1554s # { 1554s # data1 = closure->data; 1554s # data2 = g_value_peek_pointer (param_values + 0); 1554s # } 1554s # else 1554s # { 1554s # data1 = g_value_peek_pointer (param_values + 0); 1554s # data2 = closure->data; 1554s # } 1554s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1554s # 1554s # callback (data1, 1554s # g_marshal_value_peek_param (param_values + 1), 1554s # data2); 1554s # } 1554s # 1554s # void 1554s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1554s # GValue *return_value G_GNUC_UNUSED, 1554s # gpointer instance, 1554s # va_list args, 1554s # gpointer marshal_data, 1554s # int n_params, 1554s # GType *param_types) 1554s # { 1554s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1554s # gpointer arg1, 1554s # gpointer data2); 1554s # GCClosure *cc = (GCClosure *) closure; 1554s # gpointer data1, data2; 1554s # GMarshalFunc_VOID__PARAM callback; 1554s # gpointer arg0; 1554s # va_list args_copy; 1554s # 1554s # va_copy (args_copy, args); 1554s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1554s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1554s # arg0 = g_param_spec_ref (arg0); 1554s # va_end (args_copy); 1554s # 1554s # 1554s # if (G_CCLOSURE_SWAP_DATA (closure)) 1554s # { 1554s # data1 = closure->data; 1554s # data2 = instance; 1554s # } 1554s # else 1554s # { 1554s # data1 = instance; 1554s # data2 = closure->data; 1554s # } 1554s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1554s # 1554s # callback (data1, 1554s # arg0, 1554s # data2); 1554s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1554s # g_param_spec_unref (arg0); 1554s # } 1555s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1555s # tmpdir: /tmp/tmp5fz18_86 1555s # genmarshal: /usr/bin/glib-genmarshal 1555s # /tmp/tmp5fz18_86/tmpl3i6ph4_.list: VOID:STRING 1555s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5fz18_86/tmpl3i6ph4_.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1555s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1555s # 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. */ 1555s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1555s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1555s # 1555s # G_BEGIN_DECLS 1555s # 1555s # /* VOID:STRING (/tmp/tmp5fz18_86/tmpl3i6ph4_.list:1) */ 1555s # extern 1555s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1555s # GValue *return_value, 1555s # guint n_param_values, 1555s # const GValue *param_values, 1555s # gpointer invocation_hint, 1555s # gpointer marshal_data); 1555s # extern 1555s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1555s # GValue *return_value, 1555s # gpointer instance, 1555s # va_list args, 1555s # gpointer marshal_data, 1555s # int n_params, 1555s # GType *param_types); 1555s # 1555s # 1555s # G_END_DECLS 1555s # 1555s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1555s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5fz18_86/tmpl3i6ph4_.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1555s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1555s # 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. */ 1555s # #ifdef G_ENABLE_DEBUG 1555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1555s # #else /* !G_ENABLE_DEBUG */ 1555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1555s # * Do not access GValues directly in your code. Instead, use the 1555s # * g_value_get_*() functions 1555s # */ 1555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1555s # #endif /* !G_ENABLE_DEBUG */ 1555s # 1555s # /* VOID:STRING (/tmp/tmp5fz18_86/tmpl3i6ph4_.list:1) */ 1555s # void 1555s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1555s # GValue *return_value G_GNUC_UNUSED, 1555s # guint n_param_values, 1555s # const GValue *param_values, 1555s # gpointer invocation_hint G_GNUC_UNUSED, 1555s # gpointer marshal_data) 1555s # { 1555s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1555s # gpointer arg1, 1555s # gpointer data2); 1555s # GCClosure *cc = (GCClosure *) closure; 1555s # gpointer data1, data2; 1555s # GMarshalFunc_VOID__STRING callback; 1555s # 1555s # g_return_if_fail (n_param_values == 2); 1555s # 1555s # if (G_CCLOSURE_SWAP_DATA (closure)) 1555s # { 1555s # data1 = closure->data; 1555s # data2 = g_value_peek_pointer (param_values + 0); 1555s # } 1555s # else 1555s # { 1555s # data1 = g_value_peek_pointer (param_values + 0); 1555s # data2 = closure->data; 1555s # } 1555s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1555s # 1555s # callback (data1, 1555s # g_marshal_value_peek_string (param_values + 1), 1555s # data2); 1555s # } 1555s # 1555s # void 1555s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1555s # GValue *return_value G_GNUC_UNUSED, 1555s # gpointer instance, 1555s # va_list args, 1555s # gpointer marshal_data, 1555s # int n_params, 1555s # GType *param_types) 1555s # { 1555s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1555s # gpointer arg1, 1555s # gpointer data2); 1555s # GCClosure *cc = (GCClosure *) closure; 1555s # gpointer data1, data2; 1555s # GMarshalFunc_VOID__STRING callback; 1555s # gpointer arg0; 1555s # va_list args_copy; 1555s # 1555s # va_copy (args_copy, args); 1555s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1555s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1555s # arg0 = g_strdup (arg0); 1555s # va_end (args_copy); 1555s # 1555s # 1555s # if (G_CCLOSURE_SWAP_DATA (closure)) 1555s # { 1555s # data1 = closure->data; 1555s # data2 = instance; 1555s # } 1555s # else 1555s # { 1555s # data1 = instance; 1555s # data2 = closure->data; 1555s # } 1555s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1555s # 1555s # callback (data1, 1555s # arg0, 1555s # data2); 1555s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1555s # g_free (arg0); 1555s # } 1555s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1555s # tmpdir: /tmp/tmpjsb_lwi1 1555s # genmarshal: /usr/bin/glib-genmarshal 1555s # /tmp/tmpjsb_lwi1/tmpv9xdljjs.list: VOID:VARIANT 1555s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjsb_lwi1/tmpv9xdljjs.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1555s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1555s # 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. */ 1555s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1555s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1555s # 1555s # G_BEGIN_DECLS 1555s # 1555s # /* VOID:VARIANT (/tmp/tmpjsb_lwi1/tmpv9xdljjs.list:1) */ 1555s # extern 1555s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1555s # GValue *return_value, 1555s # guint n_param_values, 1555s # const GValue *param_values, 1555s # gpointer invocation_hint, 1555s # gpointer marshal_data); 1555s # extern 1555s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1555s # GValue *return_value, 1555s # gpointer instance, 1555s # va_list args, 1555s # gpointer marshal_data, 1555s # int n_params, 1555s # GType *param_types); 1555s # 1555s # 1555s # G_END_DECLS 1555s # 1555s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1555s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjsb_lwi1/tmpv9xdljjs.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1555s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1555s # 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. */ 1555s # #ifdef G_ENABLE_DEBUG 1555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1555s # #else /* !G_ENABLE_DEBUG */ 1555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1555s # * Do not access GValues directly in your code. Instead, use the 1555s # * g_value_get_*() functions 1555s # */ 1555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1555s # #endif /* !G_ENABLE_DEBUG */ 1555s # 1555s # /* VOID:VARIANT (/tmp/tmpjsb_lwi1/tmpv9xdljjs.list:1) */ 1555s # void 1555s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1555s # GValue *return_value G_GNUC_UNUSED, 1555s # guint n_param_values, 1555s # const GValue *param_values, 1555s # gpointer invocation_hint G_GNUC_UNUSED, 1555s # gpointer marshal_data) 1555s # { 1555s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1555s # gpointer arg1, 1555s # gpointer data2); 1555s # GCClosure *cc = (GCClosure *) closure; 1555s # gpointer data1, data2; 1555s # GMarshalFunc_VOID__VARIANT callback; 1555s # 1555s # g_return_if_fail (n_param_values == 2); 1555s # 1555s # if (G_CCLOSURE_SWAP_DATA (closure)) 1555s # { 1555s # data1 = closure->data; 1555s # data2 = g_value_peek_pointer (param_values + 0); 1555s # } 1555s # else 1555s # { 1555s # data1 = g_value_peek_pointer (param_values + 0); 1555s # data2 = closure->data; 1555s # } 1555s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1555s # 1555s # callback (data1, 1555s # g_marshal_value_peek_variant (param_values + 1), 1555s # data2); 1555s # } 1555s # 1555s # void 1555s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1555s # GValue *return_value G_GNUC_UNUSED, 1555s # gpointer instance, 1555s # va_list args, 1555s # gpointer marshal_data, 1555s # int n_params, 1555s # GType *param_types) 1555s # { 1555s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1555s # gpointer arg1, 1555s # gpointer data2); 1555s # GCClosure *cc = (GCClosure *) closure; 1555s # gpointer data1, data2; 1555s # GMarshalFunc_VOID__VARIANT callback; 1555s # gpointer arg0; 1555s # va_list args_copy; 1555s # 1555s # va_copy (args_copy, args); 1555s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1555s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1555s # arg0 = g_variant_ref_sink (arg0); 1555s # va_end (args_copy); 1555s # 1555s # 1555s # if (G_CCLOSURE_SWAP_DATA (closure)) 1555s # { 1555s # data1 = closure->data; 1555s # data2 = instance; 1555s # } 1555s # else 1555s # { 1555s # data1 = instance; 1555s # data2 = closure->data; 1555s # } 1555s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1555s # 1555s # callback (data1, 1555s # arg0, 1555s # data2); 1555s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1555s # g_variant_unref (arg0); 1555s # } 1555s 1..8 1555s ok - glib/genmarshal.py.test 1555s # Running test: glib/testfilemonitor.test 1555s TAP version 13 1555s # random seed: R02S602ae812fa6180a7cd8e341f13d5cf46 1555s 1..8 1555s # Start of monitor tests 1555s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1555s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1555s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1555s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s # Start of file tests 1555s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1555s # End of file tests 1555s # End of monitor tests 1555s ok - glib/testfilemonitor.test 1555s # Running test: glib/performance-threaded.test 1555s Running test "liststore-is-a" 1556s 3795 runs, min/avg/max = 0.253/0.263/0.973 ms 1556s Running test "liststore-interface-peek" 1557s 6462 runs, min/avg/max = 0.148/0.154/4.287 ms 1557s Running test "liststore-interface-peek-same" 1558s 6575 runs, min/avg/max = 0.148/0.152/0.383 ms 1558s ok - glib/performance-threaded.test 1558s # Running test: glib/memory-monitor.test 1558s TAP version 13 1558s # random seed: R02S2dbd65075da2e728b28da6efd8f044c4 1558s 1..1 1558s # Start of memory-monitor tests 1558s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1558s ok 1 /memory-monitor/default 1558s # End of memory-monitor tests 1558s ok - glib/memory-monitor.test 1558s # Running test: glib/module-test-plugin.test 1558s TAP version 13 1558s # random seed: R02Sc6eb7f45f37585c05e0842df3c2a470c 1558s 1..2 1558s # Start of module tests 1558s ok 1 /module/basics 1558s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1558s ok 2 /module/invalid-libtool-archive 1558s # End of module tests 1558s ok - glib/module-test-plugin.test 1558s # Running test: glib/utils-c-11.test 1558s TAP version 13 1558s # random seed: R02S7e98d05633c149dc6e447d5cfb5e9a50 1558s 1..40 1558s # Start of utils tests 1558s ok 1 /utils/language-names 1558s ok 2 /utils/locale-variants 1558s ok 3 /utils/version 1558s ok 4 /utils/appname 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1558s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1558s ok 5 /utils/prgname-thread-safety 1558s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1558s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1558s ok 6 /utils/tmpdir 1558s ok 7 /utils/basic_bits 1558s ok 8 /utils/bits 1558s ok 9 /utils/swap 1558s ok 10 /utils/find-program 1558s ok 11 /utils/find-program-for-path 1558s ok 12 /utils/debug 1558s ok 13 /utils/codeset 1558s ok 14 /utils/codeset2 1558s ok 15 /utils/console-charset 1558s ok 16 /utils/gettext 1558s ok 17 /utils/username 1558s ok 18 /utils/realname 1558s ok 19 /utils/hostname 1558s ok 20 /utils/xdgdirs 1558s ok 21 /utils/specialdir 1558s # NAME: Ubuntu 1558s ok 22 /utils/os-info 1558s ok 23 /utils/clear-pointer 1558s ok 24 /utils/clear-pointer-cast 1558s ok 25 /utils/take-pointer 1558s ok 26 /utils/clear-source 1558s ok 27 /utils/misc-mem 1558s # /utils/aligned-mem summary: Aligned memory allocator 1558s # Alignment must not be zero 1558s # Alignment must be a power of two 1558s # Alignment must be a multiple of sizeof(void*) 1558s ok 28 /utils/aligned-mem 1558s # /utils/free-sized summary: Check that g_free_sized() works 1558s ok 29 /utils/free-sized 1558s ok 30 /utils/nullify 1558s ok 31 /utils/atexit 1558s ok 32 /utils/check-setuid 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1558s ok 33 /utils/int-limits 1558s ok 34 /utils/clear-list 1558s ok 35 /utils/clear-slist 1558s # Start of specialdir tests 1558s ok 36 /utils/specialdir/desktop 1558s # End of specialdir tests 1558s # Start of clear-pointer tests 1558s ok 37 /utils/clear-pointer/side-effects 1558s # End of clear-pointer tests 1558s # Start of aligned-mem tests 1558s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1558s ok 38 /utils/aligned-mem/alignment 1558s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1558s ok 39 /utils/aligned-mem/zeroed 1558s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1558s ok 40 /utils/aligned-mem/free-sized 1558s # Start of subprocess tests 1558s # End of subprocess tests 1558s # End of aligned-mem tests 1558s # End of utils tests 1558s ok - glib/utils-c-11.test 1558s # Running test: glib/stream-rw_all.test 1559s TAP version 13 1559s # random seed: R02Sc36da10ca9188f39ca3d8e6333110228 1559s 1..3 1559s # Start of stream tests 1559s # Start of read_all_async tests 1559s ok 1 /stream/read_all_async/memory 1559s # End of read_all_async tests 1559s # Start of write_all_async tests 1559s ok 2 /stream/write_all_async/memory 1559s # End of write_all_async tests 1559s # Start of read_write_all_async tests 1559s ok 3 /stream/read_write_all_async/pipe 1559s # End of read_write_all_async tests 1559s # End of stream tests 1559s ok - glib/stream-rw_all.test 1559s # Running test: glib/gdbus-serialization.test 1559s TAP version 13 1559s # random seed: R02S4640178233d33fafc080655dce115c20 1559s 1..18 1559s # Start of gdbus tests 1559s # Start of message-serialize tests 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/basic/.dirs/runtime 1559s ok 1 /gdbus/message-serialize/basic 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/complex/.dirs/runtime 1559s ok 2 /gdbus/message-serialize/complex 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/invalid/.dirs/runtime 1559s ok 3 /gdbus/message-serialize/invalid 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/.dirs/runtime 1559s ok 4 /gdbus/message-serialize/header-checks 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/double-array/.dirs/runtime 1559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1559s ok 5 /gdbus/message-serialize/double-array 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/empty-structure/.dirs/runtime 1559s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1559s ok 6 /gdbus/message-serialize/empty-structure 1559s # Start of header-checks tests 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1559s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1559s ok 7 /gdbus/message-serialize/header-checks/valid 1559s # End of header-checks tests 1559s # End of message-serialize tests 1559s # Start of message-parse tests 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1559s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/non-signature-header/.dirs/runtime 1559s ok 9 /gdbus/message-parse/non-signature-header 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1559s ok 10 /gdbus/message-parse/empty-signature-header 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1559s ok 11 /gdbus/message-parse/multiple-signature-header 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1559s ok 12 /gdbus/message-parse/over-long-signature-header 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1559s ok 13 /gdbus/message-parse/deep-header-nesting 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1559s ok 14 /gdbus/message-parse/deep-body-nesting 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/truncated/.dirs/runtime 1559s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1559s ok 15 /gdbus/message-parse/truncated 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/empty-structure/.dirs/runtime 1559s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1559s ok 16 /gdbus/message-parse/empty-structure 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/missing-header/.dirs/runtime 1559s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1559s ok 17 /gdbus/message-parse/missing-header 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M8HQK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1559s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1559s ok 18 /gdbus/message-parse/invalid-header-type 1559s # End of message-parse tests 1559s # End of gdbus tests 1559s ok - glib/gdbus-serialization.test 1559s # Running test: glib/shell.test 1559s TAP version 13 1559s # random seed: R02Sbab21f73eae4b137f2babf1aaeddf3eb 1559s 1..51 1559s # Start of shell tests 1559s # Start of cmdline tests 1559s test cmdline: foo bar 1559s ok 1 /shell/cmdline/0 1559s test cmdline: foo 'bar' 1559s ok 2 /shell/cmdline/1 1559s test cmdline: foo "bar" 1559s ok 3 /shell/cmdline/2 1559s test cmdline: foo '' 'bar' 1559s ok 4 /shell/cmdline/3 1559s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1559s ok 5 /shell/cmdline/4 1559s test cmdline: foo blah foo bar baz 1559s ok 6 /shell/cmdline/5 1559s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1559s ok 7 /shell/cmdline/6 1559s test cmdline: foo \ 1559s bar 1559s ok 8 /shell/cmdline/7 1559s test cmdline: foo '' '' 1559s ok 9 /shell/cmdline/8 1559s test cmdline: foo \" la la la 1559s ok 10 /shell/cmdline/9 1559s test cmdline: foo \ foo woo woo\ 1559s ok 11 /shell/cmdline/10 1559s test cmdline: foo "yada yada \$\"" 1559s ok 12 /shell/cmdline/11 1559s test cmdline: foo "c:\\" 1559s ok 13 /shell/cmdline/12 1559s test cmdline: foo # bla bla bla 1559s bar 1559s ok 14 /shell/cmdline/13 1559s test cmdline: foo a#b 1559s ok 15 /shell/cmdline/14 1559s test cmdline: #foo 1559s ok 16 /shell/cmdline/15 1559s test cmdline: foo bar \ 1559s ok 17 /shell/cmdline/16 1559s test cmdline: foo 'bar baz 1559s ok 18 /shell/cmdline/17 1559s test cmdline: foo '"bar" baz 1559s ok 19 /shell/cmdline/18 1559s test cmdline: 1559s ok 20 /shell/cmdline/19 1559s test cmdline: 1559s ok 21 /shell/cmdline/20 1559s test cmdline: # foo bar 1559s ok 22 /shell/cmdline/21 1559s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1559s ok 23 /shell/cmdline/22 1559s # End of cmdline tests 1559s # Start of quote tests 1559s ok 24 /shell/quote/0 1559s ok 25 /shell/quote/1 1559s ok 26 /shell/quote/2 1559s ok 27 /shell/quote/3 1559s ok 28 /shell/quote/4 1559s ok 29 /shell/quote/5 1559s ok 30 /shell/quote/6 1559s # End of quote tests 1559s # Start of unquote tests 1559s ok 31 /shell/unquote/0 1559s ok 32 /shell/unquote/1 1559s ok 33 /shell/unquote/2 1559s ok 34 /shell/unquote/3 1559s ok 35 /shell/unquote/4 1559s ok 36 /shell/unquote/5 1559s ok 37 /shell/unquote/6 1559s ok 38 /shell/unquote/7 1559s ok 39 /shell/unquote/8 1559s ok 40 /shell/unquote/9 1559s ok 41 /shell/unquote/10 1559s ok 42 /shell/unquote/11 1559s ok 43 /shell/unquote/12 1559s ok 44 /shell/unquote/13 1559s ok 45 /shell/unquote/14 1559s ok 46 /shell/unquote/15 1559s ok 47 /shell/unquote/16 1559s ok 48 /shell/unquote/17 1559s ok 49 /shell/unquote/18 1559s ok 50 /shell/unquote/19 1559s ok 51 /shell/unquote/20 1559s # End of unquote tests 1559s # End of shell tests 1559s ok - glib/shell.test 1559s # Running test: glib/flags.test 1559s TAP version 13 1559s # random seed: R02Sea7dfa6aa06956587846ae97f0b72817 1559s 1..1 1559s # Start of gobject tests 1559s # Start of flags tests 1559s ok 1 /gobject/flags/validate 1559s # End of flags tests 1559s # End of gobject tests 1559s ok - glib/flags.test 1559s # Running test: glib/cancellable.test 1559s TAP version 13 1559s # random seed: R02Sfb80943130ecd938be50ad801b0fb3ab 1559s 1..10 1559s # Start of cancellable tests 1559s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1559s ok 2 /cancellable/null 1559s # /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 1559s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1559s # /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 1559s # Executing: glib/cancellable.test 1559s ok 4 /cancellable/resets-on-cancel-callback-hangs 1559s ok 5 /cancellable/poll-fd 1559s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1559s ok 6 /cancellable/poll-fd-cancelled 1559s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1559s ok 7 /cancellable/poll-fd-cancelled-threaded 1559s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1559s ok 8 /cancellable/cancel-reset-races 1559s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1559s ok 9 /cancellable/cancel-reset-connect-races 1559s # End of cancellable tests 1559s # Start of cancellable-source tests 1559s # /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) 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1561s ok 10 /cancellable-source/threaded-dispose 1561s # slow test /cancellable-source/threaded-dispose executed in 2.16 secs 1561s # End of cancellable-source tests 1561s ok - glib/cancellable.test 1561s # Running test: glib/objects-refcount2.test 1561s TAP version 13 1561s # random seed: R02S75891887e51320747184b80c191bfb73 1561s 1..1 1561s # Start of gobject tests 1561s # Start of refcount tests 1561s # init 0xb4c8db091750 1561s # 1561s # . 1561s # . 1561s # . 1561s # . 1561s # . 1561s # . 1561s # . 1561s # . 1561s # . 1561s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1562s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1563s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # Executing: glib/objects-refcount2.test 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1564s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1565s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1566s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1567s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1568s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # Executing: glib/objects-refcount2.test 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1569s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1570s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1571s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1572s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1573s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # Executing: glib/objects-refcount2.test 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1574s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1575s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1576s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1577s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1578s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # Executing: glib/objects-refcount2.test 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1579s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1580s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1581s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1582s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1583s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # Executing: glib/objects-refcount2.test 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1584s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1585s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1586s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1587s # . 1588s # . 1588s # . 1588s # . 1588s # . 1588s # . 1588s # dispose 0xb4c8db091750! 1588s # 1588s ok 1 /gobject/refcount/object-advanced 1588s # slow test /gobject/refcount/object-advanced executed in 26.40 secs 1588s # End of refcount tests 1588s # End of gobject tests 1588s ok - glib/objects-refcount2.test 1588s # Running test: glib/proxy-test.test 1588s TAP version 13 1588s # random seed: R02S886f159b3f318987ced1be50a6add812 1588s 1..11 1588s # Start of proxy tests 1588s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1588s ok 1 /proxy/direct_sync 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a81339a0 and GSocketClientAsyncConnectData 0xc4d8a8129270 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a81343b0 for GSocketClientAsyncConnectData 0xc4d8a8129270 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s ok 2 /proxy/direct_async 1588s ok 3 /proxy/single_sync 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8135cb0 and GSocketClientAsyncConnectData 0xc4d8a8134e00 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a8136810 for GSocketClientAsyncConnectData 0xc4d8a8134e00 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s ok 4 /proxy/single_async 1588s ok 5 /proxy/multiple_sync 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136540 and GSocketClientAsyncConnectData 0xc4d8a8136310 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a8136e90 for GSocketClientAsyncConnectData 0xc4d8a8136310 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a81368a0 for GSocketClientAsyncConnectData 0xc4d8a8136310 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s ok 6 /proxy/multiple_async 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1588s ok 7 /proxy/invalid-uris-sync 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136810 and GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1588s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1588s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a81309e0 for GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136540 and GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a81340c0 for GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s ok 8 /proxy/invalid-uris-async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1588s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1588s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a8136f50 for GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1588s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a81376d0 for GSocketClientAsyncConnectData 0xc4d8a8136120 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s ok 9 /proxy/dns 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a8137700 for GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1588s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8135bf0 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a8137c40 for GSocketClientAsyncConnectData 0xc4d8a8135bf0 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1588s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1588s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4d8a8136290 and GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1588s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4d8a8136bc0 for GSocketClientAsyncConnectData 0xc4d8a8136600 1588s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1588s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1588s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1588s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1588s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1588s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1588s ok 10 /proxy/override 1588s ok 11 /proxy/enumerator-ports 1588s # End of proxy tests 1588s ok - glib/proxy-test.test 1588s # Running test: glib/string.test 1588s TAP version 13 1588s # random seed: R02S94a8c5c045c06bd91b74bba1f57a6912 1588s 1..23 1588s # Start of string tests 1588s ok 1 /string/test-string-chunks 1588s ok 2 /string/test-string-chunk-insert 1588s ok 3 /string/test-string-new 1588s ok 4 /string/test-string-printf 1588s ok 5 /string/test-string-assign 1588s ok 6 /string/test-string-append-c 1588s ok 7 /string/test-string-append 1588s ok 8 /string/test-string-append-vprintf 1588s ok 9 /string/test-string-prepend-c 1588s ok 10 /string/test-string-prepend 1588s ok 11 /string/test-string-insert 1588s ok 12 /string/test-string-insert-unichar 1588s ok 13 /string/test-string-equal 1588s ok 14 /string/test-string-truncate 1588s ok 15 /string/test-string-overwrite 1588s ok 16 /string/test-string-nul-handling 1588s ok 17 /string/test-string-up-down 1588s ok 18 /string/test-string-set-size 1588s ok 19 /string/test-string-to-bytes 1588s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1588s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1588s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1588s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1588s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1588s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1588s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1588s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1588s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1588s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1588s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1588s # -> 4 replacements, "fd fr fals" 1588s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1588s # -> 3 replacements, "aaaaaaaaa" 1588s # 7: Replacing "a" with "" (limit 0) in "aaa" 1588s # -> 3 replacements, "" 1588s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1588s # -> 1 replacements, "bba" 1588s # 9: Replacing "" with "bar" (limit 0) in "foo" 1588s # -> 4 replacements, "barfbarobarobar" 1588s # 10: Replacing "" with "x" (limit 0) in "" 1588s # -> 1 replacements, "x" 1588s # 11: Replacing "" with "" (limit 0) in "" 1588s # -> 1 replacements, "" 1588s ok 20 /string/test-string-replace 1588s ok 21 /string/test-string-steal 1588s ok 22 /string/test-string-new-take 1588s # Start of test-string-new-take tests 1588s ok 23 /string/test-string-new-take/null 1588s # End of test-string-new-take tests 1588s # End of string tests 1588s ok - glib/string.test 1588s # Running test: glib/tls-database.test 1588s TAP version 13 1588s # random seed: R02Sa6ef0cae7cbf09b27426c2cb14a706ef 1588s 1..1 1588s # Start of tls-backend tests 1588s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1588s ok 1 /tls-backend/set-default-database 1588s # End of tls-backend tests 1588s ok - glib/tls-database.test 1588s # Running test: glib/properties-introspection.test 1588s TAP version 13 1588s # random seed: R02S1cb88e01b068fa20b3a1deba9caa67b5 1588s 1..2 1588s # Start of properties tests 1588s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1588s ok 1 /properties/introspection 1588s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1588s ok 2 /properties/collision 1588s # End of properties tests 1588s ok - glib/properties-introspection.test 1588s # Running test: glib/file.test 1588s TAP version 13 1588s # random seed: R02S784b39822cc0cce8d97679abc7b8fa3e 1588s 1..50 1588s # Start of file tests 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/basic/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/basic/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/basic/.dirs/system-config1:/tmp/test_file_KD5KK2/file/basic/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/basic/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/basic/.dirs/system-data1:/tmp/test_file_KD5KK2/file/basic/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/basic/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/basic/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/basic/.dirs/runtime 1588s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1588s ok 1 /file/basic 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/build-filename/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/build-filename/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/build-filename/.dirs/system-config1:/tmp/test_file_KD5KK2/file/build-filename/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/build-filename/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/build-filename/.dirs/system-data1:/tmp/test_file_KD5KK2/file/build-filename/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/build-filename/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/build-filename/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/build-filename/.dirs/runtime 1588s ok 2 /file/build-filename 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_KD5KK2/file/build-filenamev/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_KD5KK2/file/build-filenamev/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/build-filenamev/.dirs/runtime 1588s ok 3 /file/build-filenamev 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/parent/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/parent/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/parent/.dirs/system-config1:/tmp/test_file_KD5KK2/file/parent/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/parent/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/parent/.dirs/system-data1:/tmp/test_file_KD5KK2/file/parent/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/parent/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/parent/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/parent/.dirs/runtime 1588s ok 4 /file/parent 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/child/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/child/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/child/.dirs/system-config1:/tmp/test_file_KD5KK2/file/child/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/child/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/child/.dirs/system-data1:/tmp/test_file_KD5KK2/file/child/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/child/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/child/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/child/.dirs/runtime 1588s ok 5 /file/child 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/empty-path/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/empty-path/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/empty-path/.dirs/system-config1:/tmp/test_file_KD5KK2/file/empty-path/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/empty-path/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/empty-path/.dirs/system-data1:/tmp/test_file_KD5KK2/file/empty-path/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/empty-path/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/empty-path/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/empty-path/.dirs/runtime 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1588s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1588s ok 6 /file/empty-path 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/type/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/type/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/type/.dirs/system-config1:/tmp/test_file_KD5KK2/file/type/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/type/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/type/.dirs/system-data1:/tmp/test_file_KD5KK2/file/type/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/type/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/type/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/type/.dirs/runtime 1588s ok 7 /file/type 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/parse-name/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/parse-name/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/parse-name/.dirs/system-config1:/tmp/test_file_KD5KK2/file/parse-name/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/parse-name/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/parse-name/.dirs/system-data1:/tmp/test_file_KD5KK2/file/parse-name/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/parse-name/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/parse-name/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/parse-name/.dirs/runtime 1588s ok 8 /file/parse-name 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/replace-load/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/replace-load/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/replace-load/.dirs/system-config1:/tmp/test_file_KD5KK2/file/replace-load/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/replace-load/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/replace-load/.dirs/system-data1:/tmp/test_file_KD5KK2/file/replace-load/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/replace-load/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/replace-load/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/replace-load/.dirs/runtime 1588s ok 9 /file/replace-load 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_KD5KK2/file/replace-cancel/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_KD5KK2/file/replace-cancel/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/replace-cancel/.dirs/runtime 1588s # Bug Reference: https://bugzilla.gnome.org/629301 1588s ok 10 /file/replace-cancel 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_KD5KK2/file/replace-symlink/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_KD5KK2/file/replace-symlink/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/replace-symlink/.dirs/runtime 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1588s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1588s # Using temporary directory /tmp/test_file_KD5KK2/g_file_replace_symlink_OUIJK2 1588s ok 11 /file/replace-symlink 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-new-tmp/.dirs/runtime 1588s ok 12 /file/async-new-tmp 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-new-tmp-dir/.dirs/runtime 1588s ok 13 /file/async-new-tmp-dir 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-delete/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-delete/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-delete/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-delete/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-delete/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-delete/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-delete/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-delete/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-delete/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-delete/.dirs/runtime 1588s ok 14 /file/async-delete 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-make-symlink/.dirs/runtime 1588s ok 15 /file/async-make-symlink 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/copy-preserve-mode/.dirs/runtime 1588s # Current umask: 2 1588s # Vector 0 1588s # Vector 1 1588s # Vector 2 1588s # Vector 3 1588s # Vector 4 1588s # Vector 5 1588s # Vector 6 1588s # Vector 7 1588s # Vector 8 1588s # Vector 9 1588s # Vector 10 1588s ok 16 /file/copy-preserve-mode 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/measure/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/measure/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/measure/.dirs/system-config1:/tmp/test_file_KD5KK2/file/measure/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/measure/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/measure/.dirs/system-data1:/tmp/test_file_KD5KK2/file/measure/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/measure/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/measure/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/measure/.dirs/runtime 1588s ok 17 /file/measure 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/measure-async/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/measure-async/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/measure-async/.dirs/system-config1:/tmp/test_file_KD5KK2/file/measure-async/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/measure-async/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/measure-async/.dirs/system-data1:/tmp/test_file_KD5KK2/file/measure-async/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/measure-async/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/measure-async/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/measure-async/.dirs/runtime 1588s ok 18 /file/measure-async 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_KD5KK2/file/load-bytes/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_KD5KK2/file/load-bytes/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/load-bytes/.dirs/runtime 1588s ok 19 /file/load-bytes 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/load-bytes-async/.dirs/runtime 1588s ok 20 /file/load-bytes-async 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/.dirs/runtime 1588s ok 21 /file/writev 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/build-attribute-list-for-copy/.dirs/runtime 1588s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1588s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1588s # 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::* 1588s # 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::* 1588s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1588s # Attributes for copy: standard::size,xattr::* 1588s # Attributes for copy: standard::size,unix::mode,xattr::* 1588s ok 22 /file/build-attribute-list-for-copy 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/move_async/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/move_async/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/move_async/.dirs/system-config1:/tmp/test_file_KD5KK2/file/move_async/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/move_async/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/move_async/.dirs/system-data1:/tmp/test_file_KD5KK2/file/move_async/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/move_async/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/move_async/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/move_async/.dirs/runtime 1588s ok 23 /file/move_async 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/query-zero-length-content-type/.dirs/runtime 1588s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1588s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1588s ok 24 /file/query-zero-length-content-type 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/runtime 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/data/applications 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/config 1588s ok 25 /file/query-default-handler-file 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/runtime 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/data/applications 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/config 1588s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_KD5KK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/config 1588s ok 26 /file/query-default-handler-file-async 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/runtime 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/data/applications 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/config 1588s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_KD5KK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/config 1588s ok 27 /file/query-default-handler-uri 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/runtime 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/data/applications 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/config 1588s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_KD5KK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/config 1588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KD5KK2/file/query-default-handler-uri-async/.dirs/config 1588s ok 28 /file/query-default-handler-uri-async 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/enumerator-cancellation/.dirs/runtime 1588s ok 29 /file/enumerator-cancellation 1588s # Start of async-create-delete tests 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-create-delete/0/.dirs/runtime 1588s ok 30 /file/async-create-delete/0 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-create-delete/1/.dirs/runtime 1588s ok 31 /file/async-create-delete/1 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-create-delete/10/.dirs/runtime 1588s ok 32 /file/async-create-delete/10 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-create-delete/25/.dirs/runtime 1588s ok 33 /file/async-create-delete/25 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/async-create-delete/4096/.dirs/runtime 1588s ok 34 /file/async-create-delete/4096 1588s # End of async-create-delete tests 1588s # Start of replace-symlink tests 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/replace-symlink/using-etag/.dirs/runtime 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1588s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1588s # Using temporary directory /tmp/test_file_KD5KK2/g_file_replace_symlink_using_etag_8NWXK2 1589s # Executing: glib/file.test 1591s ok 35 /file/replace-symlink/using-etag 1591s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1591s # End of replace-symlink tests 1591s # Start of replace tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_KD5KK2/file/replace/write-only/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_KD5KK2/file/replace/write-only/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/replace/write-only/.dirs/runtime 1591s # /file/replace/write-only summary: Test various situations for g_file_replace() 1591s # Current umask: 2 1591s # Test 0, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_0Y3XK2 1591s # Test 1, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_I62XK2 1591s # Test 2, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_QSAYK2 1591s # Test 3, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_VJJYK2 1591s # Test 4, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_O4HYK2 1591s # Test 5, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_P1GYK2 1591s # Test 6, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_SPDYK2 1591s # Test 7, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_9T7WK2 1591s # Test 8, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_0E5WK2 1591s # Test 9, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_FQGXK2 1591s # Test 10, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_4ECXK2 1591s # Test 11, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_Q97PK2 1591s # Test 12, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_MH6PK2 1591s # Test 13, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_F94PK2 1591s # Test 14, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_KHEQK2 1591s # Test 15, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_ASSQK2 1591s # Test 16, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_S3KPK2 1591s # Test 17, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_44FPK2 1591s # Test 18, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_UYNPK2 1591s # Test 19, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_HKWPK2 1591s # Test 20, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_L93PK2 1591s # Test 21, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_ZZZPK2 1591s # Test 22, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_NYROK2 1591s # Test 23, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_D1POK2 1591s # Test 24, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_WAYOK2 1591s # Test 25, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_D85OK2 1591s # Test 26, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_3R4OK2 1591s # Test 27, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_G52OK2 1591s # Test 28, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_H8BPK2 1591s # Test 29, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_5G6NK2 1591s # Test 30, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_OE4NK2 1591s # Test 31, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_Z82NK2 1591s # Test 32, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_5SGOK2 1591s # Test 33, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_4J0SK2 1591s # Test 34, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_EM9SK2 1591s # Test 35, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_OI6SK2 1591s # Test 36, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_SPLTK2 1591s # Test 37, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_KEASK2 1591s # Test 38, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_X7ISK2 1591s # Test 39, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_Z9USK2 1591s # Test 40, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_F8NRK2 1591s # Test 41, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_AMJRK2 1591s # Test 42, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_19QRK2 1591s # Test 43, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_6QXRK2 1591s # Test 44, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_W64RK2 1591s # Test 45, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_0C3RK2 1591s # Test 46, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_GQWQK2 1591s # Test 47, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_P1VQK2 1591s # Test 48, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_273QK2 1591s # We do not have CAP_DAC_OVERRIDE or equivalent 1591s ok 36 /file/replace/write-only 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_KD5KK2/file/replace/read-write/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_KD5KK2/file/replace/read-write/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/replace/read-write/.dirs/runtime 1591s # /file/replace/read-write summary: Test various situations for g_file_replace() 1591s # Current umask: 2 1591s # Test 0, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_WA0QK2 1591s # Test 1, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_L5BRK2 1591s # Test 2, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_M38QK2 1591s # Test 3, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_NUHRK2 1591s # Test 4, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_DUFRK2 1591s # Test 5, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_D4DRK2 1591s # Test 6, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_TILKK2 1591s # Test 7, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_OKTKK2 1591s # Test 8, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_0YRKK2 1591s # Test 9, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_XKQKK2 1591s # Test 10, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_2D0KK2 1591s # Test 11, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_6PVKK2 1591s # Test 12, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_JC7KK2 1591s # Test 13, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_6O6KK2 1591s # Test 14, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_HT2KK2 1591s # Test 15, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_A1VJK2 1591s # Test 16, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_DD4JK2 1591s # Test 17, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_H3ZJK2 1591s # Test 18, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_0O6JK2 1591s # Test 19, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_10EKK2 1591s # Test 20, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_V88IK2 1591s # Test 21, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_7I5IK2 1591s # Test 22, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_5JEJK2 1591s # Test 23, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_1GDJK2 1591s # Test 24, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_A8LJK2 1591s # Test 25, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_R1HJK2 1591s # Test 26, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_MZGJK2 1591s # Test 27, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_BLSJK2 1591s # Test 28, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_ZWOJK2 1591s # Test 29, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_2LIIK2 1591s # Test 30, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_Z5GIK2 1591s # Test 31, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_5RFIK2 1591s # Test 32, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_4YOIK2 1591s # Test 33, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_W9WIK2 1591s # Test 34, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_RWVIK2 1591s # Test 35, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_BAVIK2 1591s # Test 36, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_HB3IK2 1591s # Test 37, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_BAHNK2 1591s # Test 38, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_S7DNK2 1591s # Test 39, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_Y9LNK2 1591s # Test 40, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_LZHNK2 1591s # Test 41, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_QXQNK2 1591s # Test 42, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_KC0NK2 1591s # Test 43, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_18VNK2 1591s # Test 44, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_9GPMK2 1591s # Test 45, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_M6NMK2 1591s # Test 46, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_TFYMK2 1591s # Test 47, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_MQWMK2 1591s # Test 48, using temporary directory /tmp/test_file_KD5KK2/g_file_replace_B5SMK2 1591s # We do not have CAP_DAC_OVERRIDE or equivalent 1591s ok 37 /file/replace/read-write 1591s # End of replace tests 1591s # Start of copy tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_KD5KK2/file/copy/progress/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_KD5KK2/file/copy/progress/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/copy/progress/.dirs/runtime 1591s ok 38 /file/copy/progress 1591s # End of copy tests 1591s # Start of writev tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/no-bytes-written/.dirs/runtime 1591s ok 39 /file/writev/no-bytes-written 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/no-vectors/.dirs/runtime 1591s ok 40 /file/writev/no-vectors 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/empty-vectors/.dirs/runtime 1591s ok 41 /file/writev/empty-vectors 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/too-big-vectors/.dirs/runtime 1591s ok 42 /file/writev/too-big-vectors 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/async/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/async/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/async/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/async/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/async/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/async/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/async/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/async/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/async/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/async/.dirs/runtime 1591s ok 43 /file/writev/async 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/async_all/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/async_all/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/async_all/.dirs/runtime 1591s ok 44 /file/writev/async_all 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/async_all-empty-vectors/.dirs/runtime 1591s ok 45 /file/writev/async_all-empty-vectors 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/async_all-no-vectors/.dirs/runtime 1591s ok 46 /file/writev/async_all-no-vectors 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1591s ok 47 /file/writev/async_all-to-big-vectors 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/writev/async_all-cancellation/.dirs/runtime 1591s ok 48 /file/writev/async_all-cancellation 1591s # End of writev tests 1591s # Start of from-uri tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/from-uri/ignores-query-string/.dirs/runtime 1591s ok 49 /file/from-uri/ignores-query-string 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KD5KK2/file/from-uri/ignores-fragment/.dirs/runtime 1591s ok 50 /file/from-uri/ignores-fragment 1591s # End of from-uri tests 1591s # End of file tests 1591s ok - glib/file.test 1591s # Running test: glib/cache.test 1591s TAP version 13 1591s # random seed: R02Sad31c645be8679a02ca4ab7be918f5e3 1591s 1..1 1591s # Start of cache tests 1591s ok 1 /cache/basic 1591s # End of cache tests 1591s ok - glib/cache.test 1591s # Running test: glib/throws.test 1591s TAP version 13 1591s # random seed: R02Se915211d96e3df2c3d9e86bc682678f7 1591s 1..3 1591s # Start of throws tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_W5QLK2/throws/invoke-gerror/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1591s ok 1 /throws/invoke-gerror 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_W5QLK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1591s ok 2 /throws/vfunc-can-throw-gerror 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_W5QLK2/throws/callback-can-throw-gerror/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1591s ok 3 /throws/callback-can-throw-gerror 1591s # End of throws tests 1591s ok - glib/throws.test 1591s # Running test: glib/srvtarget.test 1591s TAP version 13 1591s # random seed: R02S5fa9f5f99e97f48a6365b773b2d59cbc 1591s 1..1 1591s # Start of srvtarget tests 1593s ok 1 /srvtarget/srv-target-ordering 1593s # slow test /srvtarget/srv-target-ordering executed in 1.61 secs 1593s # End of srvtarget tests 1593s ok - glib/srvtarget.test 1593s # Running test: glib/custom-dispatch.test 1593s TAP version 13 1593s # random seed: R02S6d84817597adce1bf717a63c407b918f 1593s 1..2 1593s # Start of properties tests 1593s # Start of custom-dispatch tests 1593s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1593s ok 1 /properties/custom-dispatch/init 1593s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1593s ok 2 /properties/custom-dispatch/set 1593s # End of custom-dispatch tests 1593s # End of properties tests 1593s ok - glib/custom-dispatch.test 1593s # Running test: glib/rwlock.test 1593s TAP version 13 1593s # random seed: R02S72639953fccdc27d6bd7ab9934193b6c 1593s 1..8 1593s # Start of thread tests 1593s ok 1 /thread/rwlock1 1593s ok 2 /thread/rwlock2 1593s ok 3 /thread/rwlock3 1593s ok 4 /thread/rwlock4 1593s ok 5 /thread/rwlock5 1593s ok 6 /thread/rwlock6 1594s # Executing: glib/rwlock.test 1599s # Executing: glib/rwlock.test 1604s # Executing: glib/rwlock.test 1609s # Executing: glib/rwlock.test 1614s # Executing: glib/rwlock.test 1619s # Executing: glib/rwlock.test 1624s # Executing: glib/rwlock.test 1629s # Executing: glib/rwlock.test 1634s # Executing: glib/rwlock.test 1636s ok 7 /thread/rwlock7 1636s # slow test /thread/rwlock7 executed in 43.13 secs 1636s ok 8 /thread/rwlock8 1636s # End of thread tests 1636s ok - glib/rwlock.test 1636s # Running test: glib/win32-appinfo.test 1636s TAP version 13 1636s # random seed: R02Sd1dd8b1e7df0abd88d1ad9a6e0a45384 1636s 1..5 1636s # Start of appinfo tests 1636s ok 1 /appinfo/utf16-strfuncs 1636s ok 2 /appinfo/win32-extract-executable 1636s ok 3 /appinfo/win32-rundll32-fixup 1636s ok 4 /appinfo/win32-parse-filename 1636s ok 5 /appinfo/win32-utf16-conversion-fail 1636s # Start of subprocess tests 1636s # End of subprocess tests 1636s # End of appinfo tests 1636s ok - glib/win32-appinfo.test 1636s # Running test: glib/asyncqueue.test 1636s TAP version 13 1636s # random seed: R02Sb75366fd5da17e2033b471dfc8b93365 1636s 1..7 1636s # Start of asyncqueue tests 1636s ok 1 /asyncqueue/basics 1636s ok 2 /asyncqueue/sort 1636s ok 3 /asyncqueue/destroy 1636s ok 4 /asyncqueue/threads 1636s ok 5 /asyncqueue/timed 1636s ok 6 /asyncqueue/remove 1636s ok 7 /asyncqueue/push_front 1636s # End of asyncqueue tests 1636s ok - glib/asyncqueue.test 1636s # Running test: glib/buffered-input-stream.test 1636s TAP version 13 1636s # random seed: R02S06f3bed1d7a95e799f6afbe58b8f9509 1636s 1..10 1636s # Start of buffered-input-stream tests 1636s ok 1 /buffered-input-stream/peek 1636s ok 2 /buffered-input-stream/peek-buffer 1636s ok 3 /buffered-input-stream/set-buffer-size 1636s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1637s ok 4 /buffered-input-stream/read-byte 1637s ok 5 /buffered-input-stream/read 1637s ok 6 /buffered-input-stream/read-async 1637s ok 7 /buffered-input-stream/skip 1637s ok 8 /buffered-input-stream/skip-async 1637s ok 9 /buffered-input-stream/seek 1637s # End of buffered-input-stream tests 1637s # Start of filter-input-stream tests 1637s ok 10 /filter-input-stream/close 1637s # End of filter-input-stream tests 1637s ok - glib/buffered-input-stream.test 1637s # Running test: glib/utf8-pointer.test 1637s TAP version 13 1637s # random seed: R02S1ef25b6bdcfd227a9c1d075cdb94f685 1637s 1..3 1637s # Start of utf8 tests 1638s ok 1 /utf8/offsets 1638s # slow test /utf8/offsets executed in 1.42 secs 1638s ok 2 /utf8/lengths 1638s ok 3 /utf8/find 1638s # End of utf8 tests 1638s ok - glib/utf8-pointer.test 1638s # Running test: glib/node.test 1638s TAP version 13 1638s # random seed: R02Sdbd6f35944c02215ab7697385aab951e 1638s 1..6 1638s # Start of node tests 1638s ok 1 /node/allocation 1638s ok 2 /node/construction 1638s ok 3 /node/traversal 1638s ok 4 /node/misc 1638s ok 5 /node/unlink 1638s ok 6 /node/copy 1638s # End of node tests 1638s ok - glib/node.test 1638s # Running test: glib/sandbox.test 1638s TAP version 13 1638s # random seed: R02S5e69a366c8bb0b63a21b9002214b3eef 1638s 1..4 1638s # Start of sandbox tests 1638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/home 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/cache 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_776LK2/sandbox/none/.dirs/system-config2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/config 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_776LK2/sandbox/none/.dirs/system-data2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/data 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/state 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_776LK2/sandbox/none/.dirs/runtime 1638s ok 1 /sandbox/none 1638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/home 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/cache 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_776LK2/sandbox/snap/.dirs/system-config2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/config 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_776LK2/sandbox/snap/.dirs/system-data2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/data 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/state 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_776LK2/sandbox/snap/.dirs/runtime 1638s # Created snap.yaml in /tmp/test_sandbox_776LK2/snap/current/meta/snap.yaml 1638s ok 2 /sandbox/snap 1638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/home 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/cache 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/system-config2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/config 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/system-data2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/data 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/state 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_776LK2/sandbox/classic-snap/.dirs/runtime 1638s # Created snap.yaml in /tmp/test_sandbox_776LK2/snap/current/meta/snap.yaml 1638s ok 3 /sandbox/classic-snap 1638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/home 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/cache 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/system-config2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/config 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/system-data2 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/data 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/state 1638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/runtime 1638s # Creating .flatpak-info in /tmp/test_sandbox_776LK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1638s ok 4 /sandbox/flatpak 1638s # End of sandbox tests 1638s ok - glib/sandbox.test 1638s # Running test: glib/mount-operation.test 1638s TAP version 13 1638s # random seed: R02Sc3ad620653b448c47f581041512bf208 1638s 1..2 1638s # Start of mount-operation tests 1638s ok 1 /mount-operation/construction 1638s ok 2 /mount-operation/properties 1638s # End of mount-operation tests 1638s ok - glib/mount-operation.test 1638s # Running test: glib/gio-tool.py.test 1638s TAP version 13 1638s ok 1 __main__.TestGioTool.test_help 1638s # tmpdir: /tmp/tmpc_sjkhpd 1638s # gio: /usr/bin/gio 1638s # Running: ['/usr/bin/gio', '--help'] 1638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1638s # Output: Usage: 1638s # gio COMMAND [ARGS…] 1638s # 1638s # Commands: 1638s # help Print help 1638s # version Print version 1638s # cat Concatenate files to standard output 1638s # copy Copy one or more files 1638s # info Show information about locations 1638s # launch Launch an application from a desktop file 1638s # list List the contents of locations 1638s # mime Get or set the handler for a mimetype 1638s # mkdir Create directories 1638s # monitor Monitor files and directories for changes 1638s # mount Mount or unmount the locations 1638s # move Move one or more files 1638s # open Open files with the default application 1638s # rename Rename a file 1638s # remove Delete one or more files 1638s # save Read from standard input and save 1638s # set Set a file attribute 1638s # trash Move files or directories to the trash 1638s # tree Lists the contents of locations in a tree 1638s # 1638s # Use “gio help COMMAND” to get detailed help. 1638s # Running: ['/usr/bin/gio', 'help'] 1638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1638s # Output: Usage: 1638s # gio COMMAND [ARGS…] 1638s # 1638s # Commands: 1638s # help Print help 1638s # version Print version 1638s # cat Concatenate files to standard output 1638s # copy Copy one or more files 1638s # info Show information about locations 1638s # launch Launch an application from a desktop file 1638s # list List the contents of locations 1638s # mime Get or set the handler for a mimetype 1638s # mkdir Create directories 1638s # monitor Monitor files and directories for changes 1638s # mount Mount or unmount the locations 1638s # move Move one or more files 1638s # open Open files with the default application 1638s # rename Rename a file 1638s # remove Delete one or more files 1638s # save Read from standard input and save 1638s # set Set a file attribute 1638s # trash Move files or directories to the trash 1638s # tree Lists the contents of locations in a tree 1638s # 1638s # Use “gio help COMMAND” to get detailed help. 1638s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1638s # tmpdir: /tmp/tmpq0_e3iog 1638s # gio: /usr/bin/gio 1638s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpq0_e3iog/tmpzydziflz'] 1638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1638s # Output: uri: file:///tmp/tmpq0_e3iog/tmpzydziflz 1638s # local path: /tmp/tmpq0_e3iog/tmpzydziflz 1638s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1638s # attributes: 1638s # standard::content-type: application/x-zerosize 1638s ok 3 __main__.TestGioTool.test_no_args 1638s # tmpdir: /tmp/tmphx6ikg6x 1638s # gio: /usr/bin/gio 1638s # Running: ['/usr/bin/gio'] 1638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1638s 1..3 1639s ok - glib/gio-tool.py.test 1639s # Running test: glib/registered-type-info.test 1639s TAP version 13 1639s # random seed: R02S9bee8c6f14ee51305f981ff49b349305 1639s 1..1 1639s # Start of registered-type-info tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_OGCQK2/registered-type-info/boxed/.dirs/runtime 1639s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1639s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1639s # Expecting CClosure to not be boxed 1639s # Expecting TypeCValue to not be boxed 1639s # Expecting InitiallyUnownedClass to not be boxed 1639s # Expecting BookmarkFile to be boxed 1639s # Expecting Closure to be boxed 1639s # Expecting Object to not be boxed 1639s ok 1 /registered-type-info/boxed 1639s # End of registered-type-info tests 1639s ok - glib/registered-type-info.test 1639s # Running test: glib/gsocketclient-slow.test 1639s TAP version 13 1639s # random seed: R02Sc1a90a9f47bec07674178e67e690d38e 1639s 1..3 1639s # Start of socket-client tests 1639s # Start of happy-eyeballs tests 1639s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1639s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf86980beaf0 and GSocketClientAsyncConnectData 0xbf86980b82b0 1639s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1639s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf86980c0200 for GSocketClientAsyncConnectData 0xbf86980b82b0 1639s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1639s # Executing: glib/gsocketclient-slow.test 1639s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1639s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1639s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1639s ok 1 /socket-client/happy-eyeballs/slow 1639s # slow test /socket-client/happy-eyeballs/slow executed in 0.61 secs 1639s # Start of cancellation tests 1639s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf86980c3950 and GSocketClientAsyncConnectData 0xbf86980bfa10 1639s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1639s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1639s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf86980c2710 and GSocketClientAsyncConnectData 0xbf86980b82b0 1639s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1639s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf86980c4540 for GSocketClientAsyncConnectData 0xbf86980b82b0 1639s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1640s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1640s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1640s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1640s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1640s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1640s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1640s # End of cancellation tests 1640s # End of happy-eyeballs tests 1640s # End of socket-client tests 1640s ok - glib/gsocketclient-slow.test 1640s # Running test: glib/memory-monitor-dbus.test 1640s TAP version 13 1640s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1640s 1..1 1640s ok - glib/memory-monitor-dbus.test 1641s # Running test: glib/object.test 1641s TAP version 13 1641s # random seed: R02Sfcdecd3ae89d5a1838f2c618aaf20ea7 1641s 1..2 1641s # Start of object tests 1641s # Start of constructor tests 1641s ok 1 /object/constructor/singleton 1641s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1641s # End of constructor tests 1641s # End of object tests 1641s ok - glib/object.test 1641s # Running test: glib/fileutils.test 1641s TAP version 13 1641s # random seed: R02Sa7db028b58defe66c1fbdc17a73d9749 1641s 1..27 1641s # Start of fileutils tests 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/paths/.dirs/runtime 1641s ok 1 /fileutils/paths 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/build-path/.dirs/runtime 1641s ok 2 /fileutils/build-path 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/build-pathv/.dirs/runtime 1641s ok 3 /fileutils/build-pathv 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/build-filename/.dirs/runtime 1641s ok 4 /fileutils/build-filename 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/build-filenamev/.dirs/runtime 1641s ok 5 /fileutils/build-filenamev 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents/.dirs/runtime 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s ok 6 /fileutils/mkdir-with-parents 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s ok 7 /fileutils/mkdir-with-parents-permission 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/format-size-for-display/.dirs/runtime 1641s ok 8 /fileutils/format-size-for-display 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/errors/.dirs/runtime 1641s ok 9 /fileutils/errors 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/basename/.dirs/runtime 1641s ok 10 /fileutils/basename 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/get-basename/.dirs/runtime 1641s ok 11 /fileutils/get-basename 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/dirname/.dirs/runtime 1641s ok 12 /fileutils/dirname 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/dir-make-tmp/.dirs/runtime 1641s ok 13 /fileutils/dir-make-tmp 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/file-open-tmp/.dirs/runtime 1641s ok 14 /fileutils/file-open-tmp 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/file-test/.dirs/runtime 1641s ok 15 /fileutils/file-test 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/mkstemp/.dirs/runtime 1641s ok 16 /fileutils/mkstemp 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/mkdtemp/.dirs/runtime 1641s ok 17 /fileutils/mkdtemp 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/get-contents/.dirs/runtime 1641s ok 18 /fileutils/get-contents 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/get-contents-large-file/.dirs/runtime 1641s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/set-contents/.dirs/runtime 1641s ok 20 /fileutils/set-contents 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/.dirs/runtime 1641s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1641s # Flags 0 and test 0 1641s # Flags 0 and test 1 1641s # Flags 0 and test 2 1641s # Flags 0 and test 3 1641s # Flags 0 and test 4 1641s # Flags 0 and test 5 1641s # Flags 1 and test 0 1641s # Flags 1 and test 1 1641s # Flags 1 and test 2 1641s # Flags 1 and test 3 1641s # Flags 1 and test 4 1641s # Flags 1 and test 5 1641s # Flags 2 and test 0 1641s # Flags 2 and test 1 1641s # Flags 2 and test 2 1641s # Flags 2 and test 3 1641s # Flags 2 and test 4 1641s # Flags 2 and test 5 1641s # Flags 3 and test 0 1641s # Flags 3 and test 1 1641s # Flags 3 and test 2 1641s # Flags 3 and test 3 1641s # Flags 3 and test 4 1641s # Flags 3 and test 5 1641s # Flags 4 and test 0 1641s # Flags 4 and test 1 1641s # Flags 4 and test 2 1641s # Flags 4 and test 3 1641s # Flags 4 and test 4 1641s # Flags 4 and test 5 1641s # Flags 5 and test 0 1641s # Flags 5 and test 1 1641s # Flags 5 and test 2 1641s # Flags 5 and test 3 1641s # Flags 5 and test 4 1641s # Flags 5 and test 5 1641s # Flags 6 and test 0 1641s # Flags 6 and test 1 1641s # Flags 6 and test 2 1641s # Flags 6 and test 3 1641s # Flags 6 and test 4 1641s # Flags 6 and test 5 1641s ok 21 /fileutils/set-contents-full 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/read-link/.dirs/runtime 1641s ok 22 /fileutils/read-link 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/stdio-wrappers/.dirs/runtime 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s ok 23 /fileutils/stdio-wrappers 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/fopen-modes/.dirs/runtime 1641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1641s # Testing fopen() mode 'w' 1641s # Testing fopen() mode 'r' 1641s # Testing fopen() mode 'a' 1641s # Testing fopen() mode 'w+' 1641s # Testing fopen() mode 'r+' 1641s # Testing fopen() mode 'a+' 1641s # Testing fopen() mode 'wb' 1641s # Testing fopen() mode 'rb' 1641s # Testing fopen() mode 'ab' 1641s # Testing fopen() mode 'w+b' 1641s # Testing fopen() mode 'r+b' 1641s # Testing fopen() mode 'a+b' 1641s # Testing fopen() mode 'wb+' 1641s # Testing fopen() mode 'rb+' 1641s # Testing fopen() mode 'ab+' 1641s ok 24 /fileutils/fopen-modes 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/clear-fd/.dirs/runtime 1641s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1641s # Will be closed by autocleanup: 3, -42 1641s # Testing error handling 1641s ok 25 /fileutils/clear-fd 1641s # Start of set-contents-full tests 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1641s ok 26 /fileutils/set-contents-full/read-only-file 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2JAQK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1641s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1641s # Flags 0 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # Flags 1 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # Flags 2 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # Flags 3 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # Flags 4 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # Flags 5 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s # Flags 6 1641s # We do not have CAP_DAC_OVERRIDE or equivalent 1641s ok 27 /fileutils/set-contents-full/read-only-directory 1641s # End of set-contents-full tests 1641s # Start of clear-fd tests 1641s # Start of subprocess tests 1641s # End of subprocess tests 1641s # End of clear-fd tests 1641s # End of fileutils tests 1641s ok - glib/fileutils.test 1641s # Running test: glib/volumemonitor.test 1641s TAP version 13 1641s # random seed: R02Sd45069bbc8f218d6bad7ce7cf61220dc 1641s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1641s 1..3 1641s # Start of volumemonitor tests 1641s ok 1 /volumemonitor/connected_drives 1641s ok 2 /volumemonitor/volumes 1641s ok 3 /volumemonitor/mounts 1641s # End of volumemonitor tests 1641s ok - glib/volumemonitor.test 1641s # Running test: glib/struct-info.test 1641s TAP version 13 1641s # random seed: R02Sb5e306fbc0f2089a7d4414c64a471bd8 1641s 1..4 1641s # Start of struct-info tests 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GY0LK2/struct-info/field-iterators/.dirs/runtime 1641s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1641s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1641s ok 1 /struct-info/field-iterators 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GY0LK2/struct-info/sizeof-gvalue/.dirs/runtime 1641s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1641s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1641s ok 2 /struct-info/sizeof-gvalue 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GY0LK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1641s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1641s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1641s ok 3 /struct-info/is-pointer-for-struct-method-arg 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GY0LK2/struct-info/boxed/.dirs/runtime 1641s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1641s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1641s ok 4 /struct-info/boxed 1641s # End of struct-info tests 1641s ok - glib/struct-info.test 1641s # Running test: glib/refstring.test 1641s TAP version 13 1641s # random seed: R02Sfcff381e960e00ec8e8f0153cce9bd9e 1641s 1..5 1641s # Start of refstring tests 1641s # s = 'hello, world' (0xaed49c273660) 1641s ok 1 /refstring/base 1641s ok 2 /refstring/length 1641s ok 3 /refstring/length-auto 1641s ok 4 /refstring/length-nuls 1641s # s = 'hello, world' (0xaed49c273660) 1641s # p = s = 'hello, world' (0xaed49c273660) 1641s # releasing p[0xaed49c273660] ('hello, world') 1641s # p = 'goodbye, world' (0xaed49c27b6c0) 1641s # releasing p[0xaed49c27b6c0] ('goodbye, world') 1641s # releasing s[0xaed49c273660] ('hello, world') 1641s ok 5 /refstring/intern 1641s # End of refstring tests 1641s ok - glib/refstring.test 1641s # Running test: glib/g-file.test 1641s TAP version 13 1641s # random seed: R02S633fc3385098ab1d9dcc515ba5512238 1641s 1..8 1641s # Start of g-file tests 1641s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1641s ok 1 /g-file/test_g_file_new_null 1641s ok 2 /g-file/test_g_file_new_for_path 1641s ok 3 /g-file/test_g_file_new_for_uri 1641s ok 4 /g-file/test_g_file_dup 1641s ok 5 /g-file/test_g_file_get_parse_name_utf8 1641s file:///tmp/test-tmp-glib_g-file.test-9WNLK2 1641s file:///tmp 1641s file:///tmp 1641s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1641s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1641s ok 6 /g-file/test_g_file_new_for_commandline_arg 1641s /dir1 /dir1/dir2/dir3/ 1641s /dir1/ /dir1/dir2/dir3/ 1641s /dir1 /dir1/dir2/dir3 1641s /dir1/ /dir1/dir2/dir3 1641s /tmp/ /something/ 1641s /dir1/dir2 /dir1/ 1641s //dir1/new //dir1/new/dir2/dir3 1641s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1641s file:///dir1 file:///dir1/dir2/dir3/ 1641s file:///dir1/ file:///dir1/dir2/dir3/ 1641s file:///dir1 file:///dir1/dir2/dir3 1641s file:///dir1/ file:///dir1/dir2/dir3 1641s file:///tmp/ file:///something/ 1641s file:///dir1/dir2 file:///dir1/ 1641s file:////dir1/new file:////dir1/new/dir2/dir3 1641s 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 1641s ok 7 /g-file/test_g_file_has_prefix 1641s ok 8 /g-file/test_g_file_get_parent_child 1641s # End of g-file tests 1641s ok - glib/g-file.test 1641s # Running test: glib/tls-interaction.test 1641s TAP version 13 1641s # random seed: R02Sf900ede186c2d393cd313573ef037cca 1641s 1..42 1641s # Start of tls-interaction tests 1641s # Start of ask-password tests 1641s # Start of invoke-with-loop tests 1641s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1641s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1641s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1641s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1641s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1641s # End of invoke-with-loop tests 1641s # Start of invoke-without-loop tests 1641s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1641s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1641s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1641s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1641s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1641s # End of invoke-without-loop tests 1641s # Start of invoke-in-loop tests 1641s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1641s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1641s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1641s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1641s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1641s # End of invoke-in-loop tests 1641s # Start of sync tests 1641s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1641s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1641s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1641s # End of sync tests 1641s # Start of async tests 1641s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1641s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1641s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1641s # End of async tests 1641s # End of ask-password tests 1641s # Start of request-certificate tests 1641s # Start of invoke-with-loop tests 1641s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1641s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1641s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1641s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1641s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1641s # End of invoke-with-loop tests 1641s # Start of invoke-without-loop tests 1641s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1641s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1641s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1641s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1641s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1641s # End of invoke-without-loop tests 1641s # Start of invoke-in-loop tests 1641s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1641s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1641s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1641s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1641s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1641s # End of invoke-in-loop tests 1641s # Start of sync tests 1641s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1641s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1641s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1641s # End of sync tests 1641s # Start of async tests 1641s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1641s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1641s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1641s # End of async tests 1641s # End of request-certificate tests 1641s # End of tls-interaction tests 1641s ok - glib/tls-interaction.test 1641s # Running test: glib/resources.test 1641s TAP version 13 1641s # random seed: R02S15e7046a993bd006475df73202c48e77 1641s 1..17 1641s # Start of resource tests 1641s ok 1 /resource/file 1641s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1641s ok 2 /resource/file-path 1641s ok 3 /resource/data 1641s ok 4 /resource/data_unaligned 1641s ok 5 /resource/data-corrupt 1641s ok 6 /resource/data-empty 1641s ok 7 /resource/registered 1641s ok 8 /resource/manual 1641s ok 9 /resource/manual2 1641s ok 10 /resource/automatic 1641s ok 11 /resource/module 1641s ok 12 /resource/binary-linked 1641s ok 13 /resource/64k 1641s GLib-GIO-Message: 13:28:17.625: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1641s ok 14 /resource/overlay 1641s ok 15 /resource/digits 1641s # Start of uri tests 1641s ok 16 /resource/uri/query-info 1641s ok 17 /resource/uri/file 1641s # End of uri tests 1641s # End of resource tests 1641s ok - glib/resources.test 1641s # Running test: glib/pollable.test 1641s TAP version 13 1641s # random seed: R02S3d6ec864899e2418c5e052940f9ff2fc 1641s 1..6 1641s # Start of pollable tests 1641s ok 1 /pollable/converter 1641s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1641s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf1dee901770 and GSocketClientAsyncConnectData 0xaf1dee8f4ae0 1641s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1641s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1641s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf1dee902830 for GSocketClientAsyncConnectData 0xaf1dee8f4ae0 1641s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1641s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1641s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1641s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1641s ok 2 /pollable/socket 1641s # Start of unix tests 1641s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1641s ok 3 /pollable/unix/pipe 1641s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1641s ok 4 /pollable/unix/pty 1641s # /pollable/unix/file summary: Test that regular files are not considered pollable 1641s ok 5 /pollable/unix/file 1641s # /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 1641s ok 6 /pollable/unix/nulldev 1641s # End of unix tests 1641s # End of pollable tests 1641s ok - glib/pollable.test 1641s # Running test: glib/mem-overflow.test 1641s TAP version 13 1641s # random seed: R02Sb21a1f50e6592e49db41c67465104cca 1641s 1..2 1641s # Start of mem tests 1641s ok 1 /mem/overflow 1641s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1641s ok 2 /mem/empty-alloc 1641s # Start of overflow tests 1641s # Start of subprocess tests 1641s # End of subprocess tests 1641s # End of overflow tests 1641s # Start of empty-alloc tests 1641s # End of empty-alloc tests 1641s # End of mem tests 1641s ok - glib/mem-overflow.test 1641s # Running test: glib/fdo-notification-backend.test 1641s TAP version 13 1641s # random seed: R02Seb4726185be81848b2af3afd4b731b59 1641s 1..2 1641s # Start of fdo-notification-backend tests 1641s # Test constructing a GFdoNotificationBackend 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 1 /fdo-notification-backend/construction 1641s # Start of dbus tests 1641s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1642s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s ok 2 /fdo-notification-backend/dbus/activate-action 1642s # End of dbus tests 1642s # End of fdo-notification-backend tests 1642s ok - glib/fdo-notification-backend.test 1642s # Running test: glib/pathbuf.test 1642s TAP version 13 1642s # random seed: R02S6c31f8a0d2f5e27220ef2c4648733033 1642s 1..3 1642s # Start of pathbuf tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WZJPK2/pathbuf/init/.dirs/runtime 1642s # Initializing empty path buf 1642s # Initializing with empty path 1642s # Initializing with full path 1642s # Initializing with no path 1642s # Allocating GPathBuf on the heap 1642s ok 1 /pathbuf/init 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WZJPK2/pathbuf/push-pop/.dirs/runtime 1642s # Pushing relative path component 1642s # Pushing absolute path component 1642s # Popping a path component 1642s # Can't pop the last element of a path buffer 1642s ok 2 /pathbuf/push-pop 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WZJPK2/pathbuf/filename-extension/.dirs/runtime 1642s ok 3 /pathbuf/filename-extension 1642s # End of pathbuf tests 1642s ok - glib/pathbuf.test 1642s # Running test: glib/singleton.test 1642s TAP version 13 1642s # random seed: R02S85bd47577be71fc08ebbd9107596c028 1642s 1..2 1642s # Start of gobject tests 1642s # Start of singleton tests 1642s ok 1 /gobject/singleton/construction 1642s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1642s ok 2 /gobject/singleton/construct-property 1642s # End of singleton tests 1642s # End of gobject tests 1642s ok - glib/singleton.test 1642s # Running test: glib/debugcontroller.test 1642s TAP version 13 1642s # random seed: R02Sacabad2206180a4e1040f4d1fd4c53df 1642s 1..3 1642s # Start of debug-controller tests 1642s # Start of dbus tests 1642s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1642s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1642s # GLib-GIO-DEBUG: Debug output enabled 1642s # GLib-GIO-DEBUG: Debug output disabled 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s ok 1 /debug-controller/dbus/basic 1642s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1642s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s ok 2 /debug-controller/dbus/duplicate 1642s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1642s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1642s # End of dbus tests 1642s # End of debug-controller tests 1642s ok - glib/debugcontroller.test 1642s # Running test: glib/option-argv0.test 1642s TAP version 13 1642s # random seed: R02S1b4741e845a7d6241beb763aeef9f1a7 1642s 1..1 1642s # Start of option tests 1642s ok 1 /option/argv0 1642s # End of option tests 1642s ok - glib/option-argv0.test 1642s # Running test: glib/portal-support-snap-classic.test 1642s TAP version 13 1642s # random seed: R02Sd1e8ff2c0811a75c99c15c84d665f207 1642s 1..3 1642s # Start of portal-support tests 1642s # Start of snap-classic tests 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1642s ok 1 /portal-support/snap-classic/no-snapctl 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/runtime 1642s # Created snap.yaml in /tmp/test_portal-support-snap-classic_3UWRK2/meta/snap.yaml 1642s # Created snapctl in /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1642s ok 2 /portal-support/snap-classic/none 1642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/home 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/cache 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/system-config2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/config 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/system-data2 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/data 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/state 1642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/runtime 1642s # Created snap.yaml in /tmp/test_portal-support-snap-classic_3UWRK2/meta/snap.yaml 1642s # Created snapctl in /tmp/test_portal-support-snap-classic_3UWRK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1642s ok 3 /portal-support/snap-classic/all 1642s # End of snap-classic tests 1642s # End of portal-support tests 1642s ok - glib/portal-support-snap-classic.test 1642s # Running test: glib/autoptr.test 1642s TAP version 13 1642s # random seed: R02S74f78da6ae2aa15ab364825a6606df0c 1642s 1..6 1642s # Start of autoptr tests 1642s ok 1 /autoptr/autoptr 1642s ok 2 /autoptr/autoptr_steal 1642s ok 3 /autoptr/autolist 1642s ok 4 /autoptr/autoslist 1642s ok 5 /autoptr/autoqueue 1642s ok 6 /autoptr/autoclass 1642s # End of autoptr tests 1642s ok - glib/autoptr.test 1642s # Running test: glib/atomic-c-99.test 1642s TAP version 13 1642s # random seed: R02S8fe218b0ffe12afcacc6260597ba281f 1642s 1..2 1642s # Start of atomic tests 1642s ok 1 /atomic/types 1643s ok 2 /atomic/threaded 1643s # slow test /atomic/threaded executed in 0.78 secs 1643s # End of atomic tests 1643s ok - glib/atomic-c-99.test 1643s # Running test: glib/array-test.test 1643s TAP version 13 1643s # random seed: R02S57c532c0198a62e351463661b8079b40 1643s 1..113 1643s # Start of array tests 1643s ok 1 /array/ref-count 1643s ok 2 /array/steal 1643s ok 3 /array/clear-func 1643s ok 4 /array/binary-search 1643s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1643s ok 5 /array/copy-sized 1643s ok 6 /array/overflow-append-vals 1643s ok 7 /array/overflow-set-size 1643s # Start of new tests 1643s ok 8 /array/new/zero-terminated 1643s ok 9 /array/new/take 1643s ok 10 /array/new/take-zero-terminated 1643s # Start of take tests 1643s ok 11 /array/new/take/empty 1643s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1643s # End of take tests 1643s # End of new tests 1643s # Start of set-size tests 1643s ok 13 /array/set-size/non-zero-terminated-no-clear 1643s ok 14 /array/set-size/non-zero-terminated-clear 1643s ok 15 /array/set-size/zero-terminated-no-clear 1643s ok 16 /array/set-size/zero-terminated-clear 1643s # Start of sized tests 1643s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1643s ok 18 /array/set-size/sized/non-zero-terminated-clear 1643s ok 19 /array/set-size/sized/zero-terminated-no-clear 1643s ok 20 /array/set-size/sized/zero-terminated-clear 1643s # End of sized tests 1643s # End of set-size tests 1643s # Start of append-val tests 1643s ok 21 /array/append-val/non-zero-terminated-no-clear 1643s ok 22 /array/append-val/non-zero-terminated-clear 1643s ok 23 /array/append-val/zero-terminated-no-clear 1643s ok 24 /array/append-val/zero-terminated-clear 1643s # End of append-val tests 1643s # Start of prepend-val tests 1643s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1643s ok 26 /array/prepend-val/non-zero-terminated-clear 1643s ok 27 /array/prepend-val/zero-terminated-no-clear 1643s ok 28 /array/prepend-val/zero-terminated-clear 1643s # End of prepend-val tests 1643s # Start of prepend-vals tests 1643s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1643s ok 30 /array/prepend-vals/non-zero-terminated-clear 1643s ok 31 /array/prepend-vals/zero-terminated-no-clear 1643s ok 32 /array/prepend-vals/zero-terminated-clear 1643s # End of prepend-vals tests 1643s # Start of insert-vals tests 1643s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1643s ok 34 /array/insert-vals/non-zero-terminated-clear 1643s ok 35 /array/insert-vals/zero-terminated-no-clear 1643s ok 36 /array/insert-vals/zero-terminated-clear 1643s # End of insert-vals tests 1643s # Start of remove-index tests 1643s ok 37 /array/remove-index/non-zero-terminated-no-clear 1643s ok 38 /array/remove-index/non-zero-terminated-clear 1643s ok 39 /array/remove-index/zero-terminated-no-clear 1643s ok 40 /array/remove-index/zero-terminated-clear 1643s # End of remove-index tests 1643s # Start of remove-index-fast tests 1643s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1643s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1643s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1643s ok 44 /array/remove-index-fast/zero-terminated-clear 1643s # End of remove-index-fast tests 1643s # Start of remove-range tests 1643s ok 45 /array/remove-range/non-zero-terminated-no-clear 1643s ok 46 /array/remove-range/non-zero-terminated-clear 1643s ok 47 /array/remove-range/zero-terminated-no-clear 1643s ok 48 /array/remove-range/zero-terminated-clear 1643s # End of remove-range tests 1643s # Start of copy tests 1643s ok 49 /array/copy/non-zero-terminated-no-clear 1643s ok 50 /array/copy/non-zero-terminated-clear 1643s ok 51 /array/copy/zero-terminated-no-clear 1643s ok 52 /array/copy/zero-terminated-clear 1643s # End of copy tests 1643s # Start of sort tests 1643s ok 53 /array/sort/non-zero-terminated-no-clear 1643s ok 54 /array/sort/non-zero-terminated-clear 1643s ok 55 /array/sort/zero-terminated-no-clear 1643s ok 56 /array/sort/zero-terminated-clear 1643s # End of sort tests 1643s # Start of sort-with-data tests 1643s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1643s ok 58 /array/sort-with-data/non-zero-terminated-clear 1643s ok 59 /array/sort-with-data/zero-terminated-no-clear 1643s ok 60 /array/sort-with-data/zero-terminated-clear 1643s # End of sort-with-data tests 1643s # End of array tests 1643s # Start of pointerarray tests 1643s ok 61 /pointerarray/add 1643s ok 62 /pointerarray/insert 1643s ok 63 /pointerarray/new-take 1643s ok 64 /pointerarray/new-take-null-terminated 1643s ok 65 /pointerarray/new-from-array 1643s ok 66 /pointerarray/new-from-null-terminated-array 1643s ok 67 /pointerarray/free-func 1643s ok 68 /pointerarray/array_extend_and_steal 1643s ok 69 /pointerarray/sort 1643s ok 70 /pointerarray/sort-with-data 1643s ok 71 /pointerarray/sort-values 1643s ok 72 /pointerarray/sort-values-with-data 1643s ok 73 /pointerarray/remove-range 1643s ok 74 /pointerarray/steal 1643s # Start of free tests 1643s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1643s ok 75 /pointerarray/free/null-terminated 1643s # End of free tests 1643s # Start of new-take tests 1643s ok 76 /pointerarray/new-take/empty 1643s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1643s ok 78 /pointerarray/new-take/with-free-func 1643s # End of new-take tests 1643s # Start of new-take-null-terminated tests 1643s ok 79 /pointerarray/new-take-null-terminated/empty 1643s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1643s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1643s # End of new-take-null-terminated tests 1643s # Start of new-from-array tests 1643s ok 82 /pointerarray/new-from-array/empty 1643s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1643s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1643s # End of new-from-array tests 1643s # Start of new-from-null-terminated-array tests 1643s ok 85 /pointerarray/new-from-null-terminated-array/empty 1643s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1643s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1643s # End of new-from-null-terminated-array tests 1643s # Start of ref-count tests 1643s ok 88 /pointerarray/ref-count/not-null-terminated 1643s ok 89 /pointerarray/ref-count/null-terminated 1643s # End of ref-count tests 1643s # Start of array_copy tests 1643s # /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 1643s ok 90 /pointerarray/array_copy/not-null-terminated 1643s # /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 1643s ok 91 /pointerarray/array_copy/null-terminated 1643s # End of array_copy tests 1643s # Start of array_extend tests 1643s ok 92 /pointerarray/array_extend/not-null-terminated 1643s ok 93 /pointerarray/array_extend/null-terminated 1643s # End of array_extend tests 1643s # Start of sort tests 1643s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1643s ok 94 /pointerarray/sort/example 1643s # End of sort tests 1643s # Start of sort-with-data tests 1643s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1643s ok 95 /pointerarray/sort-with-data/example 1643s # End of sort-with-data tests 1643s # Start of sort-values tests 1643s ok 96 /pointerarray/sort-values/example 1643s # End of sort-values tests 1643s # Start of sort-values-with-data tests 1643s ok 97 /pointerarray/sort-values-with-data/example 1643s # End of sort-values-with-data tests 1643s # Start of find tests 1643s ok 98 /pointerarray/find/empty 1643s ok 99 /pointerarray/find/non-empty 1643s # End of find tests 1643s # Start of steal_index tests 1643s ok 100 /pointerarray/steal_index/not-null-terminated 1643s ok 101 /pointerarray/steal_index/null-terminated 1643s # End of steal_index tests 1643s # End of pointerarray tests 1643s # Start of bytearray tests 1643s ok 102 /bytearray/steal 1643s ok 103 /bytearray/append 1643s ok 104 /bytearray/prepend 1643s ok 105 /bytearray/remove 1643s ok 106 /bytearray/remove-fast 1643s ok 107 /bytearray/remove-range 1643s ok 108 /bytearray/ref-count 1643s ok 109 /bytearray/sort 1643s ok 110 /bytearray/sort-with-data 1643s ok 111 /bytearray/new-take 1643s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1643s ok 113 /bytearray/free-to-bytes 1643s # End of bytearray tests 1643s ok - glib/array-test.test 1643s # Running test: glib/gobject-query.py.test 1643s TAP version 13 1643s ok 1 __main__.TestGobjectQuery.test_froots 1643s # gobject-query: /usr/bin/gobject-query 1643s # Running: ['/usr/bin/gobject-query', 'froots'] 1643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1643s # Output: ├void 1643s # ├GInterface 1643s # │ └GTypePlugin 1643s # ├gchar 1643s # ├guchar 1643s # ├gboolean 1643s # ├gint 1643s # ├guint 1643s # ├glong 1643s # ├gulong 1643s # ├gint64 1643s # ├guint64 1643s # ├GEnum 1643s # ├GFlags 1643s # ├gfloat 1643s # ├gdouble 1643s # ├gchararray 1643s # ├gpointer 1643s # │ └GType 1643s # ├GBoxed 1643s # │ └GValueArray 1643s # ├GParam 1643s # │ ├GParamChar 1643s # │ ├GParamUChar 1643s # │ ├GParamBoolean 1643s # │ ├GParamInt 1643s # │ ├GParamUInt 1643s # │ ├GParamLong 1643s # │ ├GParamULong 1643s # │ ├GParamInt64 1643s # │ ├GParamUInt64 1643s # │ ├GParamUnichar 1643s # │ ├GParamEnum 1643s # │ ├GParamFlags 1643s # │ ├GParamFloat 1643s # │ ├GParamDouble 1643s # │ ├GParamString 1643s # │ ├GParamParam 1643s # │ ├GParamBoxed 1643s # │ ├GParamPointer 1643s # │ ├GParamValueArray 1643s # │ ├GParamObject 1643s # │ ├GParamOverride 1643s # │ ├GParamGType 1643s # │ └GParamVariant 1643s # ├GObject 1643s # └GVariant 1643s ok 2 __main__.TestGobjectQuery.test_help 1643s # gobject-query: /usr/bin/gobject-query 1643s # Running: ['/usr/bin/gobject-query', '--help'] 1643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1643s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1643s # -r specify root type 1643s # -n don't descend type tree 1643s # -h show help 1643s # -b specify indent string 1643s # -i specify incremental indent string 1643s # -s specify line spacing 1643s # qualifiers: 1643s # froots iterate over fundamental roots 1643s # tree print type tree 1643s ok 3 __main__.TestGobjectQuery.test_tree 1643s # gobject-query: /usr/bin/gobject-query 1643s # Running: ['/usr/bin/gobject-query', 'tree'] 1643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1643s # Output: GObject 1643s ok 4 __main__.TestGobjectQuery.test_version 1643s # gobject-query: /usr/bin/gobject-query 1643s # Running: ['/usr/bin/gobject-query', '--version'] 1643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1643s # Output: 2.79.2 1643s 1..4 1643s ok - glib/gobject-query.py.test 1643s # Running test: glib/hmac.test 1643s TAP version 13 1643s # random seed: R02S8d9a24c5bb5a5baf3a6305d723d8c3f0 1643s 1..37 1643s # Start of hmac tests 1643s ok 1 /hmac/sha1-1 1643s ok 2 /hmac/sha1-2 1643s ok 3 /hmac/sha1-3 1643s ok 4 /hmac/sha1-4 1643s ok 5 /hmac/sha1-5 1643s ok 6 /hmac/sha1-6 1643s ok 7 /hmac/sha1-7 1643s ok 8 /hmac/sha256-1 1643s ok 9 /hmac/sha256-2 1643s ok 10 /hmac/sha256-3 1643s ok 11 /hmac/sha256-4 1643s ok 12 /hmac/sha256-5 1643s ok 13 /hmac/sha256-6 1643s ok 14 /hmac/sha384-1 1643s ok 15 /hmac/sha384-2 1643s ok 16 /hmac/sha384-3 1643s ok 17 /hmac/sha384-4 1643s ok 18 /hmac/sha384-5 1643s ok 19 /hmac/sha384-6 1643s ok 20 /hmac/sha512-1 1643s ok 21 /hmac/sha512-2 1643s ok 22 /hmac/sha512-3 1643s ok 23 /hmac/sha512-4 1643s ok 24 /hmac/sha512-5 1643s ok 25 /hmac/sha512-6 1643s ok 26 /hmac/md5-1 1643s ok 27 /hmac/md5-2 1643s ok 28 /hmac/md5-3 1643s ok 29 /hmac/md5-4 1643s ok 30 /hmac/md5-5 1643s ok 31 /hmac/md5-6 1643s ok 32 /hmac/md5-7 1643s ok 33 /hmac/ref-unref 1643s ok 34 /hmac/copy 1643s ok 35 /hmac/for-data 1643s ok 36 /hmac/for-string 1643s ok 37 /hmac/for-bytes 1643s # End of hmac tests 1643s ok - glib/hmac.test 1643s # Running test: glib/gthash.test 1643s TAP version 13 1643s # random seed: R02Sb40e857d493c587366f39ec61812dc59 1643s 1..1 1643s # Start of gthash tests 1643s ok 1 /gthash/build-retrieve 1643s # End of gthash tests 1643s ok - glib/gthash.test 1643s # Running test: glib/properties-refcount4.test 1643s TAP version 13 1643s # random seed: R02S4f659f3d94b132eb0cd0200fa306287e 1643s 1..1 1643s # Start of gobject tests 1643s # Start of refcount tests 1643s ok 1 /gobject/refcount/properties-4 1643s # End of refcount tests 1643s # End of gobject tests 1643s ok - glib/properties-refcount4.test 1643s # Running test: glib/qdata.test 1643s TAP version 13 1643s # random seed: R02S3c8943ebf6d3ae0494f6959e3364c228 1643s 1..2 1643s # Start of qdata tests 1644s # Executing: glib/qdata.test 1644s ok 1 /qdata/threaded 1644s # slow test /qdata/threaded executed in 0.84 secs 1644s ok 2 /qdata/dup 1644s # End of qdata tests 1644s ok - glib/qdata.test 1644s # Running test: glib/pattern.test 1644s TAP version 13 1644s # random seed: R02Sc7f353ed043588974959002f151c6504 1644s 1..90 1644s # Start of pattern tests 1644s # Start of compile tests 1644s ok 1 /pattern/compile/0 1644s ok 2 /pattern/compile/1 1644s ok 3 /pattern/compile/2 1644s ok 4 /pattern/compile/3 1644s ok 5 /pattern/compile/4 1644s ok 6 /pattern/compile/5 1644s ok 7 /pattern/compile/6 1644s ok 8 /pattern/compile/7 1644s ok 9 /pattern/compile/8 1644s ok 10 /pattern/compile/9 1644s ok 11 /pattern/compile/10 1644s ok 12 /pattern/compile/11 1644s ok 13 /pattern/compile/12 1644s ok 14 /pattern/compile/13 1644s # End of compile tests 1644s # Start of copy tests 1644s ok 15 /pattern/copy/0 1644s ok 16 /pattern/copy/1 1644s ok 17 /pattern/copy/2 1644s ok 18 /pattern/copy/3 1644s ok 19 /pattern/copy/4 1644s ok 20 /pattern/copy/5 1644s ok 21 /pattern/copy/6 1644s ok 22 /pattern/copy/7 1644s ok 23 /pattern/copy/8 1644s ok 24 /pattern/copy/9 1644s ok 25 /pattern/copy/10 1644s ok 26 /pattern/copy/11 1644s ok 27 /pattern/copy/12 1644s ok 28 /pattern/copy/13 1644s # End of copy tests 1644s # Start of match tests 1644s ok 29 /pattern/match/0 1644s ok 30 /pattern/match/1 1644s ok 31 /pattern/match/2 1644s ok 32 /pattern/match/3 1644s ok 33 /pattern/match/4 1644s ok 34 /pattern/match/5 1644s ok 35 /pattern/match/6 1644s ok 36 /pattern/match/7 1644s ok 37 /pattern/match/8 1644s ok 38 /pattern/match/9 1644s ok 39 /pattern/match/10 1644s ok 40 /pattern/match/11 1644s ok 41 /pattern/match/12 1644s ok 42 /pattern/match/13 1644s ok 43 /pattern/match/14 1644s ok 44 /pattern/match/15 1644s ok 45 /pattern/match/16 1644s ok 46 /pattern/match/17 1644s ok 47 /pattern/match/18 1644s ok 48 /pattern/match/19 1644s ok 49 /pattern/match/20 1644s ok 50 /pattern/match/21 1644s ok 51 /pattern/match/22 1644s ok 52 /pattern/match/23 1644s ok 53 /pattern/match/24 1644s ok 54 /pattern/match/25 1644s ok 55 /pattern/match/26 1644s ok 56 /pattern/match/27 1644s ok 57 /pattern/match/28 1644s ok 58 /pattern/match/29 1644s ok 59 /pattern/match/30 1644s ok 60 /pattern/match/31 1644s ok 61 /pattern/match/32 1644s ok 62 /pattern/match/33 1644s ok 63 /pattern/match/34 1644s ok 64 /pattern/match/35 1644s ok 65 /pattern/match/36 1644s ok 66 /pattern/match/37 1644s ok 67 /pattern/match/38 1644s ok 68 /pattern/match/39 1644s ok 69 /pattern/match/40 1644s ok 70 /pattern/match/41 1644s ok 71 /pattern/match/42 1644s ok 72 /pattern/match/43 1644s ok 73 /pattern/match/44 1644s ok 74 /pattern/match/45 1644s ok 75 /pattern/match/46 1644s ok 76 /pattern/match/47 1644s ok 77 /pattern/match/48 1644s ok 78 /pattern/match/49 1644s ok 79 /pattern/match/50 1644s # End of match tests 1644s # Start of equal tests 1644s ok 80 /pattern/equal/0 1644s ok 81 /pattern/equal/1 1644s ok 82 /pattern/equal/2 1644s ok 83 /pattern/equal/3 1644s ok 84 /pattern/equal/4 1644s ok 85 /pattern/equal/5 1644s ok 86 /pattern/equal/6 1644s ok 87 /pattern/equal/7 1644s ok 88 /pattern/equal/8 1644s ok 89 /pattern/equal/9 1644s ok 90 /pattern/equal/10 1644s # End of equal tests 1644s # End of pattern tests 1644s ok - glib/pattern.test 1644s # Running test: glib/gdbus-connection-loss.test 1644s TAP version 13 1644s # random seed: R02S3a1139652e9956fe39dfc3a8730ad9b8 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1644s 1..1 1644s # Start of gdbus tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_86E4K2/gdbus/connection-loss/.dirs/runtime 1644s ok 1 /gdbus/connection-loss 1644s # End of gdbus tests 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok - glib/gdbus-connection-loss.test 1644s # Running test: glib/gdbus-connection-slow.test 1644s TAP version 13 1644s # random seed: R02S4f15b3b3bf412edcb5e6a1ab70431c6b 1644s 1..2 1644s # Start of gdbus tests 1644s # Start of connection tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/flush/.dirs/runtime 1644s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s ok 1 /gdbus/connection/flush 1646s # slow test /gdbus/connection/flush executed in 1.17 secs 1646s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/home 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/cache 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/system-config2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/config 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/system-data2 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/data 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/state 1646s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_HDSTK2/gdbus/connection/large_message/.dirs/runtime 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1646s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1646s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s ok 2 /gdbus/connection/large_message 1647s # slow test /gdbus/connection/large_message executed in 1.74 secs 1647s # End of connection tests 1647s # End of gdbus tests 1647s ok - glib/gdbus-connection-slow.test 1647s # Running test: glib/portal-support-flatpak-none.test 1647s TAP version 13 1647s # random seed: R02Sea1b0f8351b012fcb8c111be613fc2db 1647s 1..1 1647s # Start of portal-support tests 1647s # Start of flatpak tests 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/runtime 1647s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_WAGUK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1647s ok 1 /portal-support/flatpak/none 1647s # End of flatpak tests 1647s # End of portal-support tests 1647s ok - glib/portal-support-flatpak-none.test 1647s # Running test: glib/signals-refcount4.test 1647s TAP version 13 1647s # random seed: R02Sbda82f40286b779a70a92ae64eef17f9 1647s 1..1 1647s # Start of gobject tests 1647s # Start of refcount tests 1647s # init 0xbaebd838b430 1647s # 1647s # init 0xbaebd838b5d0 1647s # 1649s # Executing: glib/signals-refcount4.test 1652s # dispose 0xbaebd838b430! 1652s # 1652s # dispose 0xbaebd838b5d0! 1652s # 1652s ok 1 /gobject/refcount/signals 1652s # slow test /gobject/refcount/signals executed in 5.01 secs 1652s # End of refcount tests 1652s # End of gobject tests 1652s ok - glib/signals-refcount4.test 1652s # Running test: glib/g-file-info-filesystem-readonly.test 1652s TAP version 13 1652s # random seed: R02Sd8d7c878b8ba807bf52a5909a822d0e0 1652s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1652s 1..2 1652s # Start of g-file-info-filesystem-readonly tests 1652s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1652s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1652s # End of g-file-info-filesystem-readonly tests 1652s ok - glib/g-file-info-filesystem-readonly.test 1652s # Running test: glib/queue.test 1652s TAP version 13 1652s # random seed: R02Sc914b3aef3d42d7ed21db7b02815e127 1652s 1..12 1652s # Start of queue tests 1652s ok 1 /queue/basic 1652s ok 2 /queue/copy 1652s ok 3 /queue/off-by-one 1652s ok 4 /queue/find-custom 1652s ok 5 /queue/static 1652s ok 6 /queue/clear 1652s ok 7 /queue/free-full 1652s ok 8 /queue/clear-full 1652s ok 9 /queue/insert-sibling-link 1652s ok 10 /queue/push-nth-link 1652s # Start of clear-full tests 1652s ok 11 /queue/clear-full/noop 1652s # End of clear-full tests 1652s # Start of random tests 1653s ok 12 /queue/random/seed:1601551708 1653s # End of random tests 1653s # End of queue tests 1653s ok - glib/queue.test 1653s # Running test: glib/filter-streams.test 1653s TAP version 13 1653s # random seed: R02S39e4d76da2f2ee782e8da8daabc1d7e3 1653s 1..4 1653s # Start of filter-stream tests 1653s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1653s ok 1 /filter-stream/input 1653s ok 2 /filter-stream/output 1653s ok 3 /filter-stream/async-input 1653s ok 4 /filter-stream/async-output 1653s # End of filter-stream tests 1653s ok - glib/filter-streams.test 1653s # Running test: glib/642026-ec.test 1653s TAP version 13 1653s # random seed: R02Seb950fc80d6795f35e503ac46b75b0aa 1653s 1..1 1653s # Start of glib tests 1653s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1653s ok 1 /glib/642026 1653s # End of glib tests 1653s ok - glib/642026-ec.test 1653s # Running test: glib/network-monitor.test 1653s TAP version 13 1653s # random seed: R02S806927057fc5c70379e5808408b8f47c 1653s 1..4 1653s # Start of network-monitor tests 1653s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1653s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1653s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1653s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1653s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1653s ok 1 /network-monitor/default 1653s ok 2 /network-monitor/remove_default 1653s ok 3 /network-monitor/add_networks 1653s ok 4 /network-monitor/remove_networks 1653s # End of network-monitor tests 1653s ok - glib/network-monitor.test 1653s # Running test: glib/signals-refcount3.test 1653s TAP version 13 1653s # random seed: R02S074cbd0fc2e30891495b6f3162e50abc 1653s 1..1 1653s # Start of gobject tests 1653s # Start of refcount tests 1653s # init 0xb058340c9430 1653s # 1653s # init 0xb058340c95d0 1653s # 1654s # Executing: glib/signals-refcount3.test 1658s # dispose 0xb058340c9430! 1658s # 1658s # dispose 0xb058340c95d0! 1658s # 1658s ok 1 /gobject/refcount/signals 1658s # slow test /gobject/refcount/signals executed in 5.00 secs 1658s # End of refcount tests 1658s # End of gobject tests 1658s ok - glib/signals-refcount3.test 1658s # Running test: glib/network-address.test 1658s TAP version 13 1658s # random seed: R02S2478ed47147a163b87557bccbbed9c15 1658s 1..72 1658s # Start of network-address tests 1658s ok 1 /network-address/basic 1658s ok 2 /network-address/scope-id 1658s ok 3 /network-address/uri-scope-id 1658s ok 4 /network-address/to-string 1658s # Start of parse-host tests 1658s ok 5 /network-address/parse-host/0 1658s ok 6 /network-address/parse-host/1 1658s ok 7 /network-address/parse-host/2 1658s ok 8 /network-address/parse-host/3 1658s ok 9 /network-address/parse-host/4 1658s ok 10 /network-address/parse-host/5 1658s ok 11 /network-address/parse-host/6 1658s ok 12 /network-address/parse-host/7 1658s ok 13 /network-address/parse-host/8 1658s ok 14 /network-address/parse-host/9 1658s ok 15 /network-address/parse-host/10 1658s ok 16 /network-address/parse-host/11 1658s ok 17 /network-address/parse-host/12 1658s ok 18 /network-address/parse-host/13 1658s # End of parse-host tests 1658s # Start of parse-uri tests 1658s ok 19 /network-address/parse-uri/0 1658s ok 20 /network-address/parse-uri/1 1658s ok 21 /network-address/parse-uri/2 1658s ok 22 /network-address/parse-uri/3 1658s ok 23 /network-address/parse-uri/4 1658s ok 24 /network-address/parse-uri/5 1658s ok 25 /network-address/parse-uri/6 1658s ok 26 /network-address/parse-uri/7 1658s ok 27 /network-address/parse-uri/8 1658s ok 28 /network-address/parse-uri/9 1658s # End of parse-uri tests 1658s # Start of resolve-address tests 1658s # Input: 192.168.1.2 1658s ok 29 /network-address/resolve-address/0 1658s # Input: fe80::42 1658s ok 30 /network-address/resolve-address/1 1658s # Input: 192.168.1.2:80 1658s ok 31 /network-address/resolve-address/2 1658s # Input: [fe80::42] 1658s ok 32 /network-address/resolve-address/3 1658s # Input: [fe80::42]:80 1658s ok 33 /network-address/resolve-address/4 1658s # Input: 192.168.258 1658s ok 34 /network-address/resolve-address/5 1658s # Input: 192.11010306 1658s ok 35 /network-address/resolve-address/6 1658s # Input: 3232235778 1658s ok 36 /network-address/resolve-address/7 1658s # Input: 0300.0250.0001.0001 1658s ok 37 /network-address/resolve-address/8 1658s # Input: 0xC0.0xA8.0x01.0x02 1658s ok 38 /network-address/resolve-address/9 1658s # Input: 0xc0.0xa8.0x01.0x02 1658s ok 39 /network-address/resolve-address/10 1658s # Input: 0xc0a80102 1658s ok 40 /network-address/resolve-address/11 1658s # End of resolve-address tests 1658s # Start of loopback tests 1658s ok 41 /network-address/loopback/basic 1658s ok 42 /network-address/loopback/sync 1658s ok 43 /network-address/loopback/async 1658s # End of loopback tests 1658s # Start of localhost tests 1658s ok 44 /network-address/localhost/async 1658s ok 45 /network-address/localhost/sync 1658s # End of localhost tests 1658s # Start of happy-eyeballs tests 1658s ok 46 /network-address/happy-eyeballs/basic 1659s ok 47 /network-address/happy-eyeballs/parallel 1659s ok 48 /network-address/happy-eyeballs/slow-ipv4 1659s ok 49 /network-address/happy-eyeballs/slow-ipv6 1659s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1659s # Executing: glib/network-address.test 1660s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1660s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1660s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1660s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1660s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1660s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1660s # /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. 1660s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1660s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1660s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1660s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1660s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1660s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1660s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1660s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1660s ok 57 /network-address/happy-eyeballs/both-error 1660s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1660s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1660s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1660s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1660s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1660s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1660s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1660s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1660s # End of happy-eyeballs tests 1660s # End of network-address tests 1660s # Start of gresolver tests 1660s # Start of resolve-address tests 1660s # Input: 192.168.1.2 1660s ok 61 /gresolver/resolve-address/0 1660s # Input: fe80::42 1660s ok 62 /gresolver/resolve-address/1 1660s # Input: 192.168.1.2:80 1660s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1660s ok 63 /gresolver/resolve-address/2 1660s # Input: [fe80::42] 1660s # Error: Error resolving ?[fe80::42]?: Name or service not known 1660s ok 64 /gresolver/resolve-address/3 1660s # Input: [fe80::42]:80 1660s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1660s ok 65 /gresolver/resolve-address/4 1660s # Input: 192.168.258 1660s # Error: Error resolving ?192.168.258?: Name or service not known 1660s ok 66 /gresolver/resolve-address/5 1660s # Input: 192.11010306 1660s # Error: Error resolving ?192.11010306?: Name or service not known 1660s ok 67 /gresolver/resolve-address/6 1660s # Input: 3232235778 1660s # Error: Error resolving ?3232235778?: Name or service not known 1660s ok 68 /gresolver/resolve-address/7 1660s # Input: 0300.0250.0001.0001 1660s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1660s ok 69 /gresolver/resolve-address/8 1660s # Input: 0xC0.0xA8.0x01.0x02 1660s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1660s ok 70 /gresolver/resolve-address/9 1660s # Input: 0xc0.0xa8.0x01.0x02 1660s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1660s ok 71 /gresolver/resolve-address/10 1660s # Input: 0xc0a80102 1660s # Error: Error resolving ?0xc0a80102?: Name or service not known 1660s ok 72 /gresolver/resolve-address/11 1660s # End of resolve-address tests 1660s # End of gresolver tests 1660s ok - glib/network-address.test 1660s # Running test: glib/notify-init2.test 1660s TAP version 13 1660s # random seed: R02S9df80066fd090e40eeb6f51e9a72648e 1660s 1..1 1660s # Start of properties tests 1660s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1660s ok 1 /properties/notify-in-init2 1660s # End of properties tests 1660s ok - glib/notify-init2.test 1660s # Running test: glib/defaultiface.test 1660s TAP version 13 1660s # random seed: R02S0b8db14f9f54cab453328485d81eef77 1660s 1..2 1660s # Start of gobject tests 1660s ok 1 /gobject/static-iface 1660s ok 2 /gobject/dynamic-iface 1660s # End of gobject tests 1660s ok - glib/defaultiface.test 1660s # Running test: glib/macros-c-17.test 1660s TAP version 13 1660s # random seed: R02Sa5ad02131e9ab5cd4b6d5cd4b413602e 1660s 1..4 1660s # Start of C tests 1660s ok 1 /C/standard-17 1660s # End of C tests 1660s # Start of alignof tests 1660s ok 2 /alignof/fallback 1660s # End of alignof tests 1660s # Start of assert tests 1660s ok 3 /assert/static 1660s # End of assert tests 1660s # Start of struct tests 1660s ok 4 /struct/sizeof_member 1660s # End of struct tests 1660s ok - glib/macros-c-17.test 1660s # Running test: glib/keyfile.test 1660s TAP version 13 1660s # random seed: R02Sf14085168787f7ec46a0efb1e596d59f 1660s 1..36 1660s # Start of keyfile tests 1660s ok 1 /keyfile/line-ends 1660s ok 2 /keyfile/whitespace 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1660s ok 3 /keyfile/comments 1660s ok 4 /keyfile/listing 1660s ok 5 /keyfile/string 1660s ok 6 /keyfile/boolean 1660s ok 7 /keyfile/number 1660s ok 8 /keyfile/locale-string 1660s ok 9 /keyfile/lists 1660s ok 10 /keyfile/lists-set-get 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1660s ok 11 /keyfile/group-remove 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1660s ok 12 /keyfile/key-remove 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1660s ok 13 /keyfile/groups 1660s ok 14 /keyfile/duplicate-keys 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1660s ok 15 /keyfile/duplicate-groups 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1660s ok 16 /keyfile/duplicate-groups2 1660s ok 17 /keyfile/group-names 1660s ok 18 /keyfile/key-names 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1660s ok 19 /keyfile/reload 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1660s ok 20 /keyfile/int64 1660s ok 21 /keyfile/load 1660s ok 22 /keyfile/save 1660s ok 23 /keyfile/load-fail 1660s ok 24 /keyfile/non-utf8 1660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1660s ok 25 /keyfile/page-boundary 1660s ok 26 /keyfile/ref 1660s ok 27 /keyfile/replace-value 1660s ok 28 /keyfile/list-separator 1660s ok 29 /keyfile/empty-string 1660s ok 30 /keyfile/limbo 1660s # Testing invalid encoding ?non-UTF-8? 1660s # Testing invalid encoding ?UTF? 1660s # Testing invalid encoding ?UTF-9? 1660s ok 31 /keyfile/utf8 1660s ok 32 /keyfile/roundtrip 1660s ok 33 /keyfile/bytes 1660s ok 34 /keyfile/get-locale 1660s ok 35 /keyfile/free-when-not-last-ref 1660s # Start of locale-string tests 1660s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1660s ok 36 /keyfile/locale-string/multiple-loads 1660s # End of locale-string tests 1660s # End of keyfile tests 1660s ok - glib/keyfile.test 1660s # Running test: glib/task.test 1660s TAP version 13 1660s # random seed: R02Sbbf49c32ad2cd2aecdf860efc8bcdf61 1660s 1..36 1660s # Start of gtask tests 1660s ok 1 /gtask/basic 1660s ok 2 /gtask/error 1660s ok 3 /gtask/error-literal 1660s ok 4 /gtask/error-literal-from-variable 1660s ok 5 /gtask/return-from-same-iteration 1660s ok 6 /gtask/return-from-toplevel 1660s ok 7 /gtask/return-from-anon-thread 1660s ok 8 /gtask/return-from-wrong-thread 1660s ok 9 /gtask/no-callback 1660s ok 10 /gtask/report-error 1660s ok 11 /gtask/priority 1660s ok 12 /gtask/name 1660s ok 13 /gtask/static-name 1660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1660s ok 14 /gtask/asynchronous-cancellation 1660s ok 15 /gtask/check-cancellable 1660s ok 16 /gtask/return-if-cancelled 1660s ok 17 /gtask/run-in-thread 1660s ok 18 /gtask/run-in-thread-sync 1660s ok 19 /gtask/run-in-thread-priority 1660s ok 20 /gtask/run-in-thread-nested 1661s ok 21 /gtask/run-in-thread-overflow 1661s # slow test /gtask/run-in-thread-overflow executed in 0.55 secs 1661s # GLib-GIO-DEBUG: GTask 0xbb13a42bb7b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1661s # GLib-GIO-DEBUG: GTask 0xbb13a42bb5f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1661s ok 22 /gtask/return-on-cancel 1661s # GLib-GIO-DEBUG: GTask 0xbb13a42bae80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1661s # GLib-GIO-DEBUG: GTask 0xbb13a42baa40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1661s ok 23 /gtask/return-on-cancel-sync 1661s ok 24 /gtask/return-on-cancel-atomic 1661s ok 25 /gtask/return-pointer 1661s ok 26 /gtask/return-value 1661s ok 27 /gtask/return-prefixed-error 1661s ok 28 /gtask/object-keepalive 1661s ok 29 /gtask/legacy-error 1661s ok 30 /gtask/finalize-without-return 1661s # Start of name tests 1661s ok 31 /gtask/name/macro-wrapper 1661s # End of name tests 1661s # Start of return tests 1661s ok 32 /gtask/return/error-first 1661s ok 33 /gtask/return/value-first 1661s # Start of in-idle tests 1661s ok 34 /gtask/return/in-idle/error-first 1661s ok 35 /gtask/return/in-idle/value-first 1661s # End of in-idle tests 1661s # End of return tests 1661s # Start of attach-source tests 1661s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1661s ok 36 /gtask/attach-source/set-name 1661s # End of attach-source tests 1661s # End of gtask tests 1661s ok - glib/task.test 1661s # Running test: glib/strvbuilder.test 1661s TAP version 13 1661s # random seed: R02S5f650dae946f368fe3a19b75ead76c0a 1661s 1..6 1661s # Start of strvbuilder tests 1661s ok 1 /strvbuilder/empty 1661s ok 2 /strvbuilder/add 1661s ok 3 /strvbuilder/addv 1661s ok 4 /strvbuilder/add_many 1661s ok 5 /strvbuilder/take 1661s ok 6 /strvbuilder/ref 1661s # End of strvbuilder tests 1661s ok - glib/strvbuilder.test 1661s # Running test: glib/markup-collect.test 1661s TAP version 13 1661s # random seed: R02S60069f2607e957784df6f0e2f51a70ba 1661s 1..21 1661s # Start of markup tests 1661s # Start of collect tests 1661s ok 1 /markup/collect/0 1661s ok 2 /markup/collect/1 1661s ok 3 /markup/collect/2 1661s ok 4 /markup/collect/3 1661s ok 5 /markup/collect/4 1661s ok 6 /markup/collect/5 1661s ok 7 /markup/collect/6 1661s ok 8 /markup/collect/7 1661s ok 9 /markup/collect/8 1661s ok 10 /markup/collect/9 1661s ok 11 /markup/collect/10 1661s ok 12 /markup/collect/11 1661s ok 13 /markup/collect/12 1661s ok 14 /markup/collect/13 1661s ok 15 /markup/collect/14 1661s ok 16 /markup/collect/15 1661s ok 17 /markup/collect/16 1661s ok 18 /markup/collect/17 1661s ok 19 /markup/collect/18 1661s ok 20 /markup/collect/19 1661s ok 21 /markup/collect/cleanup 1661s # End of collect tests 1661s # End of markup tests 1661s ok - glib/markup-collect.test 1661s # Running test: glib/portal-support-none.test 1661s TAP version 13 1661s # random seed: R02Sb66cc23e9b317645bb8746dac74ae0cf 1661s 1..1 1661s # Start of portal-support tests 1661s ok 1 /portal-support/none 1661s # End of portal-support tests 1661s ok - glib/portal-support-none.test 1661s # Running test: glib/cxx-17.test 1661s TAP version 13 1661s # random seed: R02S0e5f3756de4524fedf0de960717d0425 1661s 1..2 1661s # Start of gtask tests 1661s # 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. 1661s ok 1 /gtask/name 1661s # Start of name tests 1661s # 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. 1661s ok 2 /gtask/name/macro-wrapper 1661s # End of name tests 1661s # End of gtask tests 1661s ok - glib/cxx-17.test 1661s # Running test: glib/unicode.test 1661s TAP version 13 1661s # random seed: R02S212fa10968dedd5b9b39fcb1fa75ac6a 1661s 1..39 1661s # Start of unicode tests 1661s ok 1 /unicode/alnum 1661s ok 2 /unicode/alpha 1661s ok 3 /unicode/break-type 1661s ok 4 /unicode/canonical-decomposition 1661s ok 5 /unicode/casefold 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s # Cannot set locale to lt_LT, skipping 1661s ok 6 /unicode/casemap_and_casefold 1661s ok 7 /unicode/cases 1661s ok 8 /unicode/character-type 1661s ok 9 /unicode/cntrl 1661s ok 10 /unicode/combining-class 1661s ok 11 /unicode/compose 1661s ok 12 /unicode/decompose 1661s ok 13 /unicode/decompose-tail 1661s ok 14 /unicode/defined 1661s ok 15 /unicode/digit 1661s ok 16 /unicode/digit-value 1661s ok 17 /unicode/fully-decompose-canonical 1661s ok 18 /unicode/fully-decompose-len 1661s ok 19 /unicode/normalization 1661s ok 20 /unicode/graph 1661s # Testing script Zyyy (code 1517910393) 1661s # Testing script Zinh (code 1516858984) 1661s # Testing script Zmth (code 1517122664) 1661s # Testing script Arab (code 1098015074) 1661s # Testing script Armn (code 1098018158) 1661s # Testing script Beng (code 1113943655) 1661s # Testing script Bopo (code 1114599535) 1661s # Testing script Cher (code 1130915186) 1661s # Testing script Copt (code 1131376756) 1661s # Testing script Cyrl (code 1132032620) 1661s # Testing script Dsrt (code 1148416628) 1661s # Testing script Deva (code 1147500129) 1661s # Testing script Ethi (code 1165256809) 1661s # Testing script Geor (code 1197830002) 1661s # Testing script Goth (code 1198486632) 1661s # Testing script Grek (code 1198679403) 1661s # Testing script Gujr (code 1198877298) 1661s # Testing script Guru (code 1198879349) 1661s # Testing script Hani (code 1214344809) 1661s # Testing script Hang (code 1214344807) 1661s # Testing script Hebr (code 1214603890) 1661s # Testing script Hira (code 1214870113) 1661s # Testing script Knda (code 1265525857) 1661s # Testing script Kana (code 1264676449) 1661s # Testing script Khmr (code 1265134962) 1661s # Testing script Laoo (code 1281453935) 1661s # Testing script Latn (code 1281455214) 1661s # Testing script Mlym (code 1298954605) 1661s # Testing script Mong (code 1299148391) 1661s # Testing script Mymr (code 1299803506) 1661s # Testing script Ogam (code 1332175213) 1661s # Testing script Ital (code 1232363884) 1661s # Testing script Orya (code 1332902241) 1661s # Testing script Runr (code 1383427698) 1661s # Testing script Sinh (code 1399418472) 1661s # Testing script Syrc (code 1400468067) 1661s # Testing script Taml (code 1415671148) 1661s # Testing script Telu (code 1415933045) 1661s # Testing script Thaa (code 1416126817) 1661s # Testing script Thai (code 1416126825) 1661s # Testing script Tibt (code 1416192628) 1661s # Testing script Cans (code 1130458739) 1661s # Testing script Yiii (code 1500080489) 1661s # Testing script Tglg (code 1416064103) 1661s # Testing script Hano (code 1214344815) 1661s # Testing script Buhd (code 1114990692) 1661s # Testing script Tagb (code 1415669602) 1661s # Testing script Brai (code 1114792297) 1661s # Testing script Cprt (code 1131442804) 1661s # Testing script Limb (code 1281977698) 1661s # Testing script Osma (code 1332964705) 1661s # Testing script Shaw (code 1399349623) 1661s # Testing script Linb (code 1281977954) 1661s # Testing script Tale (code 1415670885) 1661s # Testing script Ugar (code 1432838514) 1661s # Testing script Talu (code 1415670901) 1661s # Testing script Bugi (code 1114990441) 1661s # Testing script Glag (code 1198285159) 1661s # Testing script Tfng (code 1415999079) 1661s # Testing script Sylo (code 1400466543) 1661s # Testing script Xpeo (code 1483761007) 1661s # Testing script Khar (code 1265131890) 1661s # Testing script Zzzz (code 1517976186) 1661s # Testing script Bali (code 1113681001) 1661s # Testing script Xsux (code 1483961720) 1661s # Testing script Phnx (code 1349021304) 1661s # Testing script Phag (code 1349017959) 1661s # Testing script Nkoo (code 1315663727) 1661s # Testing script Kali (code 1264675945) 1661s # Testing script Lepc (code 1281716323) 1661s # Testing script Rjng (code 1382706791) 1661s # Testing script Sund (code 1400204900) 1661s # Testing script Saur (code 1398895986) 1661s # Testing script Cham (code 1130914157) 1661s # Testing script Olck (code 1332503403) 1661s # Testing script Vaii (code 1449224553) 1661s # Testing script Cari (code 1130459753) 1661s # Testing script Lyci (code 1283023721) 1661s # Testing script Lydi (code 1283023977) 1661s # Testing script Avst (code 1098281844) 1661s # Testing script Bamu (code 1113681269) 1661s # Testing script Egyp (code 1164409200) 1661s # Testing script Armi (code 1098018153) 1661s # Testing script Phli (code 1349020777) 1661s # Testing script Prti (code 1349678185) 1661s # Testing script Java (code 1247901281) 1661s # Testing script Kthi (code 1265920105) 1661s # Testing script Lisu (code 1281979253) 1661s # Testing script Mtei (code 1299473769) 1661s # Testing script Sarb (code 1398895202) 1661s # Testing script Orkh (code 1332898664) 1661s # Testing script Samr (code 1398893938) 1661s # Testing script Lana (code 1281453665) 1661s # Testing script Tavt (code 1415673460) 1661s # Testing script Batk (code 1113683051) 1661s # Testing script Brah (code 1114792296) 1661s # Testing script Mand (code 1298230884) 1661s # Testing script Cakm (code 1130457965) 1661s # Testing script Merc (code 1298494051) 1661s # Testing script Mero (code 1298494063) 1661s # Testing script Plrd (code 1349284452) 1661s # Testing script Shrd (code 1399353956) 1661s # Testing script Sora (code 1399812705) 1661s # Testing script Takr (code 1415670642) 1661s # Testing script Bass (code 1113682803) 1661s # Testing script Aghb (code 1097295970) 1661s # Testing script Dupl (code 1148547180) 1661s # Testing script Elba (code 1164730977) 1661s # Testing script Gran (code 1198678382) 1661s # Testing script Khoj (code 1265135466) 1661s # Testing script Sind (code 1399418468) 1661s # Testing script Lina (code 1281977953) 1661s # Testing script Mahj (code 1298229354) 1661s # Testing script Mani (code 1298230889) 1661s # Testing script Mend (code 1298493028) 1661s # Testing script Modi (code 1299145833) 1661s # Testing script Mroo (code 1299345263) 1661s # Testing script Nbat (code 1315070324) 1661s # Testing script Narb (code 1315009122) 1661s # Testing script Perm (code 1348825709) 1661s # Testing script Hmng (code 1215131239) 1661s # Testing script Palm (code 1348562029) 1661s # Testing script Pauc (code 1348564323) 1661s # Testing script Phlp (code 1349020784) 1661s # Testing script Sidd (code 1399415908) 1661s # Testing script Tirh (code 1416196712) 1661s # Testing script Wara (code 1466004065) 1661s # Testing script Ahom (code 1097363309) 1661s # Testing script Hluw (code 1215067511) 1661s # Testing script Hatr (code 1214346354) 1661s # Testing script Mult (code 1299541108) 1661s # Testing script Hung (code 1215655527) 1661s # Testing script Sgnw (code 1399287415) 1661s # Testing script Adlm (code 1097100397) 1661s # Testing script Bhks (code 1114139507) 1661s # Testing script Marc (code 1298231907) 1661s # Testing script Newa (code 1315272545) 1661s # Testing script Osge (code 1332963173) 1661s # Testing script Tang (code 1415671399) 1661s # Testing script Gonm (code 1198485101) 1661s # Testing script Nshu (code 1316186229) 1661s # Testing script Soyo (code 1399814511) 1661s # Testing script Zanb (code 1516334690) 1661s # Testing script Dogr (code 1148151666) 1661s # Testing script Gong (code 1198485095) 1661s # Testing script Rohg (code 1383032935) 1661s # Testing script Maka (code 1298230113) 1661s # Testing script Medf (code 1298490470) 1661s # Testing script Sogo (code 1399809903) 1661s # Testing script Sogd (code 1399809892) 1661s # Testing script Elym (code 1164736877) 1661s # Testing script Nand (code 1315008100) 1661s # Testing script Hmnp (code 1215131248) 1661s # Testing script Wcho (code 1466132591) 1661s # Testing script Chrs (code 1130918515) 1661s # Testing script Diak (code 1147756907) 1661s # Testing script Kits (code 1265202291) 1661s # Testing script Yezi (code 1499822697) 1661s # Testing script Cpmn (code 1131441518) 1661s # Testing script Ougr (code 1333094258) 1661s # Testing script Tnsa (code 1416524641) 1661s # Testing script Toto (code 1416590447) 1661s # Testing script Vith (code 1449751656) 1661s # Testing script Kawi (code 1264678761) 1661s # Testing script Nagm (code 1315006317) 1661s ok 21 /unicode/iso15924 1661s ok 22 /unicode/lower 1661s ok 23 /unicode/mark 1661s ok 24 /unicode/mirror 1661s ok 25 /unicode/print 1661s ok 26 /unicode/punctuation 1661s ok 27 /unicode/script 1661s ok 28 /unicode/space 1661s ok 29 /unicode/strdown 1661s ok 30 /unicode/strup 1661s ok 31 /unicode/turkish-strupdown 1661s ok 32 /unicode/title 1661s ok 33 /unicode/upper 1661s ok 34 /unicode/validate 1661s ok 35 /unicode/wide 1661s ok 36 /unicode/xdigit 1661s ok 37 /unicode/xdigit-value 1661s ok 38 /unicode/zero-width 1661s ok 39 /unicode/normalize 1661s # End of unicode tests 1661s ok - glib/unicode.test 1661s # Running test: glib/642026.test 1661s TAP version 13 1661s # random seed: R02Sd863511d006f08eed237738dd359f44d 1661s 1..1 1661s # Start of glib tests 1661s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1662s ok 1 /glib/642026 1662s # End of glib tests 1662s ok - glib/642026.test 1662s # Running test: glib/gdbus-test-codegen.test 1662s TAP version 13 1662s # random seed: R02S6a6f40e00ef9740a8107849181c233e3 1662s 1..8 1662s # Start of gdbus tests 1662s # Start of codegen tests 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/annotations/.dirs/runtime 1662s ok 1 /gdbus/codegen/annotations 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/interface_stability/.dirs/runtime 1662s ok 2 /gdbus/codegen/interface_stability 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/object-manager/.dirs/runtime 1662s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1662s ok 3 /gdbus/codegen/object-manager 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/property-naming/.dirs/runtime 1662s ok 4 /gdbus/codegen/property-naming 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/autocleanups/.dirs/runtime 1662s ok 5 /gdbus/codegen/autocleanups 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/deprecations/.dirs/runtime 1662s ok 6 /gdbus/codegen/deprecations 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1662s ok 7 /gdbus/codegen/standalone-interface-info 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_YLFXK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1662s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1662s ok 8 /gdbus/codegen/unix-fd-list 1662s # End of codegen tests 1662s # End of gdbus tests 1662s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1662s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1662s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1662s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1662s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1662s ok - glib/gdbus-test-codegen.test 1662s # Running test: glib/repository.test 1662s TAP version 13 1662s # random seed: R02S2fea19f095026a4fa773ccf7a79376e0 1662s 1..20 1662s # Start of repository tests 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/basic/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/basic/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/basic/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/basic/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/basic/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/basic/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/basic/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/basic/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/basic/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/basic/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1662s ok 1 /repository/basic 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/info/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/info/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/info/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/info/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/info/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/info/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/info/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/info/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/info/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/info/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1662s ok 2 /repository/info 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/dependencies/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/dependencies/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/dependencies/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1662s ok 3 /repository/dependencies 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/arg-info/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/arg-info/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/arg-info/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1662s ok 4 /repository/arg-info 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/callable-info/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/callable-info/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/callable-info/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1662s ok 5 /repository/callable-info 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/callback-info/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/callback-info/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/callback-info/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1662s ok 6 /repository/callback-info 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/char-types/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/char-types/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/char-types/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/char-types/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/char-types/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/char-types/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/char-types/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/char-types/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1662s ok 7 /repository/char-types 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/constructor-return-type/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1662s ok 8 /repository/constructor-return-type 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/enum-info-c-identifier/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1662s ok 9 /repository/enum-info-c-identifier 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/enum-info-static-methods/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/enum-info-static-methods summary: Test an enum with methods 1662s ok 10 /repository/enum-info-static-methods 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/error-quark/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/error-quark/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/error-quark/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/error-quark summary: Test finding an error quark by error domain 1662s ok 11 /repository/error-quark 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/flags-info-c-identifier/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1662s ok 12 /repository/flags-info-c-identifier 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/fundamental-ref-func/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1662s ok 13 /repository/fundamental-ref-func 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/instance-method-ownership-transfer/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1662s ok 14 /repository/instance-method-ownership-transfer 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/object-gtype-interfaces/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1662s ok 15 /repository/object-gtype-interfaces 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1662s ok 16 /repository/signal-info-with-array-length-arg 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/type-info-name/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/type-info-name/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/type-info-name/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1662s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1662s ok 17 /repository/type-info-name 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1662s ok 18 /repository/vfunc-info-with-no-invoker 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1662s ok 19 /repository/vfunc-info-with-invoker-on-interface 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_S97QK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1662s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1662s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1662s ok 20 /repository/vfunc-info-with-invoker-on-object 1662s # End of repository tests 1662s ok - glib/repository.test 1662s # Running test: glib/option-context.test 1662s TAP version 13 1662s # random seed: R02S3f2cd49350daa4c50464b46333e30b95 1662s 1..57 1662s # Start of option tests 1662s ok 1 /option/basic 1662s ok 2 /option/translate 1662s ok 3 /option/strict-posix 1662s # Start of help tests 1662s ok 4 /option/help/options 1662s ok 5 /option/help/no-options 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1662s ok 6 /option/help/no-help-options 1662s # End of help tests 1662s # Start of group tests 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1662s ok 7 /option/group/captions 1662s ok 8 /option/group/main 1662s ok 9 /option/group/error-hook 1662s ok 10 /option/group/parse 1662s # Start of captions tests 1662s # Start of subprocess tests 1662s # End of subprocess tests 1662s # End of captions tests 1662s # End of group tests 1662s # Start of restoration tests 1662s ok 11 /option/restoration/int 1662s ok 12 /option/restoration/string 1662s ok 13 /option/restoration/boolean 1662s # End of restoration tests 1662s # Start of arg tests 1662s ok 14 /option/arg/reverse-string 1662s ok 15 /option/arg/optional-int 1662s # Start of repetition tests 1662s ok 16 /option/arg/repetition/int 1662s ok 17 /option/arg/repetition/string 1662s ok 18 /option/arg/repetition/filename 1662s ok 19 /option/arg/repetition/double 1662s ok 20 /option/arg/repetition/locale 1662s ok 21 /option/arg/repetition/int64 1662s # End of repetition tests 1662s # Start of array tests 1662s ok 22 /option/arg/array/string 1662s # End of array tests 1662s # Start of callback tests 1662s ok 23 /option/arg/callback/string 1662s ok 24 /option/arg/callback/count 1662s ok 25 /option/arg/callback/optional1 1662s ok 26 /option/arg/callback/optional2 1662s ok 27 /option/arg/callback/optional3 1662s ok 28 /option/arg/callback/optional4 1662s ok 29 /option/arg/callback/optional5 1662s ok 30 /option/arg/callback/optional6 1662s ok 31 /option/arg/callback/optional7 1662s ok 32 /option/arg/callback/optional8 1662s # End of callback tests 1662s # Start of remaining tests 1662s ok 33 /option/arg/remaining/callback 1662s ok 34 /option/arg/remaining/callback-false 1662s ok 35 /option/arg/remaining/non-option 1662s ok 36 /option/arg/remaining/separator 1662s ok 37 /option/arg/remaining/array 1662s # End of remaining tests 1662s # Start of ignore tests 1662s ok 38 /option/arg/ignore/long 1662s ok 39 /option/arg/ignore/short 1662s ok 40 /option/arg/ignore/arg 1662s # End of ignore tests 1662s # Start of rest tests 1662s ok 41 /option/arg/rest/non-option 1662s ok 42 /option/arg/rest/separator1 1662s ok 43 /option/arg/rest/separator2 1662s ok 44 /option/arg/rest/separator3 1662s ok 45 /option/arg/rest/separator4 1662s ok 46 /option/arg/rest/separator5 1662s # End of rest tests 1662s # End of arg tests 1662s # Start of context tests 1662s ok 47 /option/context/add 1662s ok 48 /option/context/empty2 1662s ok 49 /option/context/empty3 1662s # End of context tests 1662s # Start of bug tests 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1662s ok 50 /option/bug/unknown-short 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1662s ok 51 /option/bug/lonely-dash 1662s ok 52 /option/bug/triple-dash 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1662s ok 53 /option/bug/missing-arg 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1662s ok 54 /option/bug/dash-arg 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1662s ok 55 /option/bug/short-remaining 1662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1662s ok 56 /option/bug/double-free 1662s ok 57 /option/bug/double-zero 1662s # End of bug tests 1662s # End of option tests 1662s ok - glib/option-context.test 1662s # Running test: glib/mimeapps.test 1662s TAP version 13 1662s # random seed: R02S050b8c380dafff03886fc617334b1d81 1662s 1..7 1662s # Start of appinfo tests 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1662s ok 1 /appinfo/all 1662s # Start of mime tests 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RGFMK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config 1662s ok 2 /appinfo/mime/api 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config 1662s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RGFMK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config 1662s ok 3 /appinfo/mime/default 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RGFMK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config 1662s ok 4 /appinfo/mime/file 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1662s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RGFMK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/config 1662s ok 5 /appinfo/mime/scheme-handler 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RGFMK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config 1662s ok 6 /appinfo/mime/default-last-used 1662s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/home 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/config 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/state 1662s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1662s # removing '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1662s # creating '/tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1662s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RGFMK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_RGFMK2/appinfo/mime/ignore-nonexisting/.dirs/config 1662s ok 7 /appinfo/mime/ignore-nonexisting 1662s # End of mime tests 1662s # End of appinfo tests 1662s ok - glib/mimeapps.test 1662s # Running test: glib/socket-address.test 1662s TAP version 13 1662s # random seed: R02Sa032723d0579326b5c4bee24aec2c8b9 1662s 1..2 1662s # Start of socket tests 1662s # Start of address tests 1662s # Start of unix tests 1662s ok 1 /socket/address/unix/construct 1662s ok 2 /socket/address/unix/to-string 1662s # End of unix tests 1662s # End of address tests 1662s # End of socket tests 1662s ok - glib/socket-address.test 1662s # Running test: glib/null-settings-backend.test 1662s TAP version 13 1662s # random seed: R02S702c5bb56a78f4ff7715858a30699129 1662s 1..1 1662s # Start of null-settings-backend tests 1662s ok 1 /null-settings-backend/extension-point-registered 1662s # End of null-settings-backend tests 1662s ok - glib/null-settings-backend.test 1662s # Running test: glib/unix-fd.test 1662s TAP version 13 1662s # random seed: R02S4acdb97f397a29d244f93145c5238ebe 1662s 1..2 1662s # Start of unix-fd tests 1662s ok 1 /unix-fd/fd-list 1662s ok 2 /unix-fd/scm 1662s # End of unix-fd tests 1662s ok - glib/unix-fd.test 1662s # Running test: glib/data-input-stream.test 1662s TAP version 13 1662s # random seed: R02S4486b2b3715f6e1917a72b94cb82cb88 1662s 1..10 1662s # Start of data-input-stream tests 1662s ok 1 /data-input-stream/basic 1662s ok 2 /data-input-stream/read-lines-LF 1662s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1662s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1663s ok 5 /data-input-stream/read-lines-CR 1663s ok 6 /data-input-stream/read-lines-CR-LF 1663s ok 7 /data-input-stream/read-lines-any 1663s ok 8 /data-input-stream/read-until 1663s ok 9 /data-input-stream/read-upto 1663s ok 10 /data-input-stream/read-int 1663s # End of data-input-stream tests 1663s ok - glib/data-input-stream.test 1663s # Running test: glib/gdbus-test-codegen-old.test 1663s TAP version 13 1663s # random seed: R02Sae388a2c6a8aaca2b4b7cbc8cf31b776 1663s 1..8 1663s # Start of gdbus tests 1663s # Start of codegen tests 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/annotations/.dirs/runtime 1663s ok 1 /gdbus/codegen/annotations 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/interface_stability/.dirs/runtime 1663s ok 2 /gdbus/codegen/interface_stability 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/object-manager/.dirs/runtime 1663s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1663s ok 3 /gdbus/codegen/object-manager 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/property-naming/.dirs/runtime 1663s ok 4 /gdbus/codegen/property-naming 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/autocleanups/.dirs/runtime 1663s ok 5 /gdbus/codegen/autocleanups 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/deprecations/.dirs/runtime 1663s ok 6 /gdbus/codegen/deprecations 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1663s ok 7 /gdbus/codegen/standalone-interface-info 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8HC1K2/gdbus/codegen/unix-fd-list/.dirs/runtime 1663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1663s ok 8 /gdbus/codegen/unix-fd-list 1663s # End of codegen tests 1663s # End of gdbus tests 1663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1663s ok - glib/gdbus-test-codegen-old.test 1663s # Running test: glib/tree.test 1663s TAP version 13 1663s # random seed: R02S88c037362d08dc61723d5e54fce8f411 1663s 1..7 1663s # Start of tree tests 1663s ok 1 /tree/search 1663s ok 2 /tree/remove 1663s ok 3 /tree/destroy 1663s ok 4 /tree/traverse 1663s ok 5 /tree/insert 1663s ok 6 /tree/bounds 1663s ok 7 /tree/remove-all 1663s # End of tree tests 1663s ok - glib/tree.test 1663s # Running test: glib/trash.test 1663s TAP version 13 1663s # random seed: R02Sdcd91b164148363c4c0804c1fd3533d0 1663s 1..2 1663s # Start of trash tests 1663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1663s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1663s # File: /tmp/test-trashJODVK2 (parent st_dev: 2049) 1663s # Home: /home/ubuntu (st_dev: 2049) 1663s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1663s # Target: /home/ubuntu/.local (mount: /) 1663s # Tmp: /tmp/test-trashYDAVK2 (mount: /) 1663s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1663s # End of trash tests 1663s ok - glib/trash.test 1663s # Running test: glib/guuid.test 1663s TAP version 13 1663s # random seed: R02S93aea2407481e87af6348f49e78c2bd6 1663s 1..2 1663s # Start of uuid tests 1663s ok 1 /uuid/string 1663s ok 2 /uuid/random 1663s # End of uuid tests 1663s ok - glib/guuid.test 1663s # Running test: glib/gdbus-export.test 1663s TAP version 13 1663s # random seed: R02S121d0f13ab0e94482b7b89a2f0135f75 1663s 1..6 1663s # Start of gdbus tests 1663s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/home 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/cache 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/system-config2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/config 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/system-data2 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/data 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/state 1663s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration/.dirs/runtime 1663s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s ok 1 /gdbus/object-registration 1664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/home 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/cache 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/system-config2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/config 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/system-data2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/data 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/state 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_GMQUK2/gdbus/object-registration-with-closures/.dirs/runtime 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s ok 2 /gdbus/object-registration-with-closures 1664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/home 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/cache 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/system-config2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/config 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/system-data2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/data 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/state 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_GMQUK2/gdbus/registered-interfaces/.dirs/runtime 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s ok 3 /gdbus/registered-interfaces 1664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/home 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/cache 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/system-config2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/config 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/system-data2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/data 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/state 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_GMQUK2/gdbus/async-properties/.dirs/runtime 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s ok 4 /gdbus/async-properties 1664s # Start of threaded-unregistration tests 1664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/home 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/cache 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/system-config2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/config 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/system-data2 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/data 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/state 1664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/object/.dirs/runtime 1664s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1664s # /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 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # Executing: glib/gdbus-export.test 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1665s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1666s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (933 iterations with unregistration first, 67 with call first); skipping test 1668s # slow test /gdbus/threaded-unregistration/object executed in 4.00 secs 1668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/home 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/cache 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/config 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/data 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/state 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_GMQUK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1668s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1668s # /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 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # Executing: glib/gdbus-export.test 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1671s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (995 iterations with unregistration first, 5 with call first); skipping test 1672s # slow test /gdbus/threaded-unregistration/subtree executed in 4.46 secs 1672s # End of threaded-unregistration tests 1672s # End of gdbus tests 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s ok - glib/gdbus-export.test 1672s # Running test: glib/refcount-macro.test 1672s TAP version 13 1672s # random seed: R02Sbeaa19c9087db83ef1bc535c9d70be58 1672s 1..4 1672s # Start of refcount tests 1672s ok 1 /refcount/grefcount 1672s ok 2 /refcount/gatomicrefcount 1672s # Start of grefcount tests 1672s ok 3 /refcount/grefcount/saturation 1672s # End of grefcount tests 1672s # Start of gatomicrefcount tests 1672s ok 4 /refcount/gatomicrefcount/saturation 1672s # End of gatomicrefcount tests 1672s # End of refcount tests 1672s ok - glib/refcount-macro.test 1672s # Running test: glib/cxx-14.test 1672s TAP version 13 1672s # random seed: R02Sdea48a6cb93051370bba6ef57f014b32 1672s 1..2 1672s # Start of gtask tests 1672s # 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. 1672s ok 1 /gtask/name 1672s # Start of name tests 1672s # 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. 1672s ok 2 /gtask/name/macro-wrapper 1672s # End of name tests 1672s # End of gtask tests 1672s ok - glib/cxx-14.test 1672s # Running test: glib/hash.test 1672s TAP version 13 1672s # random seed: R02S3d984b325efa7c680ed15d7cc87ef05e 1672s 1..34 1672s # Start of hash tests 1672s ok 1 /hash/misc 1672s ok 2 /hash/one 1672s ok 3 /hash/honeyman 1672s ok 4 /hash/direct 1672s ok 5 /hash/direct2 1672s ok 6 /hash/int 1672s ok 7 /hash/int64 1672s ok 8 /hash/double 1672s ok 9 /hash/string 1672s ok 10 /hash/set 1672s ok 11 /hash/set-ref 1672s ok 12 /hash/ref 1672s ok 13 /hash/remove-all 1672s ok 14 /hash/recursive-remove-all 1672s ok 15 /hash/find 1672s ok 16 /hash/foreach 1672s ok 17 /hash/foreach-steal 1672s ok 18 /hash/steal-extended 1672s ok 19 /hash/steal-all-keys 1672s ok 20 /hash/steal-all-values 1672s ok 21 /hash/lookup-extended 1672s ok 22 /hash/new-similar 1672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1672s ok 23 /hash/lookup-null-key 1672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1672s ok 24 /hash/destroy-modify 1672s ok 25 /hash/consistency 1672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1672s ok 26 /hash/iter-replace 1672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1672s ok 27 /hash/set-insert-corruption 1672s ok 28 /hash/set-to-strv 1672s ok 29 /hash/get-keys-as-ptr-array 1672s ok 30 /hash/get-values-as-ptr-array 1672s ok 31 /hash/primes 1672s # Start of int64 tests 1672s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1672s ok 32 /hash/int64/collisions 1672s # End of int64 tests 1672s # Start of double tests 1672s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1672s ok 33 /hash/double/collisions 1672s # End of double tests 1672s # Start of recursive-remove-all tests 1672s # End of recursive-remove-all tests 1672s # Start of steal-extended tests 1672s ok 34 /hash/steal-extended/optional 1672s # End of steal-extended tests 1672s # End of hash tests 1672s ok - glib/hash.test 1672s # Running test: glib/gapplication.test 1672s TAP version 13 1672s # random seed: R02S7debd02564240827fdb4c198429e3dcf 1672s 1..24 1672s # Start of gapplication tests 1672s ok 1 /gapplication/no-dbus 1672s ok 2 /gapplication/no-appid 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s ok 3 /gapplication/properties 1672s ok 4 /gapplication/app-id 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s ok 5 /gapplication/quit 1672s ok 6 /gapplication/registered 1672s ok 7 /gapplication/local-actions 1672s ok 8 /gapplication/local-command-line 1672s ok 9 /gapplication/resource-path 1672s ok 10 /gapplication/test-help 1672s ok 11 /gapplication/command-line-done 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s ok 12 /gapplication/test-busy 1672s ok 13 /gapplication/test-handle-local-options1 1672s ok 14 /gapplication/test-handle-local-options2 1672s ok 15 /gapplication/test-handle-local-options3 1672s ok 16 /gapplication/api 1672s ok 17 /gapplication/version 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1672s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # launching subprocess 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 18 /gapplication/replace 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # launching subprocess 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 19 /gapplication/no-replace 1673s # slow test /gapplication/no-replace executed in 0.56 secs 1673s # Start of dbus tests 1673s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # Message 0 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 1 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 2 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 20 /gapplication/dbus/activate 1673s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # Message 0 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1673s # Message 1 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 2 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 3 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 21 /gapplication/dbus/open 1673s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # Message 0 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 1 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 2 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 22 /gapplication/dbus/command-line 1673s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 23 /gapplication/dbus/command-line-done 1673s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # Message 0 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 1 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 2 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 3 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 4 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Message 5 1673s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1673s ok 24 /gapplication/dbus/activate-action 1673s # End of dbus tests 1673s # End of gapplication tests 1673s ok - glib/gapplication.test 1673s # Running test: glib/sort.test 1673s TAP version 13 1673s # random seed: R02S55de6a56136104e4532542dbfada4985 1673s 1..4 1673s # Start of sort tests 1673s ok 1 /sort/basic 1673s ok 2 /sort/zero-elements 1673s ok 3 /sort/stable 1673s ok 4 /sort/big 1673s # End of sort tests 1674s ok - glib/sort.test 1674s # Running test: glib/power-profile-monitor-portal.test 1674s # Executing: glib/power-profile-monitor-portal.test 1675s TAP version 13 1675s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1676s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1676s 1..2 1676s ok - glib/power-profile-monitor-portal.test 1676s # Running test: glib/io-channel.test 1676s TAP version 13 1676s # random seed: R02S4f670f8b02129218379c9afab70851de 1676s 1..2 1676s # Start of io-channel tests 1676s # Line one 1676s # 1676s # Line two 1676s # 1676s # Line three 1676s # 1676s # /* Hello */ 1676s # 1676s # \x1234\x567890\x6666 1676s # 1676s # read 62 bytes, wrote 62 bytes 1676s ok 1 /io-channel/read-write 1676s # Start of read-line tests 1676s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1676s ok 2 /io-channel/read-line/embedded-nuls 1676s # End of read-line tests 1676s # End of io-channel tests 1676s ok - glib/io-channel.test 1676s # Running test: glib/gvariant.test 1676s TAP version 13 1676s # random seed: R02S6fd4d676eabdc3577cc1574c9ee5dec2 1676s 1..64 1676s # Start of gvariant tests 1676s ok 1 /gvariant/type 1677s ok 2 /gvariant/typeinfo 1677s # slow test /gvariant/typeinfo executed in 0.73 secs 1677s ok 3 /gvariant/string 1677s ok 4 /gvariant/utf8 1679s # Executing: glib/gvariant.test 1681s ok 5 /gvariant/containers 1681s # slow test /gvariant/containers executed in 4.74 secs 1681s ok 6 /gvariant/format-strings 1681s ok 7 /gvariant/invalid-varargs 1681s ok 8 /gvariant/varargs 1681s ok 9 /gvariant/valist 1681s ok 10 /gvariant/builder-memory 1682s ok 11 /gvariant/hashing 1682s ok 12 /gvariant/byteswap 1683s ok 13 /gvariant/parser 1683s # slow test /gvariant/parser executed in 1.08 secs 1683s ok 14 /gvariant/parse-failures 1683s ok 15 /gvariant/parse-positional 1683s ok 16 /gvariant/floating 1683s ok 17 /gvariant/bytestring 1683s ok 18 /gvariant/lookup-value 1683s ok 19 /gvariant/lookup 1683s ok 20 /gvariant/compare 1683s ok 21 /gvariant/equal 1683s ok 22 /gvariant/fixed-array 1683s ok 23 /gvariant/check-format-string 1683s ok 24 /gvariant/checksum-basic 1683s ok 25 /gvariant/checksum-nested 1683s ok 26 /gvariant/gbytes 1683s ok 27 /gvariant/print-context 1683s ok 28 /gvariant/error-quark 1683s ok 29 /gvariant/stack-builder-init 1683s ok 30 /gvariant/stack-dict-init 1683s ok 31 /gvariant/unaligned-construction 1683s # Start of type tests 1683s # Start of string-scan tests 1683s # Start of recursion tests 1683s ok 32 /gvariant/type/string-scan/recursion/tuple 1683s ok 33 /gvariant/type/string-scan/recursion/array 1683s # End of recursion tests 1683s # End of string-scan tests 1683s # End of type tests 1683s # Start of serialiser tests 1683s ok 34 /gvariant/serialiser/maybe 1684s ok 35 /gvariant/serialiser/array 1684s # slow test /gvariant/serialiser/array executed in 0.60 secs 1684s # Executing: glib/gvariant.test 1684s ok 36 /gvariant/serialiser/tuple 1684s ok 37 /gvariant/serialiser/variant 1684s ok 38 /gvariant/serialiser/strings 1686s ok 39 /gvariant/serialiser/byteswap 1686s # slow test /gvariant/serialiser/byteswap executed in 1.75 secs 1686s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1686s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1686s ok 40 /gvariant/serialiser/children 1686s # Start of fuzz tests 1687s ok 41 /gvariant/serialiser/fuzz/1% 1687s # slow test /gvariant/serialiser/fuzz/1% executed in 1.39 secs 1688s ok 42 /gvariant/serialiser/fuzz/5% 1688s # slow test /gvariant/serialiser/fuzz/5% executed in 0.67 secs 1689s # Executing: glib/gvariant.test 1689s ok 43 /gvariant/serialiser/fuzz/9% 1689s # slow test /gvariant/serialiser/fuzz/9% executed in 1.50 secs 1691s ok 44 /gvariant/serialiser/fuzz/13% 1691s # slow test /gvariant/serialiser/fuzz/13% executed in 1.26 secs 1694s # Executing: glib/gvariant.test 1700s # Executing: glib/gvariant.test 1704s # Executing: glib/gvariant.test 1704s ok 45 /gvariant/serialiser/fuzz/17% 1704s # slow test /gvariant/serialiser/fuzz/17% executed in 13.59 secs 1704s # End of fuzz tests 1704s # End of serialiser tests 1704s # Start of varargs tests 1704s # Start of subprocess tests 1704s # End of subprocess tests 1704s # End of varargs tests 1704s # Start of byteswap tests 1704s # /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. 1704s ok 46 /gvariant/byteswap/non-normal-non-aligned 1704s # End of byteswap tests 1704s # Start of parser tests 1704s ok 47 /gvariant/parser/integer-bounds 1704s ok 48 /gvariant/parser/recursion 1704s # Start of recursion tests 1704s ok 49 /gvariant/parser/recursion/typedecls 1704s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1704s # Text form 0: @mmmu 5 1704s # Text form 1: @mmmas ['hello'] 1704s # Text form 2: @mmmu just just nothing 1704s # Text form 3: @mmmas just just nothing 1704s # Text form 4: @mmmu just nothing 1704s # Text form 5: @mmmas just nothing 1704s # Text form 6: @mmmu nothing 1704s # Text form 7: @mmmas nothing 1704s ok 50 /gvariant/parser/recursion/maybes 1704s # End of recursion tests 1704s # End of parser tests 1704s # Start of parse tests 1704s # Start of subprocess tests 1704s # End of subprocess tests 1704s # End of parse tests 1704s # Start of normal-checking tests 1704s ok 51 /gvariant/normal-checking/tuples 1704s ok 52 /gvariant/normal-checking/array-offsets 1704s ok 53 /gvariant/normal-checking/array-offsets2 1704s ok 54 /gvariant/normal-checking/tuple-offsets 1704s ok 55 /gvariant/normal-checking/tuple-offsets2 1704s ok 56 /gvariant/normal-checking/tuple-offsets3 1704s ok 57 /gvariant/normal-checking/tuple-offsets4 1704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1704s ok 58 /gvariant/normal-checking/tuple-offsets5 1704s ok 59 /gvariant/normal-checking/empty-object-path 1704s # Start of array-offsets tests 1704s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1704s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1704s # End of array-offsets tests 1704s # Start of tuple-offsets tests 1704s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1704s # End of tuple-offsets tests 1704s # End of normal-checking tests 1704s # Start of recursion-limits tests 1704s ok 63 /gvariant/recursion-limits/variant-in-variant 1704s ok 64 /gvariant/recursion-limits/array-in-variant 1704s # End of recursion-limits tests 1704s # End of gvariant tests 1704s ok - glib/gvariant.test 1704s # Running test: glib/bookmarkfile.test 1704s TAP version 13 1704s # random seed: R02S02c8b1e60f3b5cb193890216f0d2af7d 1704s 1..96 1704s # Start of bookmarks tests 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/load-from-data-dirs/.dirs/runtime 1704s ok 1 /bookmarks/load-from-data-dirs 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/to-file/.dirs/runtime 1704s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_XJ7UK2/bookmarkfile-test-RI1UK2.xbel 1704s # Roundtrip from a valid bookmark file 1704s ok 2 /bookmarks/to-file 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/move-item/.dirs/runtime 1704s ok 3 /bookmarks/move-item 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/corner-cases/.dirs/runtime 1704s ok 4 /bookmarks/corner-cases 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/misc/.dirs/runtime 1704s ok 5 /bookmarks/misc 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/deprecated/.dirs/runtime 1704s ok 6 /bookmarks/deprecated 1704s # Start of parse tests 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1704s ok 7 /bookmarks/parse/fail-18.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1704s ok 8 /bookmarks/parse/fail-26.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1704s ok 9 /bookmarks/parse/fail-36.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1704s ok 10 /bookmarks/parse/fail-14.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1704s ok 11 /bookmarks/parse/fail-03.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1704s ok 12 /bookmarks/parse/fail-32.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1704s ok 13 /bookmarks/parse/valid-01.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1704s ok 14 /bookmarks/parse/valid-02.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1704s ok 15 /bookmarks/parse/fail-13.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1704s ok 16 /bookmarks/parse/fail-27.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1704s ok 17 /bookmarks/parse/fail-40.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1704s ok 18 /bookmarks/parse/fail-01.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1704s ok 19 /bookmarks/parse/fail-30.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1704s ok 20 /bookmarks/parse/fail-28.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1704s ok 21 /bookmarks/parse/fail-07.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1704s ok 22 /bookmarks/parse/fail-25.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1704s ok 23 /bookmarks/parse/fail-24.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1704s ok 24 /bookmarks/parse/fail-09.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1704s ok 25 /bookmarks/parse/fail-37.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1704s ok 26 /bookmarks/parse/fail-20.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1704s ok 27 /bookmarks/parse/fail-39.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1704s ok 28 /bookmarks/parse/fail-19.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1704s ok 29 /bookmarks/parse/fail-08.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1704s ok 30 /bookmarks/parse/fail-05.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1704s ok 31 /bookmarks/parse/fail-10.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1704s ok 32 /bookmarks/parse/fail-16.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1704s ok 33 /bookmarks/parse/fail-35.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1704s ok 34 /bookmarks/parse/fail-17.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1704s ok 35 /bookmarks/parse/fail-42.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1704s ok 36 /bookmarks/parse/fail-02.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1704s ok 37 /bookmarks/parse/fail-23.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1704s ok 38 /bookmarks/parse/fail-41.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1704s ok 39 /bookmarks/parse/fail-29.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1704s ok 40 /bookmarks/parse/fail-34.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1704s ok 41 /bookmarks/parse/fail-06.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1704s ok 42 /bookmarks/parse/fail-21.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1704s ok 43 /bookmarks/parse/fail-04.xbel 1704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/home 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/config 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/data 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/state 1704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1704s ok 44 /bookmarks/parse/fail-12.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1705s ok 45 /bookmarks/parse/fail-31.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1705s ok 46 /bookmarks/parse/valid-03.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1705s ok 47 /bookmarks/parse/fail-33.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1705s ok 48 /bookmarks/parse/fail-38.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1705s ok 49 /bookmarks/parse/fail-15.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1705s ok 50 /bookmarks/parse/fail-11.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1705s ok 51 /bookmarks/parse/fail-22.xbel 1705s # End of parse tests 1705s # Start of copy tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1705s ok 52 /bookmarks/copy/fail-18.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1705s ok 53 /bookmarks/copy/fail-26.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1705s ok 54 /bookmarks/copy/fail-36.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1705s ok 55 /bookmarks/copy/fail-14.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1705s ok 56 /bookmarks/copy/fail-03.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1705s ok 57 /bookmarks/copy/fail-32.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1705s ok 58 /bookmarks/copy/valid-01.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1705s ok 59 /bookmarks/copy/valid-02.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1705s ok 60 /bookmarks/copy/fail-13.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1705s ok 61 /bookmarks/copy/fail-27.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1705s ok 62 /bookmarks/copy/fail-40.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1705s ok 63 /bookmarks/copy/fail-01.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1705s ok 64 /bookmarks/copy/fail-30.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1705s ok 65 /bookmarks/copy/fail-28.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1705s ok 66 /bookmarks/copy/fail-07.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1705s ok 67 /bookmarks/copy/fail-25.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1705s ok 68 /bookmarks/copy/fail-24.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1705s ok 69 /bookmarks/copy/fail-09.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1705s ok 70 /bookmarks/copy/fail-37.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1705s ok 71 /bookmarks/copy/fail-20.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1705s ok 72 /bookmarks/copy/fail-39.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1705s ok 73 /bookmarks/copy/fail-19.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1705s ok 74 /bookmarks/copy/fail-08.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1705s ok 75 /bookmarks/copy/fail-05.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1705s ok 76 /bookmarks/copy/fail-10.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1705s ok 77 /bookmarks/copy/fail-16.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1705s ok 78 /bookmarks/copy/fail-35.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1705s ok 79 /bookmarks/copy/fail-17.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1705s ok 80 /bookmarks/copy/fail-42.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1705s ok 81 /bookmarks/copy/fail-02.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1705s ok 82 /bookmarks/copy/fail-23.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1705s ok 83 /bookmarks/copy/fail-41.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1705s ok 84 /bookmarks/copy/fail-29.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1705s ok 85 /bookmarks/copy/fail-34.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1705s ok 86 /bookmarks/copy/fail-06.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1705s ok 87 /bookmarks/copy/fail-21.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1705s ok 88 /bookmarks/copy/fail-04.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1705s ok 89 /bookmarks/copy/fail-12.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1705s ok 90 /bookmarks/copy/fail-31.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1705s ok 91 /bookmarks/copy/valid-03.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1705s ok 92 /bookmarks/copy/fail-33.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1705s ok 93 /bookmarks/copy/fail-38.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1705s ok 94 /bookmarks/copy/fail-15.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1705s ok 95 /bookmarks/copy/fail-11.xbel 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XJ7UK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1705s ok 96 /bookmarks/copy/fail-22.xbel 1705s # End of copy tests 1705s # End of bookmarks tests 1705s ok - glib/bookmarkfile.test 1705s # Running test: glib/credentials.test 1705s TAP version 13 1705s # random seed: R02S2ca9f1e2201568535bf5ce3cd4253e38 1705s 1..1 1705s # Start of credentials tests 1705s # GCredentials:linux-ucred:pid=14758,uid=1000,gid=1000 1705s # GCredentials:linux-ucred:pid=14758,uid=0,gid=1000 1705s ok 1 /credentials/basic 1705s # End of credentials tests 1705s ok - glib/credentials.test 1705s # Running test: glib/cxx-11.test 1705s TAP version 13 1705s # random seed: R02S00f1f913787c7c0ff3ae1ee53949be0f 1705s 1..2 1705s # Start of gtask tests 1705s # 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. 1705s ok 1 /gtask/name 1705s # Start of name tests 1705s # 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. 1705s ok 2 /gtask/name/macro-wrapper 1705s # End of name tests 1705s # End of gtask tests 1705s ok - glib/cxx-11.test 1705s # Running test: glib/autoptr-gio.test 1705s TAP version 13 1705s # random seed: R02S7e40a2650e32d264824e21f999f2bb84 1705s 1..1 1705s # Start of autoptr tests 1705s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1705s ok 1 /autoptr/autoptr 1705s # End of autoptr tests 1705s ok - glib/autoptr-gio.test 1705s # Running test: glib/resolver-parsing.test 1705s TAP version 13 1705s # random seed: R02S598fbc98cdb1c06f068d9aa087e6db28 1705s 1..20 1705s # Start of gresolver tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/invalid-header/.dirs/runtime 1705s ok 1 /gresolver/invalid-header 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/unknown-record-type/.dirs/runtime 1705s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1705s ok 2 /gresolver/unknown-record-type 1705s # Start of mx tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/valid/.dirs/runtime 1705s ok 3 /gresolver/mx/valid 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/.dirs/runtime 1705s ok 4 /gresolver/mx/invalid 1705s # Start of invalid tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short/.dirs/runtime 1705s ok 5 /gresolver/mx/invalid/too-short 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/mx/invalid/too-short2/.dirs/runtime 1705s ok 6 /gresolver/mx/invalid/too-short2 1705s # End of invalid tests 1705s # End of mx tests 1705s # Start of ns tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/valid/.dirs/runtime 1705s ok 7 /gresolver/ns/valid 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/ns/invalid/.dirs/runtime 1705s ok 8 /gresolver/ns/invalid 1705s # End of ns tests 1705s # Start of soa tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/valid/.dirs/runtime 1705s ok 9 /gresolver/soa/valid 1705s # Start of invalid tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/mname/.dirs/runtime 1705s ok 10 /gresolver/soa/invalid/mname 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/rname/.dirs/runtime 1705s ok 11 /gresolver/soa/invalid/rname 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/soa/invalid/too-short/.dirs/runtime 1705s ok 12 /gresolver/soa/invalid/too-short 1705s # End of invalid tests 1705s # End of soa tests 1705s # Start of srv tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/valid/.dirs/runtime 1705s ok 13 /gresolver/srv/valid 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/.dirs/runtime 1705s ok 14 /gresolver/srv/invalid 1705s # Start of invalid tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short/.dirs/runtime 1705s ok 15 /gresolver/srv/invalid/too-short 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/srv/invalid/too-short2/.dirs/runtime 1705s ok 16 /gresolver/srv/invalid/too-short2 1705s # End of invalid tests 1705s # End of srv tests 1705s # Start of txt tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/.dirs/runtime 1705s ok 17 /gresolver/txt/valid 1705s # Start of valid tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1705s ok 18 /gresolver/txt/valid/multiple-strings 1705s # End of valid tests 1705s # Start of invalid tests 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/empty/.dirs/runtime 1705s ok 19 /gresolver/txt/invalid/empty 1705s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/home 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/cache 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/system-config2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/config 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/system-data2 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/data 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/state 1705s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_VHQJK2/gresolver/txt/invalid/overflow/.dirs/runtime 1705s ok 20 /gresolver/txt/invalid/overflow 1705s # End of invalid tests 1705s # End of txt tests 1705s # End of gresolver tests 1705s ok - glib/resolver-parsing.test 1705s # Running test: glib/socket-service.test 1705s TAP version 13 1705s # random seed: R02S9429e63cbfbbac422def2f856e3e9d87 1705s 1..4 1705s # Start of socket-service tests 1705s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1705s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xafaddc785350 and GSocketClientAsyncConnectData 0xafaddc77d630 1705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1705s ok 1 /socket-service/start-stop 1705s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xafaddc786eb0 and GSocketClientAsyncConnectData 0xafaddc786c50 1705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1705s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1705s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xafaddc7873c0 for GSocketClientAsyncConnectData 0xafaddc77d630 1705s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1705s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1705s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1705s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1705s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1705s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xafaddc788240 for GSocketClientAsyncConnectData 0xafaddc786c50 1705s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1705s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1705s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1705s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1705s ok 2 /socket-service/read_write_async 1705s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xafaddc78af90 and GSocketClientAsyncConnectData 0xafaddc7889b0 1705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1705s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1705s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xafaddc789170 for GSocketClientAsyncConnectData 0xafaddc7889b0 1705s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1705s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1705s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1705s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1705s ok 3 /socket-service/read_writev_async 1705s # Start of threaded tests 1705s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1705s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xafaddc78c6f0 and GSocketClientAsyncConnectData 0xafaddc788d30 1705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1705s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1705s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xafaddc78c920 for GSocketClientAsyncConnectData 0xafaddc788d30 1705s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1705s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1705s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1705s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1705s ok 4 /socket-service/threaded/712570 1705s # End of threaded tests 1705s # End of socket-service tests 1705s ok - glib/socket-service.test 1705s # Running test: glib/properties-refcount1.test 1705s TAP version 13 1705s # random seed: R02S5cf24d8e10086b69a41a4e80fae0c78f 1705s 1..1 1705s # Start of gobject tests 1705s # Start of refcount tests 1705s # .f 1705s # .e 1705s # .d 1705s # .b 1705s # .c 1706s # .e 1706s # .f 1706s # .d 1706s # .c 1706s # .b 1706s # .e 1706s # .d 1706s # .f 1706s # .c 1706s # .b 1706s # .d 1706s # .f 1706s # .c 1706s # .e 1706s # .b 1706s # .d 1706s # .f 1706s # .e 1706s # .c 1706s # .b 1707s # .d 1707s # .f 1707s # .e 1707s # .c 1707s # .b 1707s # .d 1707s # .e 1707s # .c 1707s # .f 1707s # .b 1707s # .d 1707s # .e 1707s # .f 1707s # .c 1707s # .b 1707s # .d 1707s # .f 1707s # .e 1707s # .b 1707s # .c 1708s # .f 1708s # .e 1708s # .d 1708s # .b 1708s # .c 1708s # .d 1708s # .f 1708s # .e 1708s # .b 1708s # .c 1708s ok 1 /gobject/refcount/properties-1 1708s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1708s # End of refcount tests 1708s # End of gobject tests 1708s ok - glib/properties-refcount1.test 1708s # Running test: glib/gobject-private.test 1708s TAP version 13 1708s # random seed: R02S9330e5c3f35b4caf08a04f3451666590 1708s 1..3 1708s # Start of private tests 1708s ok 1 /private/instance 1708s ok 2 /private/derived-instance 1708s ok 3 /private/mixed-derived-instance 1708s # End of private tests 1708s ok - glib/gobject-private.test 1708s # Running test: glib/gdbus-connection.test 1708s TAP version 13 1708s # random seed: R02Sa1e89429ecf64a64e8020fce6df8e400 1708s 1..9 1708s # Start of gdbus tests 1708s # Start of connection tests 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/bus-failure/.dirs/runtime 1708s ok 1 /gdbus/connection/bus-failure 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/basic/.dirs/runtime 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s ok 2 /gdbus/connection/basic 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/life-cycle/.dirs/runtime 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s ok 3 /gdbus/connection/life-cycle 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/send/.dirs/runtime 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s ok 4 /gdbus/connection/send 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signals/.dirs/runtime 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s ok 5 /gdbus/connection/signals 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/signal-match-rules/.dirs/runtime 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s ok 6 /gdbus/connection/signal-match-rules 1708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/home 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/cache 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/system-config2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/config 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/system-data2 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/data 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/state 1708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/filter/.dirs/runtime 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1708s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s ok 7 /gdbus/connection/filter 1709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/home 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/cache 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/system-config2 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/config 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/system-data2 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/data 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/state 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/serials/.dirs/runtime 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1709s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s ok 8 /gdbus/connection/serials 1709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/home 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/cache 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/system-config2 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/config 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/system-data2 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/data 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/state 1709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7CBZK2/gdbus/connection/cancel/.dirs/runtime 1709s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1709s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1709s ok 9 /gdbus/connection/cancel 1709s # End of connection tests 1709s # End of gdbus tests 1709s ok - glib/gdbus-connection.test 1709s # Running test: glib/async-close-output-stream.test 1709s TAP version 13 1709s # random seed: R02S187046672bd5b090e4d20493ba80be37 1709s 1..3 1709s # Start of close-async tests 1709s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1709s ok 1 /close-async/without-flush 1709s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1709s ok 2 /close-async/with-flush 1709s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1709s ok 3 /close-async/with-async-flush 1709s # End of close-async tests 1709s ok - glib/async-close-output-stream.test 1709s # Running test: glib/codegen.py.test 1709s # Executing: glib/codegen.py.test 1710s TAP version 13 1710s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1710s # tmpdir: /tmp/tmpcngjzy88 1710s # codegen: /usr/bin/gdbus-codegen 1710s # /tmp/tmpcngjzy88/tmps10ih3tu.xml: 1710s # 1710s # 1710s # 1710s # 1710s # 1710s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcngjzy88/tmps10ih3tu.xml', '--output', '-', '--header'] 1710s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1710s # Output: /* 1710s # * This file is generated by gdbus-codegen, do not modify it. 1710s # * 1710s # * The license of this code is the same as for the D-Bus interface description 1710s # * it was derived from. Note that it links to GLib, so must comply with the 1710s # * LGPL linking clauses. 1710s # */ 1710s # 1710s # #ifndef __STDOUT__ 1710s # #define __STDOUT__ 1710s # 1710s # #include 1710s # 1710s # G_BEGIN_DECLS 1710s # 1710s # 1710s # /* ------------------------------------------------------------------------ */ 1710s # /* Declarations for org.project.UsefulInterface */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1710s # 1710s # struct _OrgProjectUsefulInterface; 1710s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1710s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1710s # 1710s # struct _OrgProjectUsefulInterfaceIface 1710s # { 1710s # GTypeInterface parent_iface; 1710s # 1710s # gboolean (*handle_useful_method) ( 1710s # OrgProjectUsefulInterface *object, 1710s # GDBusMethodInvocation *invocation); 1710s # 1710s # }; 1710s # 1710s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1710s # 1710s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1710s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1710s # 1710s # 1710s # /* D-Bus method call completion functions: */ 1710s # void org_project_useful_interface_complete_useful_method ( 1710s # OrgProjectUsefulInterface *object, 1710s # GDBusMethodInvocation *invocation); 1710s # 1710s # 1710s # 1710s # /* D-Bus method calls: */ 1710s # void org_project_useful_interface_call_useful_method ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # 1710s # gboolean org_project_useful_interface_call_useful_method_finish ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # 1710s # gboolean org_project_useful_interface_call_useful_method_sync ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # 1710s # 1710s # /* ---- */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1710s # 1710s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1710s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1710s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1710s # 1710s # struct _OrgProjectUsefulInterfaceProxy 1710s # { 1710s # /*< private >*/ 1710s # GDBusProxy parent_instance; 1710s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1710s # }; 1710s # 1710s # struct _OrgProjectUsefulInterfaceProxyClass 1710s # { 1710s # GDBusProxyClass parent_class; 1710s # }; 1710s # 1710s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1710s # 1710s # #if GLIB_CHECK_VERSION(2, 44, 0) 1710s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1710s # #endif 1710s # 1710s # void org_project_useful_interface_proxy_new ( 1710s # GDBusConnection *connection, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1710s # GDBusConnection *connection, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # void org_project_useful_interface_proxy_new_for_bus ( 1710s # GBusType bus_type, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1710s # GBusType bus_type, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # 1710s # /* ---- */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1710s # 1710s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1710s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1710s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1710s # 1710s # struct _OrgProjectUsefulInterfaceSkeleton 1710s # { 1710s # /*< private >*/ 1710s # GDBusInterfaceSkeleton parent_instance; 1710s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1710s # }; 1710s # 1710s # struct _OrgProjectUsefulInterfaceSkeletonClass 1710s # { 1710s # GDBusInterfaceSkeletonClass parent_class; 1710s # }; 1710s # 1710s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1710s # 1710s # #if GLIB_CHECK_VERSION(2, 44, 0) 1710s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1710s # #endif 1710s # 1710s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1710s # 1710s # 1710s # G_END_DECLS 1710s # 1710s # #endif /* __STDOUT__ */ 1710s # /tmp/tmpcngjzy88/tmpv60y6bqr.xml: 1710s # 1710s # 1710s # 1710s # 1710s # 1710s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcngjzy88/tmpv60y6bqr.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1710s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1710s # Output: /* 1710s # * This file is generated by gdbus-codegen, do not modify it. 1710s # * 1710s # * The license of this code is the same as for the D-Bus interface description 1710s # * it was derived from. Note that it links to GLib, so must comply with the 1710s # * LGPL linking clauses. 1710s # */ 1710s # 1710s # #ifndef __STDOUT__ 1710s # #define __STDOUT__ 1710s # 1710s # #include 1710s # 1710s # G_BEGIN_DECLS 1710s # 1710s # 1710s # /* ------------------------------------------------------------------------ */ 1710s # /* Declarations for org.project.UsefulInterface */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1710s # 1710s # struct _OrgProjectUsefulInterface; 1710s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1710s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1710s # 1710s # struct _OrgProjectUsefulInterfaceIface 1710s # { 1710s # GTypeInterface parent_iface; 1710s # 1710s # gboolean (*handle_useful_method) ( 1710s # OrgProjectUsefulInterface *object, 1710s # GDBusMethodInvocation *invocation); 1710s # 1710s # }; 1710s # 1710s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1710s # 1710s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1710s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1710s # 1710s # 1710s # /* D-Bus method call completion functions: */ 1710s # void org_project_useful_interface_complete_useful_method ( 1710s # OrgProjectUsefulInterface *object, 1710s # GDBusMethodInvocation *invocation); 1710s # 1710s # 1710s # 1710s # /* D-Bus method calls: */ 1710s # void org_project_useful_interface_call_useful_method ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # 1710s # gboolean org_project_useful_interface_call_useful_method_finish ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # 1710s # gboolean org_project_useful_interface_call_useful_method_sync ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # 1710s # 1710s # /* ---- */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1710s # 1710s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1710s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1710s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1710s # 1710s # struct _OrgProjectUsefulInterfaceProxy 1710s # { 1710s # /*< private >*/ 1710s # GDBusProxy parent_instance; 1710s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1710s # }; 1710s # 1710s # struct _OrgProjectUsefulInterfaceProxyClass 1710s # { 1710s # GDBusProxyClass parent_class; 1710s # }; 1710s # 1710s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1710s # 1710s # #if GLIB_CHECK_VERSION(2, 44, 0) 1710s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1710s # #endif 1710s # 1710s # void org_project_useful_interface_proxy_new ( 1710s # GDBusConnection *connection, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1710s # GDBusConnection *connection, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # void org_project_useful_interface_proxy_new_for_bus ( 1710s # GBusType bus_type, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1710s # GBusType bus_type, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # 1710s # /* ---- */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1710s # 1710s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1710s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1710s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1710s # 1710s # struct _OrgProjectUsefulInterfaceSkeleton 1710s # { 1710s # /*< private >*/ 1710s # GDBusInterfaceSkeleton parent_instance; 1710s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1710s # }; 1710s # 1710s # struct _OrgProjectUsefulInterfaceSkeletonClass 1710s # { 1710s # GDBusInterfaceSkeletonClass parent_class; 1710s # }; 1710s # 1710s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1710s # 1710s # #if GLIB_CHECK_VERSION(2, 44, 0) 1710s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1710s # #endif 1710s # 1710s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1710s # 1710s # 1710s # G_END_DECLS 1710s # 1710s # #endif /* __STDOUT__ */ 1710s # /tmp/tmpcngjzy88/tmpzu6p5pg2.xml: 1710s # 1710s # 1710s # 1710s # 1710s # 1710s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcngjzy88/tmpzu6p5pg2.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1710s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1710s # Output: /* 1710s # * This file is generated by gdbus-codegen, do not modify it. 1710s # * 1710s # * The license of this code is the same as for the D-Bus interface description 1710s # * it was derived from. Note that it links to GLib, so must comply with the 1710s # * LGPL linking clauses. 1710s # */ 1710s # 1710s # #ifndef __STDOUT__ 1710s # #define __STDOUT__ 1710s # 1710s # #include 1710s # 1710s # G_BEGIN_DECLS 1710s # 1710s # 1710s # /* ------------------------------------------------------------------------ */ 1710s # /* Declarations for org.project.UsefulInterface */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1710s # 1710s # struct _OrgProjectUsefulInterface; 1710s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1710s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1710s # 1710s # struct _OrgProjectUsefulInterfaceIface 1710s # { 1710s # GTypeInterface parent_iface; 1710s # 1710s # gboolean (*handle_useful_method) ( 1710s # OrgProjectUsefulInterface *object, 1710s # GDBusMethodInvocation *invocation); 1710s # 1710s # }; 1710s # 1710s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1710s # 1710s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1710s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1710s # 1710s # 1710s # /* D-Bus method call completion functions: */ 1710s # void org_project_useful_interface_complete_useful_method ( 1710s # OrgProjectUsefulInterface *object, 1710s # GDBusMethodInvocation *invocation); 1710s # 1710s # 1710s # 1710s # /* D-Bus method calls: */ 1710s # void org_project_useful_interface_call_useful_method ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GDBusCallFlags call_flags, 1710s # gint timeout_msec, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # 1710s # gboolean org_project_useful_interface_call_useful_method_finish ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # 1710s # gboolean org_project_useful_interface_call_useful_method_sync ( 1710s # OrgProjectUsefulInterface *proxy, 1710s # GDBusCallFlags call_flags, 1710s # gint timeout_msec, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # 1710s # 1710s # /* ---- */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1710s # 1710s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1710s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1710s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1710s # 1710s # struct _OrgProjectUsefulInterfaceProxy 1710s # { 1710s # /*< private >*/ 1710s # GDBusProxy parent_instance; 1710s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1710s # }; 1710s # 1710s # struct _OrgProjectUsefulInterfaceProxyClass 1710s # { 1710s # GDBusProxyClass parent_class; 1710s # }; 1710s # 1710s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1710s # 1710s # #if GLIB_CHECK_VERSION(2, 44, 0) 1710s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1710s # #endif 1710s # 1710s # void org_project_useful_interface_proxy_new ( 1710s # GDBusConnection *connection, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1710s # GDBusConnection *connection, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # void org_project_useful_interface_proxy_new_for_bus ( 1710s # GBusType bus_type, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GAsyncReadyCallback callback, 1710s # gpointer user_data); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1710s # GAsyncResult *res, 1710s # GError **error); 1710s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1710s # GBusType bus_type, 1710s # GDBusProxyFlags flags, 1710s # const gchar *name, 1710s # const gchar *object_path, 1710s # GCancellable *cancellable, 1710s # GError **error); 1710s # 1710s # 1710s # /* ---- */ 1710s # 1710s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1710s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1710s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1710s # 1710s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1710s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1710s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1710s # 1710s # struct _OrgProjectUsefulInterfaceSkeleton 1710s # { 1710s # /*< private >*/ 1710s # GDBusInterfaceSkeleton parent_instance; 1710s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1710s # }; 1710s # 1710s # struct _OrgProjectUsefulInterfaceSkeletonClass 1710s # { 1710s # GDBusInterfaceSkeletonClass parent_class; 1710s # }; 1710s # 1710s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1710s # 1710s # #if GLIB_CHECK_VERSION(2, 44, 0) 1710s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1710s # #endif 1710s # 1710s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1710s # 1710s # 1710s # G_END_DECLS 1710s # 1710s # #endif /* __STDOUT__ */ 1714s ok 2 __main__.TestCodegen.test_dbus_types 1714s # tmpdir: /tmp/tmpsv657vwg 1714s # codegen: /usr/bin/gdbus-codegen 1714s # /tmp/tmpsv657vwg/tmp46a_4gtt.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmp46a_4gtt.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpjx1rxq6o.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpjx1rxq6o.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmp8toee5ui.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmp8toee5ui.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpyupsmwj0.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpyupsmwj0.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpa6mbw9i0.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpa6mbw9i0.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpfuj3v506.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpfuj3v506.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpihi1572h.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpihi1572h.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpqrbnlkp7.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpqrbnlkp7.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpo41q6h9c.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpo41q6h9c.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpr6uvvbcv.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpr6uvvbcv.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmp9epy89ce.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmp9epy89ce.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpzsn2kfnh.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpzsn2kfnh.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpp9rfjmna.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpp9rfjmna.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # /tmp/tmpsv657vwg/tmpj1ie_dvh.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpj1ie_dvh.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifdef HAVE_CONFIG_H 1714s # # include "config.h" 1714s # #endif 1714s # 1714s # #include 1714s # #ifdef G_OS_UNIX 1714s # # include 1714s # #endif 1714s # 1714s # #ifdef G_ENABLE_DEBUG 1714s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1714s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1714s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1714s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1714s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1714s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1714s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1714s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1714s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1714s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1714s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1714s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1714s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1714s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1714s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1714s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1714s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1714s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1714s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1714s # #else /* !G_ENABLE_DEBUG */ 1714s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1714s # * Do not access GValues directly in your code. Instead, use the 1714s # * g_value_get_*() functions 1714s # */ 1714s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1714s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1714s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1714s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1714s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1714s # #endif /* !G_ENABLE_DEBUG */ 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusArgInfo parent_struct; 1714s # gboolean use_gvariant; 1714s # } _ExtendedGDBusArgInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusMethodInfo parent_struct; 1714s # const gchar *signal_name; 1714s # gboolean pass_fdlist; 1714s # } _ExtendedGDBusMethodInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusSignalInfo parent_struct; 1714s # const gchar *signal_name; 1714s # } _ExtendedGDBusSignalInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusPropertyInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # guint use_gvariant : 1; 1714s # guint emits_changed_signal : 1; 1714s # } _ExtendedGDBusPropertyInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusInterfaceInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # } _ExtendedGDBusInterfaceInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # guint prop_id; 1714s # GValue orig_value; /* the value before the change */ 1714s # } ChangedProperty; 1714s # 1714s # static void 1714s # _changed_property_free (ChangedProperty *data) 1714s # { 1714s # g_value_unset (&data->orig_value); 1714s # g_free (data); 1714s # } 1714s # 1714s # static gboolean 1714s # _g_strv_equal0 (gchar **a, gchar **b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # guint n; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # if (g_strv_length (a) != g_strv_length (b)) 1714s # goto out; 1714s # for (n = 0; a[n] != NULL; n++) 1714s # if (g_strcmp0 (a[n], b[n]) != 0) 1714s # goto out; 1714s # ret = TRUE; 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _g_variant_equal0 (GVariant *a, GVariant *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # ret = g_variant_equal (a, b); 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # G_GNUC_UNUSED static gboolean 1714s # _g_value_equal (const GValue *a, const GValue *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1714s # switch (G_VALUE_TYPE (a)) 1714s # { 1714s # case G_TYPE_BOOLEAN: 1714s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1714s # break; 1714s # case G_TYPE_UCHAR: 1714s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1714s # break; 1714s # case G_TYPE_INT: 1714s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1714s # break; 1714s # case G_TYPE_UINT: 1714s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1714s # break; 1714s # case G_TYPE_INT64: 1714s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1714s # break; 1714s # case G_TYPE_UINT64: 1714s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1714s # break; 1714s # case G_TYPE_DOUBLE: 1714s # { 1714s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1714s # gdouble da = g_value_get_double (a); 1714s # gdouble db = g_value_get_double (b); 1714s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1714s # } 1714s # break; 1714s # case G_TYPE_STRING: 1714s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1714s # break; 1714s # case G_TYPE_VARIANT: 1714s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1714s # break; 1714s # default: 1714s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1714s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1714s # else 1714s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1714s # break; 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # /* ------------------------------------------------------------------------ 1714s # * Code for interface GoodTypes 1714s # * ------------------------------------------------------------------------ 1714s # */ 1714s # 1714s # /** 1714s # * SECTION:GoodTypes 1714s # * @title: GoodTypes 1714s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1714s # * 1714s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1714s # */ 1714s # 1714s # /* ---- Introspection data for GoodTypes ---- */ 1714s # 1714s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1714s # { 1714s # { 1714s # -1, 1714s # (gchar *) "GoodPropertyType", 1714s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1714s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1714s # NULL 1714s # }, 1714s # "good-property-type", 1714s # FALSE, 1714s # TRUE 1714s # }; 1714s # 1714s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1714s # { 1714s # &_good_types_property_info_good_property_type.parent_struct, 1714s # NULL 1714s # }; 1714s # 1714s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1714s # { 1714s # { 1714s # -1, 1714s # (gchar *) "GoodTypes", 1714s # NULL, 1714s # NULL, 1714s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1714s # NULL 1714s # }, 1714s # "good-types", 1714s # }; 1714s # 1714s # 1714s # /** 1714s # * good_types_interface_info: 1714s # * 1714s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1714s # * 1714s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1714s # */ 1714s # GDBusInterfaceInfo * 1714s # good_types_interface_info (void) 1714s # { 1714s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1714s # } 1714s # 1714s # /** 1714s # * good_types_override_properties: 1714s # * @klass: The class structure for a #GObject derived class. 1714s # * @property_id_begin: The property id to assign to the first overridden property. 1714s # * 1714s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1714s # * The properties are overridden in the order they are defined. 1714s # * 1714s # * Returns: The last property id. 1714s # */ 1714s # guint 1714s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1714s # { 1714s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1714s # return property_id_begin - 1; 1714s # } 1714s # 1714s # 1714s # 1714s # /** 1714s # * GoodTypes: 1714s # * 1714s # * Abstract interface type for the D-Bus interface GoodTypes. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesIface: 1714s # * @parent_iface: The parent interface. 1714s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1714s # * 1714s # * Virtual table for the D-Bus interface GoodTypes. 1714s # */ 1714s # 1714s # typedef GoodTypesIface GoodTypesInterface; 1714s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1714s # 1714s # static void 1714s # good_types_default_init (GoodTypesIface *iface) 1714s # { 1714s # /* GObject properties for D-Bus properties: */ 1714s # /** 1714s # * GoodTypes:good-property-type: 1714s # * 1714s # * Represents the D-Bus property "GoodPropertyType". 1714s # * 1714s # * 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. 1714s # */ 1714s # g_object_interface_install_property (iface, 1714s # 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)); 1714s # } 1714s # 1714s # /** 1714s # * good_types_get_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * 1714s # * Gets the value of the "GoodPropertyType" D-Bus property. 1714s # * 1714s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1714s # * 1714s # * 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. 1714s # * 1714s # * 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. 1714s # */ 1714s # GVariant * 1714s # good_types_get_good_property_type (GoodTypes *object) 1714s # { 1714s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1714s # 1714s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1714s # } 1714s # 1714s # /** 1714s # * good_types_dup_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * 1714s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1714s # * 1714s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1714s # * 1714s # * 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(). 1714s # */ 1714s # GVariant * 1714s # good_types_dup_good_property_type (GoodTypes *object) 1714s # { 1714s # GVariant *value; 1714s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1714s # return value; 1714s # } 1714s # 1714s # /** 1714s # * good_types_set_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * @value: The value to set. 1714s # * 1714s # * Sets the "GoodPropertyType" D-Bus property to @value. 1714s # * 1714s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1714s # */ 1714s # void 1714s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1714s # { 1714s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1714s # } 1714s # 1714s # /* ------------------------------------------------------------------------ */ 1714s # 1714s # /** 1714s # * GoodTypesProxy: 1714s # * 1714s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesProxyClass: 1714s # * @parent_class: The parent class. 1714s # * 1714s # * Class structure for GoodTypesProxy. 1714s # */ 1714s # 1714s # struct _GoodTypesProxyPrivate 1714s # { 1714s # GData *qdata; 1714s # }; 1714s # 1714s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1714s # G_ADD_PRIVATE (GoodTypesProxy) 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1714s # 1714s # #else 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1714s # 1714s # #endif 1714s # static void 1714s # good_types_proxy_finalize (GObject *object) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1714s # g_datalist_clear (&proxy->priv->qdata); 1714s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_get_property (GObject *object, 1714s # guint prop_id, 1714s # GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *variant; 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1714s # if (info->use_gvariant) 1714s # { 1714s # g_value_set_variant (value, variant); 1714s # } 1714s # else 1714s # { 1714s # if (variant != NULL) 1714s # g_dbus_gvariant_to_gvalue (variant, value); 1714s # } 1714s # if (variant != NULL) 1714s # g_variant_unref (variant); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1714s # GAsyncResult *res, 1714s # gpointer user_data) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info = user_data; 1714s # GError *error; 1714s # GVariant *_ret; 1714s # error = NULL; 1714s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1714s # if (!_ret) 1714s # { 1714s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1714s # info->parent_struct.name, 1714s # error->message, g_quark_to_string (error->domain), error->code); 1714s # g_error_free (error); 1714s # } 1714s # else 1714s # { 1714s # g_variant_unref (_ret); 1714s # } 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_set_property (GObject *object, 1714s # guint prop_id, 1714s # const GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *variant; 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1714s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1714s # "org.freedesktop.DBus.Properties.Set", 1714s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1714s # G_DBUS_CALL_FLAGS_NONE, 1714s # -1, 1714s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1714s # g_variant_unref (variant); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_g_signal (GDBusProxy *proxy, 1714s # const gchar *sender_name G_GNUC_UNUSED, 1714s # const gchar *signal_name, 1714s # GVariant *parameters) 1714s # { 1714s # _ExtendedGDBusSignalInfo *info; 1714s # GVariantIter iter; 1714s # GVariant *child; 1714s # GValue *paramv; 1714s # gsize num_params; 1714s # gsize n; 1714s # guint signal_id; 1714s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1714s # if (info == NULL) 1714s # return; 1714s # num_params = g_variant_n_children (parameters); 1714s # paramv = g_new0 (GValue, num_params + 1); 1714s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1714s # g_value_set_object (¶mv[0], proxy); 1714s # g_variant_iter_init (&iter, parameters); 1714s # n = 1; 1714s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1714s # { 1714s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1714s # if (arg_info->use_gvariant) 1714s # { 1714s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1714s # g_value_set_variant (¶mv[n], child); 1714s # n++; 1714s # } 1714s # else 1714s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1714s # g_variant_unref (child); 1714s # } 1714s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1714s # g_signal_emitv (paramv, signal_id, 0, NULL); 1714s # for (n = 0; n < num_params + 1; n++) 1714s # g_value_unset (¶mv[n]); 1714s # g_free (paramv); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1714s # GVariant *changed_properties, 1714s # const gchar *const *invalidated_properties) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1714s # guint n; 1714s # const gchar *key; 1714s # GVariantIter *iter; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # g_variant_get (changed_properties, "a{sv}", &iter); 1714s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1714s # { 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1714s # g_datalist_remove_data (&proxy->priv->qdata, key); 1714s # if (info != NULL) 1714s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1714s # } 1714s # g_variant_iter_free (iter); 1714s # for (n = 0; invalidated_properties[n] != NULL; n++) 1714s # { 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1714s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1714s # if (info != NULL) 1714s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1714s # } 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_proxy_get_good_property_type (GoodTypes *object) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1714s # GVariant *variant; 1714s # GVariant *value = NULL; 1714s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1714s # value = variant; 1714s # if (variant != NULL) 1714s # g_variant_unref (variant); 1714s # return value; 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_init (GoodTypesProxy *proxy) 1714s # { 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1714s # #else 1714s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1714s # #endif 1714s # 1714s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1714s # { 1714s # GObjectClass *gobject_class; 1714s # GDBusProxyClass *proxy_class; 1714s # 1714s # gobject_class = G_OBJECT_CLASS (klass); 1714s # gobject_class->finalize = good_types_proxy_finalize; 1714s # gobject_class->get_property = good_types_proxy_get_property; 1714s # gobject_class->set_property = good_types_proxy_set_property; 1714s # 1714s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1714s # proxy_class->g_signal = good_types_proxy_g_signal; 1714s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1714s # 1714s # good_types_override_properties (gobject_class, 1); 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1714s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1714s # #endif 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_iface_init (GoodTypesIface *iface) 1714s # { 1714s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new: 1714s # * @connection: A #GDBusConnection. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1714s # * @user_data: User data to pass to @callback. 1714s # * 1714s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1714s # * 1714s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1714s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1714s # * 1714s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1714s # */ 1714s # void 1714s # good_types_proxy_new ( 1714s # GDBusConnection *connection, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GAsyncReadyCallback callback, 1714s # gpointer user_data) 1714s # { 1714s # 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); 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_finish: 1714s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Finishes an operation started with good_types_proxy_new(). 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_finish ( 1714s # GAsyncResult *res, 1714s # GError **error) 1714s # { 1714s # GObject *ret; 1714s # GObject *source_object; 1714s # source_object = g_async_result_get_source_object (res); 1714s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1714s # g_object_unref (source_object); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_sync: 1714s # * @connection: A #GDBusConnection. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1714s # * 1714s # * The calling thread is blocked until a reply is received. 1714s # * 1714s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_sync ( 1714s # GDBusConnection *connection, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GError **error) 1714s # { 1714s # GInitable *ret; 1714s # 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); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus: 1714s # * @bus_type: A #GBusType. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: A bus name (well-known or unique). 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1714s # * @user_data: User data to pass to @callback. 1714s # * 1714s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1714s # * 1714s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1714s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1714s # * 1714s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1714s # */ 1714s # void 1714s # good_types_proxy_new_for_bus ( 1714s # GBusType bus_type, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GAsyncReadyCallback callback, 1714s # gpointer user_data) 1714s # { 1714s # 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); 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus_finish: 1714s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_for_bus_finish ( 1714s # GAsyncResult *res, 1714s # GError **error) 1714s # { 1714s # GObject *ret; 1714s # GObject *source_object; 1714s # source_object = g_async_result_get_source_object (res); 1714s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1714s # g_object_unref (source_object); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus_sync: 1714s # * @bus_type: A #GBusType. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: A bus name (well-known or unique). 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1714s # * 1714s # * The calling thread is blocked until a reply is received. 1714s # * 1714s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_for_bus_sync ( 1714s # GBusType bus_type, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GError **error) 1714s # { 1714s # GInitable *ret; 1714s # 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); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # 1714s # /* ------------------------------------------------------------------------ */ 1714s # 1714s # /** 1714s # * GoodTypesSkeleton: 1714s # * 1714s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesSkeletonClass: 1714s # * @parent_class: The parent class. 1714s # * 1714s # * Class structure for GoodTypesSkeleton. 1714s # */ 1714s # 1714s # struct _GoodTypesSkeletonPrivate 1714s # { 1714s # GValue *properties; 1714s # GList *changed_properties; 1714s # GSource *changed_properties_idle_source; 1714s # GMainContext *context; 1714s # GMutex lock; 1714s # }; 1714s # 1714s # static void 1714s # _good_types_skeleton_handle_method_call ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name, 1714s # const gchar *method_name, 1714s # GVariant *parameters, 1714s # GDBusMethodInvocation *invocation, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # _ExtendedGDBusMethodInfo *info; 1714s # GVariantIter iter; 1714s # GVariant *child; 1714s # GValue *paramv; 1714s # gsize num_params; 1714s # guint num_extra; 1714s # gsize n; 1714s # guint signal_id; 1714s # GValue return_value = G_VALUE_INIT; 1714s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1714s # g_assert (info != NULL); 1714s # num_params = g_variant_n_children (parameters); 1714s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1714s # n = 0; 1714s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1714s # g_value_set_object (¶mv[n++], skeleton); 1714s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1714s # g_value_set_object (¶mv[n++], invocation); 1714s # if (info->pass_fdlist) 1714s # { 1714s # #ifdef G_OS_UNIX 1714s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1714s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1714s # #else 1714s # g_assert_not_reached (); 1714s # #endif 1714s # } 1714s # g_variant_iter_init (&iter, parameters); 1714s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1714s # { 1714s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1714s # if (arg_info->use_gvariant) 1714s # { 1714s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1714s # g_value_set_variant (¶mv[n], child); 1714s # n++; 1714s # } 1714s # else 1714s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1714s # g_variant_unref (child); 1714s # } 1714s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1714s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1714s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1714s # if (!g_value_get_boolean (&return_value)) 1714s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1714s # g_value_unset (&return_value); 1714s # for (n = 0; n < num_params + num_extra; n++) 1714s # g_value_unset (¶mv[n]); 1714s # g_free (paramv); 1714s # } 1714s # 1714s # static GVariant * 1714s # _good_types_skeleton_handle_get_property ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name G_GNUC_UNUSED, 1714s # const gchar *property_name, 1714s # GError **error, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GValue value = G_VALUE_INIT; 1714s # GParamSpec *pspec; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *ret; 1714s # ret = NULL; 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1714s # g_assert (info != NULL); 1714s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1714s # if (pspec == NULL) 1714s # { 1714s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1714s # } 1714s # else 1714s # { 1714s # g_value_init (&value, pspec->value_type); 1714s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1714s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1714s # g_value_unset (&value); 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _good_types_skeleton_handle_set_property ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name G_GNUC_UNUSED, 1714s # const gchar *property_name, 1714s # GVariant *variant, 1714s # GError **error, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GValue value = G_VALUE_INIT; 1714s # GParamSpec *pspec; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # gboolean ret; 1714s # ret = FALSE; 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1714s # g_assert (info != NULL); 1714s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1714s # if (pspec == NULL) 1714s # { 1714s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1714s # } 1714s # else 1714s # { 1714s # if (info->use_gvariant) 1714s # g_value_set_variant (&value, variant); 1714s # else 1714s # g_dbus_gvariant_to_gvalue (variant, &value); 1714s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1714s # g_value_unset (&value); 1714s # ret = TRUE; 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1714s # { 1714s # _good_types_skeleton_handle_method_call, 1714s # _good_types_skeleton_handle_get_property, 1714s # _good_types_skeleton_handle_set_property, 1714s # {NULL} 1714s # }; 1714s # 1714s # static GDBusInterfaceInfo * 1714s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1714s # { 1714s # return good_types_interface_info (); 1714s # } 1714s # 1714s # static GDBusInterfaceVTable * 1714s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1714s # { 1714s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1714s # 1714s # GVariantBuilder builder; 1714s # guint n; 1714s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1714s # if (_good_types_interface_info.parent_struct.properties == NULL) 1714s # goto out; 1714s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1714s # { 1714s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1714s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1714s # { 1714s # GVariant *value; 1714s # 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); 1714s # if (value != NULL) 1714s # { 1714s # g_variant_take_ref (value); 1714s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1714s # g_variant_unref (value); 1714s # } 1714s # } 1714s # } 1714s # out: 1714s # return g_variant_builder_end (&builder); 1714s # } 1714s # 1714s # static gboolean _good_types_emit_changed (gpointer user_data); 1714s # 1714s # static void 1714s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1714s # gboolean emit_changed = FALSE; 1714s # 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # if (skeleton->priv->changed_properties_idle_source != NULL) 1714s # { 1714s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1714s # skeleton->priv->changed_properties_idle_source = NULL; 1714s # emit_changed = TRUE; 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # 1714s # if (emit_changed) 1714s # _good_types_emit_changed (skeleton); 1714s # } 1714s # 1714s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1714s # G_ADD_PRIVATE (GoodTypesSkeleton) 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1714s # 1714s # #else 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1714s # 1714s # #endif 1714s # static void 1714s # good_types_skeleton_finalize (GObject *object) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # guint n; 1714s # for (n = 0; n < 1; n++) 1714s # g_value_unset (&skeleton->priv->properties[n]); 1714s # g_free (skeleton->priv->properties); 1714s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1714s # if (skeleton->priv->changed_properties_idle_source != NULL) 1714s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1714s # g_main_context_unref (skeleton->priv->context); 1714s # g_mutex_clear (&skeleton->priv->lock); 1714s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_get_property (GObject *object, 1714s # guint prop_id, 1714s # GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # } 1714s # 1714s # static gboolean 1714s # _good_types_emit_changed (gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GList *l; 1714s # GVariantBuilder builder; 1714s # GVariantBuilder invalidated_builder; 1714s # guint num_changes; 1714s # 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1714s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1714s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1714s # { 1714s # ChangedProperty *cp = l->data; 1714s # GVariant *variant; 1714s # const GValue *cur_value; 1714s # 1714s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1714s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1714s # { 1714s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1714s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1714s # g_variant_unref (variant); 1714s # num_changes++; 1714s # } 1714s # } 1714s # if (num_changes > 0) 1714s # { 1714s # GList *connections, *ll; 1714s # GVariant *signal_variant; 1714s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1714s # &builder, &invalidated_builder)); 1714s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1714s # for (ll = connections; ll != NULL; ll = ll->next) 1714s # { 1714s # GDBusConnection *connection = ll->data; 1714s # 1714s # g_dbus_connection_emit_signal (connection, 1714s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1714s # "org.freedesktop.DBus.Properties", 1714s # "PropertiesChanged", 1714s # signal_variant, 1714s # NULL); 1714s # } 1714s # g_variant_unref (signal_variant); 1714s # g_list_free_full (connections, g_object_unref); 1714s # } 1714s # else 1714s # { 1714s # g_variant_builder_clear (&builder); 1714s # g_variant_builder_clear (&invalidated_builder); 1714s # } 1714s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1714s # skeleton->priv->changed_properties = NULL; 1714s # skeleton->priv->changed_properties_idle_source = NULL; 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # return FALSE; 1714s # } 1714s # 1714s # static void 1714s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1714s # { 1714s # ChangedProperty *cp; 1714s # GList *l; 1714s # cp = NULL; 1714s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1714s # { 1714s # ChangedProperty *i_cp = l->data; 1714s # if (i_cp->info == info) 1714s # { 1714s # cp = i_cp; 1714s # break; 1714s # } 1714s # } 1714s # if (cp == NULL) 1714s # { 1714s # cp = g_new0 (ChangedProperty, 1); 1714s # cp->prop_id = prop_id; 1714s # cp->info = info; 1714s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1714s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1714s # g_value_copy (orig_value, &cp->orig_value); 1714s # } 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_notify (GObject *object, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # if (skeleton->priv->changed_properties != NULL && 1714s # skeleton->priv->changed_properties_idle_source == NULL) 1714s # { 1714s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1714s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1714s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1714s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1714s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1714s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_set_property (GObject *object, 1714s # guint prop_id, 1714s # const GValue *value, 1714s # GParamSpec *pspec) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_object_freeze_notify (object); 1714s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1714s # { 1714s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1714s # info->emits_changed_signal) 1714s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1714s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1714s # g_object_notify_by_pspec (object, pspec); 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # g_object_thaw_notify (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1714s # { 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1714s # #else 1714s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1714s # #endif 1714s # 1714s # g_mutex_init (&skeleton->priv->lock); 1714s # skeleton->priv->context = g_main_context_ref_thread_default (); 1714s # skeleton->priv->properties = g_new0 (GValue, 1); 1714s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # GVariant *value; 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # return value; 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1714s # { 1714s # GObjectClass *gobject_class; 1714s # GDBusInterfaceSkeletonClass *skeleton_class; 1714s # 1714s # gobject_class = G_OBJECT_CLASS (klass); 1714s # gobject_class->finalize = good_types_skeleton_finalize; 1714s # gobject_class->get_property = good_types_skeleton_get_property; 1714s # gobject_class->set_property = good_types_skeleton_set_property; 1714s # gobject_class->notify = good_types_skeleton_notify; 1714s # 1714s # 1714s # good_types_override_properties (gobject_class, 1); 1714s # 1714s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1714s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1714s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1714s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1714s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1714s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1714s # #endif 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1714s # { 1714s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1714s # } 1714s # 1714s # /** 1714s # * good_types_skeleton_new: 1714s # * 1714s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1714s # */ 1714s # GoodTypes * 1714s # good_types_skeleton_new (void) 1714s # { 1714s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1714s # } 1714s # /tmp/tmpsv657vwg/tmpb7vjqo60.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpb7vjqo60.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifdef HAVE_CONFIG_H 1714s # # include "config.h" 1714s # #endif 1714s # 1714s # #include 1714s # #ifdef G_OS_UNIX 1714s # # include 1714s # #endif 1714s # 1714s # #ifdef G_ENABLE_DEBUG 1714s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1714s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1714s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1714s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1714s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1714s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1714s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1714s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1714s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1714s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1714s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1714s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1714s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1714s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1714s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1714s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1714s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1714s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1714s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1714s # #else /* !G_ENABLE_DEBUG */ 1714s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1714s # * Do not access GValues directly in your code. Instead, use the 1714s # * g_value_get_*() functions 1714s # */ 1714s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1714s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1714s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1714s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1714s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1714s # #endif /* !G_ENABLE_DEBUG */ 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusArgInfo parent_struct; 1714s # gboolean use_gvariant; 1714s # } _ExtendedGDBusArgInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusMethodInfo parent_struct; 1714s # const gchar *signal_name; 1714s # gboolean pass_fdlist; 1714s # } _ExtendedGDBusMethodInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusSignalInfo parent_struct; 1714s # const gchar *signal_name; 1714s # } _ExtendedGDBusSignalInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusPropertyInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # guint use_gvariant : 1; 1714s # guint emits_changed_signal : 1; 1714s # } _ExtendedGDBusPropertyInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusInterfaceInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # } _ExtendedGDBusInterfaceInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # guint prop_id; 1714s # GValue orig_value; /* the value before the change */ 1714s # } ChangedProperty; 1714s # 1714s # static void 1714s # _changed_property_free (ChangedProperty *data) 1714s # { 1714s # g_value_unset (&data->orig_value); 1714s # g_free (data); 1714s # } 1714s # 1714s # static gboolean 1714s # _g_strv_equal0 (gchar **a, gchar **b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # guint n; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # if (g_strv_length (a) != g_strv_length (b)) 1714s # goto out; 1714s # for (n = 0; a[n] != NULL; n++) 1714s # if (g_strcmp0 (a[n], b[n]) != 0) 1714s # goto out; 1714s # ret = TRUE; 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _g_variant_equal0 (GVariant *a, GVariant *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # ret = g_variant_equal (a, b); 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # G_GNUC_UNUSED static gboolean 1714s # _g_value_equal (const GValue *a, const GValue *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1714s # switch (G_VALUE_TYPE (a)) 1714s # { 1714s # case G_TYPE_BOOLEAN: 1714s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1714s # break; 1714s # case G_TYPE_UCHAR: 1714s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1714s # break; 1714s # case G_TYPE_INT: 1714s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1714s # break; 1714s # case G_TYPE_UINT: 1714s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1714s # break; 1714s # case G_TYPE_INT64: 1714s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1714s # break; 1714s # case G_TYPE_UINT64: 1714s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1714s # break; 1714s # case G_TYPE_DOUBLE: 1714s # { 1714s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1714s # gdouble da = g_value_get_double (a); 1714s # gdouble db = g_value_get_double (b); 1714s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1714s # } 1714s # break; 1714s # case G_TYPE_STRING: 1714s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1714s # break; 1714s # case G_TYPE_VARIANT: 1714s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1714s # break; 1714s # default: 1714s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1714s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1714s # else 1714s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1714s # break; 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # /* ------------------------------------------------------------------------ 1714s # * Code for interface GoodTypes 1714s # * ------------------------------------------------------------------------ 1714s # */ 1714s # 1714s # /** 1714s # * SECTION:GoodTypes 1714s # * @title: GoodTypes 1714s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1714s # * 1714s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1714s # */ 1714s # 1714s # /* ---- Introspection data for GoodTypes ---- */ 1714s # 1714s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1714s # { 1714s # { 1714s # -1, 1714s # (gchar *) "GoodPropertyType", 1714s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1714s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1714s # NULL 1714s # }, 1714s # "good-property-type", 1714s # FALSE, 1714s # TRUE 1714s # }; 1714s # 1714s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1714s # { 1714s # &_good_types_property_info_good_property_type.parent_struct, 1714s # NULL 1714s # }; 1714s # 1714s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1714s # { 1714s # { 1714s # -1, 1714s # (gchar *) "GoodTypes", 1714s # NULL, 1714s # NULL, 1714s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1714s # NULL 1714s # }, 1714s # "good-types", 1714s # }; 1714s # 1714s # 1714s # /** 1714s # * good_types_interface_info: 1714s # * 1714s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1714s # * 1714s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1714s # */ 1714s # GDBusInterfaceInfo * 1714s # good_types_interface_info (void) 1714s # { 1714s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1714s # } 1714s # 1714s # /** 1714s # * good_types_override_properties: 1714s # * @klass: The class structure for a #GObject derived class. 1714s # * @property_id_begin: The property id to assign to the first overridden property. 1714s # * 1714s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1714s # * The properties are overridden in the order they are defined. 1714s # * 1714s # * Returns: The last property id. 1714s # */ 1714s # guint 1714s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1714s # { 1714s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1714s # return property_id_begin - 1; 1714s # } 1714s # 1714s # 1714s # 1714s # /** 1714s # * GoodTypes: 1714s # * 1714s # * Abstract interface type for the D-Bus interface GoodTypes. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesIface: 1714s # * @parent_iface: The parent interface. 1714s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1714s # * 1714s # * Virtual table for the D-Bus interface GoodTypes. 1714s # */ 1714s # 1714s # typedef GoodTypesIface GoodTypesInterface; 1714s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1714s # 1714s # static void 1714s # good_types_default_init (GoodTypesIface *iface) 1714s # { 1714s # /* GObject properties for D-Bus properties: */ 1714s # /** 1714s # * GoodTypes:good-property-type: 1714s # * 1714s # * Represents the D-Bus property "GoodPropertyType". 1714s # * 1714s # * 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. 1714s # */ 1714s # g_object_interface_install_property (iface, 1714s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1714s # } 1714s # 1714s # /** 1714s # * good_types_get_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * 1714s # * Gets the value of the "GoodPropertyType" D-Bus property. 1714s # * 1714s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1714s # * 1714s # * 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. 1714s # * 1714s # * 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. 1714s # */ 1714s # GVariant * 1714s # good_types_get_good_property_type (GoodTypes *object) 1714s # { 1714s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1714s # 1714s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1714s # } 1714s # 1714s # /** 1714s # * good_types_dup_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * 1714s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1714s # * 1714s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1714s # * 1714s # * 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(). 1714s # */ 1714s # GVariant * 1714s # good_types_dup_good_property_type (GoodTypes *object) 1714s # { 1714s # GVariant *value; 1714s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1714s # return value; 1714s # } 1714s # 1714s # /** 1714s # * good_types_set_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * @value: The value to set. 1714s # * 1714s # * Sets the "GoodPropertyType" D-Bus property to @value. 1714s # * 1714s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1714s # */ 1714s # void 1714s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1714s # { 1714s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1714s # } 1714s # 1714s # /* ------------------------------------------------------------------------ */ 1714s # 1714s # /** 1714s # * GoodTypesProxy: 1714s # * 1714s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesProxyClass: 1714s # * @parent_class: The parent class. 1714s # * 1714s # * Class structure for GoodTypesProxy. 1714s # */ 1714s # 1714s # struct _GoodTypesProxyPrivate 1714s # { 1714s # GData *qdata; 1714s # }; 1714s # 1714s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1714s # G_ADD_PRIVATE (GoodTypesProxy) 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1714s # 1714s # #else 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1714s # 1714s # #endif 1714s # static void 1714s # good_types_proxy_finalize (GObject *object) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1714s # g_datalist_clear (&proxy->priv->qdata); 1714s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_get_property (GObject *object, 1714s # guint prop_id, 1714s # GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *variant; 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1714s # if (info->use_gvariant) 1714s # { 1714s # g_value_set_variant (value, variant); 1714s # } 1714s # else 1714s # { 1714s # if (variant != NULL) 1714s # g_dbus_gvariant_to_gvalue (variant, value); 1714s # } 1714s # if (variant != NULL) 1714s # g_variant_unref (variant); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1714s # GAsyncResult *res, 1714s # gpointer user_data) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info = user_data; 1714s # GError *error; 1714s # GVariant *_ret; 1714s # error = NULL; 1714s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1714s # if (!_ret) 1714s # { 1714s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1714s # info->parent_struct.name, 1714s # error->message, g_quark_to_string (error->domain), error->code); 1714s # g_error_free (error); 1714s # } 1714s # else 1714s # { 1714s # g_variant_unref (_ret); 1714s # } 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_set_property (GObject *object, 1714s # guint prop_id, 1714s # const GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *variant; 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1714s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1714s # "org.freedesktop.DBus.Properties.Set", 1714s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1714s # G_DBUS_CALL_FLAGS_NONE, 1714s # -1, 1714s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1714s # g_variant_unref (variant); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_g_signal (GDBusProxy *proxy, 1714s # const gchar *sender_name G_GNUC_UNUSED, 1714s # const gchar *signal_name, 1714s # GVariant *parameters) 1714s # { 1714s # _ExtendedGDBusSignalInfo *info; 1714s # GVariantIter iter; 1714s # GVariant *child; 1714s # GValue *paramv; 1714s # gsize num_params; 1714s # gsize n; 1714s # guint signal_id; 1714s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1714s # if (info == NULL) 1714s # return; 1714s # num_params = g_variant_n_children (parameters); 1714s # paramv = g_new0 (GValue, num_params + 1); 1714s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1714s # g_value_set_object (¶mv[0], proxy); 1714s # g_variant_iter_init (&iter, parameters); 1714s # n = 1; 1714s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1714s # { 1714s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1714s # if (arg_info->use_gvariant) 1714s # { 1714s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1714s # g_value_set_variant (¶mv[n], child); 1714s # n++; 1714s # } 1714s # else 1714s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1714s # g_variant_unref (child); 1714s # } 1714s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1714s # g_signal_emitv (paramv, signal_id, 0, NULL); 1714s # for (n = 0; n < num_params + 1; n++) 1714s # g_value_unset (¶mv[n]); 1714s # g_free (paramv); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1714s # GVariant *changed_properties, 1714s # const gchar *const *invalidated_properties) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1714s # guint n; 1714s # const gchar *key; 1714s # GVariantIter *iter; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # g_variant_get (changed_properties, "a{sv}", &iter); 1714s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1714s # { 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1714s # g_datalist_remove_data (&proxy->priv->qdata, key); 1714s # if (info != NULL) 1714s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1714s # } 1714s # g_variant_iter_free (iter); 1714s # for (n = 0; invalidated_properties[n] != NULL; n++) 1714s # { 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1714s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1714s # if (info != NULL) 1714s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1714s # } 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_proxy_get_good_property_type (GoodTypes *object) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1714s # GVariant *variant; 1714s # GVariant *value = NULL; 1714s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1714s # value = variant; 1714s # if (variant != NULL) 1714s # g_variant_unref (variant); 1714s # return value; 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_init (GoodTypesProxy *proxy) 1714s # { 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1714s # #else 1714s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1714s # #endif 1714s # 1714s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1714s # { 1714s # GObjectClass *gobject_class; 1714s # GDBusProxyClass *proxy_class; 1714s # 1714s # gobject_class = G_OBJECT_CLASS (klass); 1714s # gobject_class->finalize = good_types_proxy_finalize; 1714s # gobject_class->get_property = good_types_proxy_get_property; 1714s # gobject_class->set_property = good_types_proxy_set_property; 1714s # 1714s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1714s # proxy_class->g_signal = good_types_proxy_g_signal; 1714s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1714s # 1714s # good_types_override_properties (gobject_class, 1); 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1714s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1714s # #endif 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_iface_init (GoodTypesIface *iface) 1714s # { 1714s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new: 1714s # * @connection: A #GDBusConnection. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1714s # * @user_data: User data to pass to @callback. 1714s # * 1714s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1714s # * 1714s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1714s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1714s # * 1714s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1714s # */ 1714s # void 1714s # good_types_proxy_new ( 1714s # GDBusConnection *connection, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GAsyncReadyCallback callback, 1714s # gpointer user_data) 1714s # { 1714s # 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); 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_finish: 1714s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Finishes an operation started with good_types_proxy_new(). 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_finish ( 1714s # GAsyncResult *res, 1714s # GError **error) 1714s # { 1714s # GObject *ret; 1714s # GObject *source_object; 1714s # source_object = g_async_result_get_source_object (res); 1714s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1714s # g_object_unref (source_object); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_sync: 1714s # * @connection: A #GDBusConnection. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1714s # * 1714s # * The calling thread is blocked until a reply is received. 1714s # * 1714s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_sync ( 1714s # GDBusConnection *connection, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GError **error) 1714s # { 1714s # GInitable *ret; 1714s # 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); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus: 1714s # * @bus_type: A #GBusType. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: A bus name (well-known or unique). 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1714s # * @user_data: User data to pass to @callback. 1714s # * 1714s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1714s # * 1714s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1714s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1714s # * 1714s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1714s # */ 1714s # void 1714s # good_types_proxy_new_for_bus ( 1714s # GBusType bus_type, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GAsyncReadyCallback callback, 1714s # gpointer user_data) 1714s # { 1714s # 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); 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus_finish: 1714s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_for_bus_finish ( 1714s # GAsyncResult *res, 1714s # GError **error) 1714s # { 1714s # GObject *ret; 1714s # GObject *source_object; 1714s # source_object = g_async_result_get_source_object (res); 1714s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1714s # g_object_unref (source_object); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus_sync: 1714s # * @bus_type: A #GBusType. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: A bus name (well-known or unique). 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1714s # * 1714s # * The calling thread is blocked until a reply is received. 1714s # * 1714s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_for_bus_sync ( 1714s # GBusType bus_type, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GError **error) 1714s # { 1714s # GInitable *ret; 1714s # 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); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # 1714s # /* ------------------------------------------------------------------------ */ 1714s # 1714s # /** 1714s # * GoodTypesSkeleton: 1714s # * 1714s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesSkeletonClass: 1714s # * @parent_class: The parent class. 1714s # * 1714s # * Class structure for GoodTypesSkeleton. 1714s # */ 1714s # 1714s # struct _GoodTypesSkeletonPrivate 1714s # { 1714s # GValue *properties; 1714s # GList *changed_properties; 1714s # GSource *changed_properties_idle_source; 1714s # GMainContext *context; 1714s # GMutex lock; 1714s # }; 1714s # 1714s # static void 1714s # _good_types_skeleton_handle_method_call ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name, 1714s # const gchar *method_name, 1714s # GVariant *parameters, 1714s # GDBusMethodInvocation *invocation, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # _ExtendedGDBusMethodInfo *info; 1714s # GVariantIter iter; 1714s # GVariant *child; 1714s # GValue *paramv; 1714s # gsize num_params; 1714s # guint num_extra; 1714s # gsize n; 1714s # guint signal_id; 1714s # GValue return_value = G_VALUE_INIT; 1714s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1714s # g_assert (info != NULL); 1714s # num_params = g_variant_n_children (parameters); 1714s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1714s # n = 0; 1714s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1714s # g_value_set_object (¶mv[n++], skeleton); 1714s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1714s # g_value_set_object (¶mv[n++], invocation); 1714s # if (info->pass_fdlist) 1714s # { 1714s # #ifdef G_OS_UNIX 1714s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1714s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1714s # #else 1714s # g_assert_not_reached (); 1714s # #endif 1714s # } 1714s # g_variant_iter_init (&iter, parameters); 1714s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1714s # { 1714s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1714s # if (arg_info->use_gvariant) 1714s # { 1714s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1714s # g_value_set_variant (¶mv[n], child); 1714s # n++; 1714s # } 1714s # else 1714s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1714s # g_variant_unref (child); 1714s # } 1714s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1714s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1714s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1714s # if (!g_value_get_boolean (&return_value)) 1714s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1714s # g_value_unset (&return_value); 1714s # for (n = 0; n < num_params + num_extra; n++) 1714s # g_value_unset (¶mv[n]); 1714s # g_free (paramv); 1714s # } 1714s # 1714s # static GVariant * 1714s # _good_types_skeleton_handle_get_property ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name G_GNUC_UNUSED, 1714s # const gchar *property_name, 1714s # GError **error, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GValue value = G_VALUE_INIT; 1714s # GParamSpec *pspec; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *ret; 1714s # ret = NULL; 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1714s # g_assert (info != NULL); 1714s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1714s # if (pspec == NULL) 1714s # { 1714s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1714s # } 1714s # else 1714s # { 1714s # g_value_init (&value, pspec->value_type); 1714s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1714s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1714s # g_value_unset (&value); 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _good_types_skeleton_handle_set_property ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name G_GNUC_UNUSED, 1714s # const gchar *property_name, 1714s # GVariant *variant, 1714s # GError **error, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GValue value = G_VALUE_INIT; 1714s # GParamSpec *pspec; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # gboolean ret; 1714s # ret = FALSE; 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1714s # g_assert (info != NULL); 1714s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1714s # if (pspec == NULL) 1714s # { 1714s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1714s # } 1714s # else 1714s # { 1714s # if (info->use_gvariant) 1714s # g_value_set_variant (&value, variant); 1714s # else 1714s # g_dbus_gvariant_to_gvalue (variant, &value); 1714s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1714s # g_value_unset (&value); 1714s # ret = TRUE; 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1714s # { 1714s # _good_types_skeleton_handle_method_call, 1714s # _good_types_skeleton_handle_get_property, 1714s # _good_types_skeleton_handle_set_property, 1714s # {NULL} 1714s # }; 1714s # 1714s # static GDBusInterfaceInfo * 1714s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1714s # { 1714s # return good_types_interface_info (); 1714s # } 1714s # 1714s # static GDBusInterfaceVTable * 1714s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1714s # { 1714s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1714s # 1714s # GVariantBuilder builder; 1714s # guint n; 1714s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1714s # if (_good_types_interface_info.parent_struct.properties == NULL) 1714s # goto out; 1714s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1714s # { 1714s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1714s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1714s # { 1714s # GVariant *value; 1714s # 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); 1714s # if (value != NULL) 1714s # { 1714s # g_variant_take_ref (value); 1714s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1714s # g_variant_unref (value); 1714s # } 1714s # } 1714s # } 1714s # out: 1714s # return g_variant_builder_end (&builder); 1714s # } 1714s # 1714s # static gboolean _good_types_emit_changed (gpointer user_data); 1714s # 1714s # static void 1714s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1714s # gboolean emit_changed = FALSE; 1714s # 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # if (skeleton->priv->changed_properties_idle_source != NULL) 1714s # { 1714s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1714s # skeleton->priv->changed_properties_idle_source = NULL; 1714s # emit_changed = TRUE; 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # 1714s # if (emit_changed) 1714s # _good_types_emit_changed (skeleton); 1714s # } 1714s # 1714s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1714s # G_ADD_PRIVATE (GoodTypesSkeleton) 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1714s # 1714s # #else 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1714s # 1714s # #endif 1714s # static void 1714s # good_types_skeleton_finalize (GObject *object) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # guint n; 1714s # for (n = 0; n < 1; n++) 1714s # g_value_unset (&skeleton->priv->properties[n]); 1714s # g_free (skeleton->priv->properties); 1714s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1714s # if (skeleton->priv->changed_properties_idle_source != NULL) 1714s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1714s # g_main_context_unref (skeleton->priv->context); 1714s # g_mutex_clear (&skeleton->priv->lock); 1714s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_get_property (GObject *object, 1714s # guint prop_id, 1714s # GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # } 1714s # 1714s # static gboolean 1714s # _good_types_emit_changed (gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GList *l; 1714s # GVariantBuilder builder; 1714s # GVariantBuilder invalidated_builder; 1714s # guint num_changes; 1714s # 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1714s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1714s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1714s # { 1714s # ChangedProperty *cp = l->data; 1714s # GVariant *variant; 1714s # const GValue *cur_value; 1714s # 1714s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1714s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1714s # { 1714s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1714s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1714s # g_variant_unref (variant); 1714s # num_changes++; 1714s # } 1714s # } 1714s # if (num_changes > 0) 1714s # { 1714s # GList *connections, *ll; 1714s # GVariant *signal_variant; 1714s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1714s # &builder, &invalidated_builder)); 1714s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1714s # for (ll = connections; ll != NULL; ll = ll->next) 1714s # { 1714s # GDBusConnection *connection = ll->data; 1714s # 1714s # g_dbus_connection_emit_signal (connection, 1714s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1714s # "org.freedesktop.DBus.Properties", 1714s # "PropertiesChanged", 1714s # signal_variant, 1714s # NULL); 1714s # } 1714s # g_variant_unref (signal_variant); 1714s # g_list_free_full (connections, g_object_unref); 1714s # } 1714s # else 1714s # { 1714s # g_variant_builder_clear (&builder); 1714s # g_variant_builder_clear (&invalidated_builder); 1714s # } 1714s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1714s # skeleton->priv->changed_properties = NULL; 1714s # skeleton->priv->changed_properties_idle_source = NULL; 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # return FALSE; 1714s # } 1714s # 1714s # static void 1714s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1714s # { 1714s # ChangedProperty *cp; 1714s # GList *l; 1714s # cp = NULL; 1714s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1714s # { 1714s # ChangedProperty *i_cp = l->data; 1714s # if (i_cp->info == info) 1714s # { 1714s # cp = i_cp; 1714s # break; 1714s # } 1714s # } 1714s # if (cp == NULL) 1714s # { 1714s # cp = g_new0 (ChangedProperty, 1); 1714s # cp->prop_id = prop_id; 1714s # cp->info = info; 1714s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1714s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1714s # g_value_copy (orig_value, &cp->orig_value); 1714s # } 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_notify (GObject *object, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # if (skeleton->priv->changed_properties != NULL && 1714s # skeleton->priv->changed_properties_idle_source == NULL) 1714s # { 1714s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1714s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1714s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1714s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1714s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1714s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_set_property (GObject *object, 1714s # guint prop_id, 1714s # const GValue *value, 1714s # GParamSpec *pspec) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_object_freeze_notify (object); 1714s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1714s # { 1714s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1714s # info->emits_changed_signal) 1714s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1714s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1714s # g_object_notify_by_pspec (object, pspec); 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # g_object_thaw_notify (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1714s # { 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1714s # #else 1714s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1714s # #endif 1714s # 1714s # g_mutex_init (&skeleton->priv->lock); 1714s # skeleton->priv->context = g_main_context_ref_thread_default (); 1714s # skeleton->priv->properties = g_new0 (GValue, 1); 1714s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # GVariant *value; 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # return value; 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1714s # { 1714s # GObjectClass *gobject_class; 1714s # GDBusInterfaceSkeletonClass *skeleton_class; 1714s # 1714s # gobject_class = G_OBJECT_CLASS (klass); 1714s # gobject_class->finalize = good_types_skeleton_finalize; 1714s # gobject_class->get_property = good_types_skeleton_get_property; 1714s # gobject_class->set_property = good_types_skeleton_set_property; 1714s # gobject_class->notify = good_types_skeleton_notify; 1714s # 1714s # 1714s # good_types_override_properties (gobject_class, 1); 1714s # 1714s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1714s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1714s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1714s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1714s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1714s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1714s # #endif 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1714s # { 1714s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1714s # } 1714s # 1714s # /** 1714s # * good_types_skeleton_new: 1714s # * 1714s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1714s # */ 1714s # GoodTypes * 1714s # good_types_skeleton_new (void) 1714s # { 1714s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1714s # } 1714s # /tmp/tmpsv657vwg/tmpc_3q0esp.xml: 1714s # 1714s # 1714s # 1714s # 1714s # 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsv657vwg/tmpc_3q0esp.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifdef HAVE_CONFIG_H 1714s # # include "config.h" 1714s # #endif 1714s # 1714s # #include 1714s # #ifdef G_OS_UNIX 1714s # # include 1714s # #endif 1714s # 1714s # #ifdef G_ENABLE_DEBUG 1714s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1714s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1714s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1714s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1714s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1714s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1714s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1714s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1714s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1714s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1714s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1714s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1714s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1714s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1714s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1714s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1714s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1714s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1714s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1714s # #else /* !G_ENABLE_DEBUG */ 1714s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1714s # * Do not access GValues directly in your code. Instead, use the 1714s # * g_value_get_*() functions 1714s # */ 1714s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1714s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1714s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1714s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1714s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1714s # #endif /* !G_ENABLE_DEBUG */ 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusArgInfo parent_struct; 1714s # gboolean use_gvariant; 1714s # } _ExtendedGDBusArgInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusMethodInfo parent_struct; 1714s # const gchar *signal_name; 1714s # gboolean pass_fdlist; 1714s # } _ExtendedGDBusMethodInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusSignalInfo parent_struct; 1714s # const gchar *signal_name; 1714s # } _ExtendedGDBusSignalInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusPropertyInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # guint use_gvariant : 1; 1714s # guint emits_changed_signal : 1; 1714s # } _ExtendedGDBusPropertyInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusInterfaceInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # } _ExtendedGDBusInterfaceInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # guint prop_id; 1714s # GValue orig_value; /* the value before the change */ 1714s # } ChangedProperty; 1714s # 1714s # static void 1714s # _changed_property_free (ChangedProperty *data) 1714s # { 1714s # g_value_unset (&data->orig_value); 1714s # g_free (data); 1714s # } 1714s # 1714s # static gboolean 1714s # _g_strv_equal0 (gchar **a, gchar **b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # guint n; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # if (g_strv_length (a) != g_strv_length (b)) 1714s # goto out; 1714s # for (n = 0; a[n] != NULL; n++) 1714s # if (g_strcmp0 (a[n], b[n]) != 0) 1714s # goto out; 1714s # ret = TRUE; 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _g_variant_equal0 (GVariant *a, GVariant *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # ret = g_variant_equal (a, b); 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # G_GNUC_UNUSED static gboolean 1714s # _g_value_equal (const GValue *a, const GValue *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1714s # switch (G_VALUE_TYPE (a)) 1714s # { 1714s # case G_TYPE_BOOLEAN: 1714s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1714s # break; 1714s # case G_TYPE_UCHAR: 1714s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1714s # break; 1714s # case G_TYPE_INT: 1714s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1714s # break; 1714s # case G_TYPE_UINT: 1714s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1714s # break; 1714s # case G_TYPE_INT64: 1714s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1714s # break; 1714s # case G_TYPE_UINT64: 1714s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1714s # break; 1714s # case G_TYPE_DOUBLE: 1714s # { 1714s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1714s # gdouble da = g_value_get_double (a); 1714s # gdouble db = g_value_get_double (b); 1714s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1714s # } 1714s # break; 1714s # case G_TYPE_STRING: 1714s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1714s # break; 1714s # case G_TYPE_VARIANT: 1714s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1714s # break; 1714s # default: 1714s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1714s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1714s # else 1714s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1714s # break; 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # /* ------------------------------------------------------------------------ 1714s # * Code for interface GoodTypes 1714s # * ------------------------------------------------------------------------ 1714s # */ 1714s # 1714s # /** 1714s # * SECTION:GoodTypes 1714s # * @title: GoodTypes 1714s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1714s # * 1714s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1714s # */ 1714s # 1714s # /* ---- Introspection data for GoodTypes ---- */ 1714s # 1714s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1714s # { 1714s # { 1714s # -1, 1714s # (gchar *) "GoodPropertyType", 1714s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1714s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1714s # NULL 1714s # }, 1714s # "good-property-type", 1714s # FALSE, 1714s # TRUE 1714s # }; 1714s # 1714s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1714s # { 1714s # &_good_types_property_info_good_property_type.parent_struct, 1714s # NULL 1714s # }; 1714s # 1714s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1714s # { 1714s # { 1714s # -1, 1714s # (gchar *) "GoodTypes", 1714s # NULL, 1714s # NULL, 1714s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1714s # NULL 1714s # }, 1714s # "good-types", 1714s # }; 1714s # 1714s # 1714s # /** 1714s # * good_types_interface_info: 1714s # * 1714s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1714s # * 1714s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1714s # */ 1714s # GDBusInterfaceInfo * 1714s # good_types_interface_info (void) 1714s # { 1714s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1714s # } 1714s # 1714s # /** 1714s # * good_types_override_properties: 1714s # * @klass: The class structure for a #GObject derived class. 1714s # * @property_id_begin: The property id to assign to the first overridden property. 1714s # * 1714s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1714s # * The properties are overridden in the order they are defined. 1714s # * 1714s # * Returns: The last property id. 1714s # */ 1714s # guint 1714s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1714s # { 1714s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1714s # return property_id_begin - 1; 1714s # } 1714s # 1714s # 1714s # 1714s # /** 1714s # * GoodTypes: 1714s # * 1714s # * Abstract interface type for the D-Bus interface GoodTypes. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesIface: 1714s # * @parent_iface: The parent interface. 1714s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1714s # * 1714s # * Virtual table for the D-Bus interface GoodTypes. 1714s # */ 1714s # 1714s # typedef GoodTypesIface GoodTypesInterface; 1714s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1714s # 1714s # static void 1714s # good_types_default_init (GoodTypesIface *iface) 1714s # { 1714s # /* GObject properties for D-Bus properties: */ 1714s # /** 1714s # * GoodTypes:good-property-type: 1714s # * 1714s # * Represents the D-Bus property "GoodPropertyType". 1714s # * 1714s # * 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. 1714s # */ 1714s # g_object_interface_install_property (iface, 1714s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1714s # } 1714s # 1714s # /** 1714s # * good_types_get_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * 1714s # * Gets the value of the "GoodPropertyType" D-Bus property. 1714s # * 1714s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1714s # * 1714s # * 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. 1714s # * 1714s # * 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. 1714s # */ 1714s # GVariant * 1714s # good_types_get_good_property_type (GoodTypes *object) 1714s # { 1714s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1714s # 1714s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1714s # } 1714s # 1714s # /** 1714s # * good_types_dup_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * 1714s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1714s # * 1714s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1714s # * 1714s # * 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(). 1714s # */ 1714s # GVariant * 1714s # good_types_dup_good_property_type (GoodTypes *object) 1714s # { 1714s # GVariant *value; 1714s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1714s # return value; 1714s # } 1714s # 1714s # /** 1714s # * good_types_set_good_property_type: (skip) 1714s # * @object: A GoodTypes. 1714s # * @value: The value to set. 1714s # * 1714s # * Sets the "GoodPropertyType" D-Bus property to @value. 1714s # * 1714s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1714s # */ 1714s # void 1714s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1714s # { 1714s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1714s # } 1714s # 1714s # /* ------------------------------------------------------------------------ */ 1714s # 1714s # /** 1714s # * GoodTypesProxy: 1714s # * 1714s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesProxyClass: 1714s # * @parent_class: The parent class. 1714s # * 1714s # * Class structure for GoodTypesProxy. 1714s # */ 1714s # 1714s # struct _GoodTypesProxyPrivate 1714s # { 1714s # GData *qdata; 1714s # }; 1714s # 1714s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1714s # G_ADD_PRIVATE (GoodTypesProxy) 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1714s # 1714s # #else 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1714s # 1714s # #endif 1714s # static void 1714s # good_types_proxy_finalize (GObject *object) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1714s # g_datalist_clear (&proxy->priv->qdata); 1714s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_get_property (GObject *object, 1714s # guint prop_id, 1714s # GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *variant; 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1714s # if (info->use_gvariant) 1714s # { 1714s # g_value_set_variant (value, variant); 1714s # } 1714s # else 1714s # { 1714s # if (variant != NULL) 1714s # g_dbus_gvariant_to_gvalue (variant, value); 1714s # } 1714s # if (variant != NULL) 1714s # g_variant_unref (variant); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1714s # GAsyncResult *res, 1714s # gpointer user_data) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info = user_data; 1714s # GError *error; 1714s # GVariant *_ret; 1714s # error = NULL; 1714s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1714s # if (!_ret) 1714s # { 1714s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1714s # info->parent_struct.name, 1714s # error->message, g_quark_to_string (error->domain), error->code); 1714s # g_error_free (error); 1714s # } 1714s # else 1714s # { 1714s # g_variant_unref (_ret); 1714s # } 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_set_property (GObject *object, 1714s # guint prop_id, 1714s # const GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *variant; 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1714s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1714s # "org.freedesktop.DBus.Properties.Set", 1714s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1714s # G_DBUS_CALL_FLAGS_NONE, 1714s # -1, 1714s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1714s # g_variant_unref (variant); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_g_signal (GDBusProxy *proxy, 1714s # const gchar *sender_name G_GNUC_UNUSED, 1714s # const gchar *signal_name, 1714s # GVariant *parameters) 1714s # { 1714s # _ExtendedGDBusSignalInfo *info; 1714s # GVariantIter iter; 1714s # GVariant *child; 1714s # GValue *paramv; 1714s # gsize num_params; 1714s # gsize n; 1714s # guint signal_id; 1714s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1714s # if (info == NULL) 1714s # return; 1714s # num_params = g_variant_n_children (parameters); 1714s # paramv = g_new0 (GValue, num_params + 1); 1714s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1714s # g_value_set_object (¶mv[0], proxy); 1714s # g_variant_iter_init (&iter, parameters); 1714s # n = 1; 1714s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1714s # { 1714s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1714s # if (arg_info->use_gvariant) 1714s # { 1714s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1714s # g_value_set_variant (¶mv[n], child); 1714s # n++; 1714s # } 1714s # else 1714s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1714s # g_variant_unref (child); 1714s # } 1714s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1714s # g_signal_emitv (paramv, signal_id, 0, NULL); 1714s # for (n = 0; n < num_params + 1; n++) 1714s # g_value_unset (¶mv[n]); 1714s # g_free (paramv); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1714s # GVariant *changed_properties, 1714s # const gchar *const *invalidated_properties) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1714s # guint n; 1714s # const gchar *key; 1714s # GVariantIter *iter; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # g_variant_get (changed_properties, "a{sv}", &iter); 1714s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1714s # { 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1714s # g_datalist_remove_data (&proxy->priv->qdata, key); 1714s # if (info != NULL) 1714s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1714s # } 1714s # g_variant_iter_free (iter); 1714s # for (n = 0; invalidated_properties[n] != NULL; n++) 1714s # { 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1714s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1714s # if (info != NULL) 1714s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1714s # } 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_proxy_get_good_property_type (GoodTypes *object) 1714s # { 1714s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1714s # GVariant *variant; 1714s # GVariant *value = NULL; 1714s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1714s # value = variant; 1714s # if (variant != NULL) 1714s # g_variant_unref (variant); 1714s # return value; 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_init (GoodTypesProxy *proxy) 1714s # { 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1714s # #else 1714s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1714s # #endif 1714s # 1714s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1714s # { 1714s # GObjectClass *gobject_class; 1714s # GDBusProxyClass *proxy_class; 1714s # 1714s # gobject_class = G_OBJECT_CLASS (klass); 1714s # gobject_class->finalize = good_types_proxy_finalize; 1714s # gobject_class->get_property = good_types_proxy_get_property; 1714s # gobject_class->set_property = good_types_proxy_set_property; 1714s # 1714s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1714s # proxy_class->g_signal = good_types_proxy_g_signal; 1714s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1714s # 1714s # good_types_override_properties (gobject_class, 1); 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1714s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1714s # #endif 1714s # } 1714s # 1714s # static void 1714s # good_types_proxy_iface_init (GoodTypesIface *iface) 1714s # { 1714s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new: 1714s # * @connection: A #GDBusConnection. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1714s # * @user_data: User data to pass to @callback. 1714s # * 1714s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1714s # * 1714s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1714s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1714s # * 1714s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1714s # */ 1714s # void 1714s # good_types_proxy_new ( 1714s # GDBusConnection *connection, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GAsyncReadyCallback callback, 1714s # gpointer user_data) 1714s # { 1714s # 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); 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_finish: 1714s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Finishes an operation started with good_types_proxy_new(). 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_finish ( 1714s # GAsyncResult *res, 1714s # GError **error) 1714s # { 1714s # GObject *ret; 1714s # GObject *source_object; 1714s # source_object = g_async_result_get_source_object (res); 1714s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1714s # g_object_unref (source_object); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_sync: 1714s # * @connection: A #GDBusConnection. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1714s # * 1714s # * The calling thread is blocked until a reply is received. 1714s # * 1714s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_sync ( 1714s # GDBusConnection *connection, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GError **error) 1714s # { 1714s # GInitable *ret; 1714s # 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); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus: 1714s # * @bus_type: A #GBusType. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: A bus name (well-known or unique). 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1714s # * @user_data: User data to pass to @callback. 1714s # * 1714s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1714s # * 1714s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1714s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1714s # * 1714s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1714s # */ 1714s # void 1714s # good_types_proxy_new_for_bus ( 1714s # GBusType bus_type, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GAsyncReadyCallback callback, 1714s # gpointer user_data) 1714s # { 1714s # 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); 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus_finish: 1714s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_for_bus_finish ( 1714s # GAsyncResult *res, 1714s # GError **error) 1714s # { 1714s # GObject *ret; 1714s # GObject *source_object; 1714s # source_object = g_async_result_get_source_object (res); 1714s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1714s # g_object_unref (source_object); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # /** 1714s # * good_types_proxy_new_for_bus_sync: 1714s # * @bus_type: A #GBusType. 1714s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1714s # * @name: A bus name (well-known or unique). 1714s # * @object_path: An object path. 1714s # * @cancellable: (nullable): A #GCancellable or %NULL. 1714s # * @error: Return location for error or %NULL 1714s # * 1714s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1714s # * 1714s # * The calling thread is blocked until a reply is received. 1714s # * 1714s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1714s # */ 1714s # GoodTypes * 1714s # good_types_proxy_new_for_bus_sync ( 1714s # GBusType bus_type, 1714s # GDBusProxyFlags flags, 1714s # const gchar *name, 1714s # const gchar *object_path, 1714s # GCancellable *cancellable, 1714s # GError **error) 1714s # { 1714s # GInitable *ret; 1714s # 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); 1714s # if (ret != NULL) 1714s # return GOOD_TYPES (ret); 1714s # else 1714s # return NULL; 1714s # } 1714s # 1714s # 1714s # /* ------------------------------------------------------------------------ */ 1714s # 1714s # /** 1714s # * GoodTypesSkeleton: 1714s # * 1714s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1714s # */ 1714s # 1714s # /** 1714s # * GoodTypesSkeletonClass: 1714s # * @parent_class: The parent class. 1714s # * 1714s # * Class structure for GoodTypesSkeleton. 1714s # */ 1714s # 1714s # struct _GoodTypesSkeletonPrivate 1714s # { 1714s # GValue *properties; 1714s # GList *changed_properties; 1714s # GSource *changed_properties_idle_source; 1714s # GMainContext *context; 1714s # GMutex lock; 1714s # }; 1714s # 1714s # static void 1714s # _good_types_skeleton_handle_method_call ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name, 1714s # const gchar *method_name, 1714s # GVariant *parameters, 1714s # GDBusMethodInvocation *invocation, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # _ExtendedGDBusMethodInfo *info; 1714s # GVariantIter iter; 1714s # GVariant *child; 1714s # GValue *paramv; 1714s # gsize num_params; 1714s # guint num_extra; 1714s # gsize n; 1714s # guint signal_id; 1714s # GValue return_value = G_VALUE_INIT; 1714s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1714s # g_assert (info != NULL); 1714s # num_params = g_variant_n_children (parameters); 1714s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1714s # n = 0; 1714s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1714s # g_value_set_object (¶mv[n++], skeleton); 1714s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1714s # g_value_set_object (¶mv[n++], invocation); 1714s # if (info->pass_fdlist) 1714s # { 1714s # #ifdef G_OS_UNIX 1714s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1714s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1714s # #else 1714s # g_assert_not_reached (); 1714s # #endif 1714s # } 1714s # g_variant_iter_init (&iter, parameters); 1714s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1714s # { 1714s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1714s # if (arg_info->use_gvariant) 1714s # { 1714s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1714s # g_value_set_variant (¶mv[n], child); 1714s # n++; 1714s # } 1714s # else 1714s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1714s # g_variant_unref (child); 1714s # } 1714s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1714s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1714s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1714s # if (!g_value_get_boolean (&return_value)) 1714s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1714s # g_value_unset (&return_value); 1714s # for (n = 0; n < num_params + num_extra; n++) 1714s # g_value_unset (¶mv[n]); 1714s # g_free (paramv); 1714s # } 1714s # 1714s # static GVariant * 1714s # _good_types_skeleton_handle_get_property ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name G_GNUC_UNUSED, 1714s # const gchar *property_name, 1714s # GError **error, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GValue value = G_VALUE_INIT; 1714s # GParamSpec *pspec; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # GVariant *ret; 1714s # ret = NULL; 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1714s # g_assert (info != NULL); 1714s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1714s # if (pspec == NULL) 1714s # { 1714s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1714s # } 1714s # else 1714s # { 1714s # g_value_init (&value, pspec->value_type); 1714s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1714s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1714s # g_value_unset (&value); 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _good_types_skeleton_handle_set_property ( 1714s # GDBusConnection *connection G_GNUC_UNUSED, 1714s # const gchar *sender G_GNUC_UNUSED, 1714s # const gchar *object_path G_GNUC_UNUSED, 1714s # const gchar *interface_name G_GNUC_UNUSED, 1714s # const gchar *property_name, 1714s # GVariant *variant, 1714s # GError **error, 1714s # gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GValue value = G_VALUE_INIT; 1714s # GParamSpec *pspec; 1714s # _ExtendedGDBusPropertyInfo *info; 1714s # gboolean ret; 1714s # ret = FALSE; 1714s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1714s # g_assert (info != NULL); 1714s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1714s # if (pspec == NULL) 1714s # { 1714s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1714s # } 1714s # else 1714s # { 1714s # if (info->use_gvariant) 1714s # g_value_set_variant (&value, variant); 1714s # else 1714s # g_dbus_gvariant_to_gvalue (variant, &value); 1714s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1714s # g_value_unset (&value); 1714s # ret = TRUE; 1714s # } 1714s # return ret; 1714s # } 1714s # 1714s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1714s # { 1714s # _good_types_skeleton_handle_method_call, 1714s # _good_types_skeleton_handle_get_property, 1714s # _good_types_skeleton_handle_set_property, 1714s # {NULL} 1714s # }; 1714s # 1714s # static GDBusInterfaceInfo * 1714s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1714s # { 1714s # return good_types_interface_info (); 1714s # } 1714s # 1714s # static GDBusInterfaceVTable * 1714s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1714s # { 1714s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1714s # 1714s # GVariantBuilder builder; 1714s # guint n; 1714s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1714s # if (_good_types_interface_info.parent_struct.properties == NULL) 1714s # goto out; 1714s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1714s # { 1714s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1714s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1714s # { 1714s # GVariant *value; 1714s # 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); 1714s # if (value != NULL) 1714s # { 1714s # g_variant_take_ref (value); 1714s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1714s # g_variant_unref (value); 1714s # } 1714s # } 1714s # } 1714s # out: 1714s # return g_variant_builder_end (&builder); 1714s # } 1714s # 1714s # static gboolean _good_types_emit_changed (gpointer user_data); 1714s # 1714s # static void 1714s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1714s # gboolean emit_changed = FALSE; 1714s # 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # if (skeleton->priv->changed_properties_idle_source != NULL) 1714s # { 1714s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1714s # skeleton->priv->changed_properties_idle_source = NULL; 1714s # emit_changed = TRUE; 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # 1714s # if (emit_changed) 1714s # _good_types_emit_changed (skeleton); 1714s # } 1714s # 1714s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1714s # G_ADD_PRIVATE (GoodTypesSkeleton) 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1714s # 1714s # #else 1714s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1714s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1714s # 1714s # #endif 1714s # static void 1714s # good_types_skeleton_finalize (GObject *object) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # guint n; 1714s # for (n = 0; n < 1; n++) 1714s # g_value_unset (&skeleton->priv->properties[n]); 1714s # g_free (skeleton->priv->properties); 1714s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1714s # if (skeleton->priv->changed_properties_idle_source != NULL) 1714s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1714s # g_main_context_unref (skeleton->priv->context); 1714s # g_mutex_clear (&skeleton->priv->lock); 1714s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_get_property (GObject *object, 1714s # guint prop_id, 1714s # GValue *value, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # } 1714s # 1714s # static gboolean 1714s # _good_types_emit_changed (gpointer user_data) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1714s # GList *l; 1714s # GVariantBuilder builder; 1714s # GVariantBuilder invalidated_builder; 1714s # guint num_changes; 1714s # 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1714s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1714s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1714s # { 1714s # ChangedProperty *cp = l->data; 1714s # GVariant *variant; 1714s # const GValue *cur_value; 1714s # 1714s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1714s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1714s # { 1714s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1714s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1714s # g_variant_unref (variant); 1714s # num_changes++; 1714s # } 1714s # } 1714s # if (num_changes > 0) 1714s # { 1714s # GList *connections, *ll; 1714s # GVariant *signal_variant; 1714s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1714s # &builder, &invalidated_builder)); 1714s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1714s # for (ll = connections; ll != NULL; ll = ll->next) 1714s # { 1714s # GDBusConnection *connection = ll->data; 1714s # 1714s # g_dbus_connection_emit_signal (connection, 1714s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1714s # "org.freedesktop.DBus.Properties", 1714s # "PropertiesChanged", 1714s # signal_variant, 1714s # NULL); 1714s # } 1714s # g_variant_unref (signal_variant); 1714s # g_list_free_full (connections, g_object_unref); 1714s # } 1714s # else 1714s # { 1714s # g_variant_builder_clear (&builder); 1714s # g_variant_builder_clear (&invalidated_builder); 1714s # } 1714s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1714s # skeleton->priv->changed_properties = NULL; 1714s # skeleton->priv->changed_properties_idle_source = NULL; 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # return FALSE; 1714s # } 1714s # 1714s # static void 1714s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1714s # { 1714s # ChangedProperty *cp; 1714s # GList *l; 1714s # cp = NULL; 1714s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1714s # { 1714s # ChangedProperty *i_cp = l->data; 1714s # if (i_cp->info == info) 1714s # { 1714s # cp = i_cp; 1714s # break; 1714s # } 1714s # } 1714s # if (cp == NULL) 1714s # { 1714s # cp = g_new0 (ChangedProperty, 1); 1714s # cp->prop_id = prop_id; 1714s # cp->info = info; 1714s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1714s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1714s # g_value_copy (orig_value, &cp->orig_value); 1714s # } 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_notify (GObject *object, 1714s # GParamSpec *pspec G_GNUC_UNUSED) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # if (skeleton->priv->changed_properties != NULL && 1714s # skeleton->priv->changed_properties_idle_source == NULL) 1714s # { 1714s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1714s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1714s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1714s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1714s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1714s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_set_property (GObject *object, 1714s # guint prop_id, 1714s # const GValue *value, 1714s # GParamSpec *pspec) 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1714s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # g_object_freeze_notify (object); 1714s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1714s # { 1714s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1714s # info->emits_changed_signal) 1714s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1714s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1714s # g_object_notify_by_pspec (object, pspec); 1714s # } 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # g_object_thaw_notify (object); 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1714s # { 1714s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1714s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1714s # #else 1714s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1714s # #endif 1714s # 1714s # g_mutex_init (&skeleton->priv->lock); 1714s # skeleton->priv->context = g_main_context_ref_thread_default (); 1714s # skeleton->priv->properties = g_new0 (GValue, 1); 1714s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1714s # } 1714s # 1714s # static GVariant * 1714s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1714s # { 1714s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1714s # GVariant *value; 1714s # g_mutex_lock (&skeleton->priv->lock); 1714s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1714s # g_mutex_unlock (&skeleton->priv->lock); 1714s # return value; 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1714s # { 1714s # GObjectClass *gobject_class; 1714s # GDBusInterfaceSkeletonClass *skeleton_class; 1714s # 1714s # gobject_class = G_OBJECT_CLASS (klass); 1714s # gobject_class->finalize = good_types_skeleton_finalize; 1714s # gobject_class->get_property = good_types_skeleton_get_property; 1714s # gobject_class->set_property = good_types_skeleton_set_property; 1714s # gobject_class->notify = good_types_skeleton_notify; 1714s # 1714s # 1714s # good_types_override_properties (gobject_class, 1); 1714s # 1714s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1714s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1714s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1714s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1714s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1714s # 1714s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1714s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1714s # #endif 1714s # } 1714s # 1714s # static void 1714s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1714s # { 1714s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1714s # } 1714s # 1714s # /** 1714s # * good_types_skeleton_new: 1714s # * 1714s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1714s # * 1714s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1714s # */ 1714s # GoodTypes * 1714s # good_types_skeleton_new (void) 1714s # { 1714s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1714s # } 1714s ok 3 __main__.TestCodegen.test_empty_interface_body 1714s # tmpdir: /tmp/tmpeqaesqh4 1714s # codegen: /usr/bin/gdbus-codegen 1714s # /tmp/tmpeqaesqh4/tmpmov474v6.xml: 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeqaesqh4/tmpmov474v6.xml', '--output', '-', '--body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifdef HAVE_CONFIG_H 1714s # # include "config.h" 1714s # #endif 1714s # 1714s # #include 1714s # #ifdef G_OS_UNIX 1714s # # include 1714s # #endif 1714s # 1714s # #ifdef G_ENABLE_DEBUG 1714s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1714s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1714s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1714s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1714s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1714s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1714s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1714s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1714s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1714s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1714s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1714s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1714s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1714s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1714s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1714s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1714s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1714s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1714s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1714s # #else /* !G_ENABLE_DEBUG */ 1714s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1714s # * Do not access GValues directly in your code. Instead, use the 1714s # * g_value_get_*() functions 1714s # */ 1714s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1714s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1714s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1714s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1714s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1714s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1714s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1714s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1714s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1714s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1714s # #endif /* !G_ENABLE_DEBUG */ 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusArgInfo parent_struct; 1714s # gboolean use_gvariant; 1714s # } _ExtendedGDBusArgInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusMethodInfo parent_struct; 1714s # const gchar *signal_name; 1714s # gboolean pass_fdlist; 1714s # } _ExtendedGDBusMethodInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusSignalInfo parent_struct; 1714s # const gchar *signal_name; 1714s # } _ExtendedGDBusSignalInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusPropertyInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # guint use_gvariant : 1; 1714s # guint emits_changed_signal : 1; 1714s # } _ExtendedGDBusPropertyInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # GDBusInterfaceInfo parent_struct; 1714s # const gchar *hyphen_name; 1714s # } _ExtendedGDBusInterfaceInfo; 1714s # 1714s # typedef struct 1714s # { 1714s # const _ExtendedGDBusPropertyInfo *info; 1714s # guint prop_id; 1714s # GValue orig_value; /* the value before the change */ 1714s # } ChangedProperty; 1714s # 1714s # static void 1714s # _changed_property_free (ChangedProperty *data) 1714s # { 1714s # g_value_unset (&data->orig_value); 1714s # g_free (data); 1714s # } 1714s # 1714s # static gboolean 1714s # _g_strv_equal0 (gchar **a, gchar **b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # guint n; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # if (g_strv_length (a) != g_strv_length (b)) 1714s # goto out; 1714s # for (n = 0; a[n] != NULL; n++) 1714s # if (g_strcmp0 (a[n], b[n]) != 0) 1714s # goto out; 1714s # ret = TRUE; 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # static gboolean 1714s # _g_variant_equal0 (GVariant *a, GVariant *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # if (a == NULL && b == NULL) 1714s # { 1714s # ret = TRUE; 1714s # goto out; 1714s # } 1714s # if (a == NULL || b == NULL) 1714s # goto out; 1714s # ret = g_variant_equal (a, b); 1714s # out: 1714s # return ret; 1714s # } 1714s # 1714s # G_GNUC_UNUSED static gboolean 1714s # _g_value_equal (const GValue *a, const GValue *b) 1714s # { 1714s # gboolean ret = FALSE; 1714s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1714s # switch (G_VALUE_TYPE (a)) 1714s # { 1714s # case G_TYPE_BOOLEAN: 1714s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1714s # break; 1714s # case G_TYPE_UCHAR: 1714s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1714s # break; 1714s # case G_TYPE_INT: 1714s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1714s # break; 1714s # case G_TYPE_UINT: 1714s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1714s # break; 1714s # case G_TYPE_INT64: 1714s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1714s # break; 1714s # case G_TYPE_UINT64: 1714s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1714s # break; 1714s # case G_TYPE_DOUBLE: 1714s # { 1714s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1714s # gdouble da = g_value_get_double (a); 1714s # gdouble db = g_value_get_double (b); 1714s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1714s # } 1714s # break; 1714s # case G_TYPE_STRING: 1714s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1714s # break; 1714s # case G_TYPE_VARIANT: 1714s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1714s # break; 1714s # default: 1714s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1714s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1714s # else 1714s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1714s # break; 1714s # } 1714s # return ret; 1714s # } 1714s # Executing: glib/codegen.py.test 1714s ok 4 __main__.TestCodegen.test_empty_interface_header 1714s # tmpdir: /tmp/tmpegia8kbz 1714s # codegen: /usr/bin/gdbus-codegen 1714s # /tmp/tmpegia8kbz/tmp377f1iwe.xml: 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpegia8kbz/tmp377f1iwe.xml', '--output', '-', '--header'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifndef __STDOUT__ 1714s # #define __STDOUT__ 1714s # 1714s # #include 1714s # 1714s # G_BEGIN_DECLS 1714s # 1714s # 1714s # G_END_DECLS 1714s # 1714s # #endif /* __STDOUT__ */ 1714s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1714s # tmpdir: /tmp/tmpwgo0d4jo 1714s # codegen: /usr/bin/gdbus-codegen 1714s # /tmp/tmpwgo0d4jo/tmpbl9je1c8.xml: 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwgo0d4jo/tmpbl9je1c8.xml', '--output', '-', '--interface-info-body'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifdef HAVE_CONFIG_H 1714s # # include "config.h" 1714s # #endif 1714s # 1714s # #include 1714s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1714s # tmpdir: /tmp/tmp9e0jbhe1 1714s # codegen: /usr/bin/gdbus-codegen 1714s # /tmp/tmp9e0jbhe1/tmp1ecvazkv.xml: 1714s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9e0jbhe1/tmp1ecvazkv.xml', '--output', '-', '--interface-info-header'] 1714s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: /* 1714s # * This file is generated by gdbus-codegen, do not modify it. 1714s # * 1714s # * The license of this code is the same as for the D-Bus interface description 1714s # * it was derived from. Note that it links to GLib, so must comply with the 1714s # * LGPL linking clauses. 1714s # */ 1714s # 1714s # #ifndef __STDOUT__ 1714s # #define __STDOUT__ 1714s # 1714s # #include 1714s # 1714s # G_BEGIN_DECLS 1714s # 1714s # 1714s # G_END_DECLS 1714s # 1714s # #endif /* __STDOUT__ */ 1715s ok 7 __main__.TestCodegen.test_generate_docbook 1715s # tmpdir: /tmp/tmpb7m9ecev 1715s # codegen: /usr/bin/gdbus-codegen 1715s # /tmp/tmpb7m9ecev/tmp33me78pg.xml: 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb7m9ecev/tmp33me78pg.xml', '--generate-docbook', 'test'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: 1715s ok 8 __main__.TestCodegen.test_generate_md 1715s # tmpdir: /tmp/tmpew52jw61 1715s # codegen: /usr/bin/gdbus-codegen 1715s # /tmp/tmpew52jw61/tmpw_hj3k0f.xml: 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpew52jw61/tmpw_hj3k0f.xml', '--generate-md', 'test'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: 1715s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1715s # tmpdir: /tmp/tmplwctpwdn 1715s # codegen: /usr/bin/gdbus-codegen 1715s # /tmp/tmplwctpwdn/tmpl6oa8e5i.xml: 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # 1715s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplwctpwdn/tmpl6oa8e5i.xml', '--output', '-', '--body'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: /* 1715s # * This file is generated by gdbus-codegen, do not modify it. 1715s # * 1715s # * The license of this code is the same as for the D-Bus interface description 1715s # * it was derived from. Note that it links to GLib, so must comply with the 1715s # * LGPL linking clauses. 1715s # */ 1715s # 1715s # #ifdef HAVE_CONFIG_H 1715s # # include "config.h" 1715s # #endif 1715s # 1715s # #include 1715s # #ifdef G_OS_UNIX 1715s # # include 1715s # #endif 1715s # 1715s # #ifdef G_ENABLE_DEBUG 1715s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1715s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1715s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1715s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1715s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1715s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1715s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1715s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1715s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1715s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1715s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1715s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1715s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1715s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1715s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1715s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1715s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1715s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1715s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1715s # #else /* !G_ENABLE_DEBUG */ 1715s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1715s # * Do not access GValues directly in your code. Instead, use the 1715s # * g_value_get_*() functions 1715s # */ 1715s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1715s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1715s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1715s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1715s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1715s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1715s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1715s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1715s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1715s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1715s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1715s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1715s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1715s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1715s # #endif /* !G_ENABLE_DEBUG */ 1715s # 1715s # typedef struct 1715s # { 1715s # GDBusArgInfo parent_struct; 1715s # gboolean use_gvariant; 1715s # } _ExtendedGDBusArgInfo; 1715s # 1715s # typedef struct 1715s # { 1715s # GDBusMethodInfo parent_struct; 1715s # const gchar *signal_name; 1715s # gboolean pass_fdlist; 1715s # } _ExtendedGDBusMethodInfo; 1715s # 1715s # typedef struct 1715s # { 1715s # GDBusSignalInfo parent_struct; 1715s # const gchar *signal_name; 1715s # } _ExtendedGDBusSignalInfo; 1715s # 1715s # typedef struct 1715s # { 1715s # GDBusPropertyInfo parent_struct; 1715s # const gchar *hyphen_name; 1715s # guint use_gvariant : 1; 1715s # guint emits_changed_signal : 1; 1715s # } _ExtendedGDBusPropertyInfo; 1715s # 1715s # typedef struct 1715s # { 1715s # GDBusInterfaceInfo parent_struct; 1715s # const gchar *hyphen_name; 1715s # } _ExtendedGDBusInterfaceInfo; 1715s # 1715s # typedef struct 1715s # { 1715s # const _ExtendedGDBusPropertyInfo *info; 1715s # guint prop_id; 1715s # GValue orig_value; /* the value before the change */ 1715s # } ChangedProperty; 1715s # 1715s # static void 1715s # _changed_property_free (ChangedProperty *data) 1715s # { 1715s # g_value_unset (&data->orig_value); 1715s # g_free (data); 1715s # } 1715s # 1715s # static gboolean 1715s # _g_strv_equal0 (gchar **a, gchar **b) 1715s # { 1715s # gboolean ret = FALSE; 1715s # guint n; 1715s # if (a == NULL && b == NULL) 1715s # { 1715s # ret = TRUE; 1715s # goto out; 1715s # } 1715s # if (a == NULL || b == NULL) 1715s # goto out; 1715s # if (g_strv_length (a) != g_strv_length (b)) 1715s # goto out; 1715s # for (n = 0; a[n] != NULL; n++) 1715s # if (g_strcmp0 (a[n], b[n]) != 0) 1715s # goto out; 1715s # ret = TRUE; 1715s # out: 1715s # return ret; 1715s # } 1715s # 1715s # static gboolean 1715s # _g_variant_equal0 (GVariant *a, GVariant *b) 1715s # { 1715s # gboolean ret = FALSE; 1715s # if (a == NULL && b == NULL) 1715s # { 1715s # ret = TRUE; 1715s # goto out; 1715s # } 1715s # if (a == NULL || b == NULL) 1715s # goto out; 1715s # ret = g_variant_equal (a, b); 1715s # out: 1715s # return ret; 1715s # } 1715s # 1715s # G_GNUC_UNUSED static gboolean 1715s # _g_value_equal (const GValue *a, const GValue *b) 1715s # { 1715s # gboolean ret = FALSE; 1715s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1715s # switch (G_VALUE_TYPE (a)) 1715s # { 1715s # case G_TYPE_BOOLEAN: 1715s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1715s # break; 1715s # case G_TYPE_UCHAR: 1715s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1715s # break; 1715s # case G_TYPE_INT: 1715s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1715s # break; 1715s # case G_TYPE_UINT: 1715s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1715s # break; 1715s # case G_TYPE_INT64: 1715s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1715s # break; 1715s # case G_TYPE_UINT64: 1715s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1715s # break; 1715s # case G_TYPE_DOUBLE: 1715s # { 1715s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1715s # gdouble da = g_value_get_double (a); 1715s # gdouble db = g_value_get_double (b); 1715s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1715s # } 1715s # break; 1715s # case G_TYPE_STRING: 1715s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1715s # break; 1715s # case G_TYPE_VARIANT: 1715s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1715s # break; 1715s # default: 1715s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1715s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1715s # else 1715s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1715s # break; 1715s # } 1715s # return ret; 1715s # } 1715s # 1715s # static void 1715s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1715s # GClosure *closure, 1715s # GValue *return_value, 1715s # unsigned int n_param_values, 1715s # const GValue *param_values, 1715s # void *invocation_hint G_GNUC_UNUSED, 1715s # void *marshal_data) 1715s # { 1715s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1715s # (void *data1, 1715s # GDBusMethodInvocation *arg_method_invocation, 1715s # void *data2); 1715s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1715s # GCClosure *cc = (GCClosure*) closure; 1715s # void *data1, *data2; 1715s # gboolean v_return; 1715s # 1715s # g_return_if_fail (return_value != NULL); 1715s # g_return_if_fail (n_param_values == 2); 1715s # 1715s # if (G_CCLOSURE_SWAP_DATA (closure)) 1715s # { 1715s # data1 = closure->data; 1715s # data2 = g_value_peek_pointer (param_values + 0); 1715s # } 1715s # else 1715s # { 1715s # data1 = g_value_peek_pointer (param_values + 0); 1715s # data2 = closure->data; 1715s # } 1715s # 1715s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1715s # (marshal_data ? marshal_data : cc->callback); 1715s # 1715s # v_return = 1715s # callback (data1, 1715s # g_marshal_value_peek_object (param_values + 1), 1715s # data2); 1715s # 1715s # g_value_set_boolean (return_value, v_return); 1715s # } 1715s # 1715s # /* ------------------------------------------------------------------------ 1715s # * Code for interface org.project.CallableIface 1715s # * ------------------------------------------------------------------------ 1715s # */ 1715s # 1715s # /** 1715s # * SECTION:OrgProjectCallableIface 1715s # * @title: OrgProjectCallableIface 1715s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1715s # * 1715s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1715s # */ 1715s # 1715s # /* ---- Introspection data for org.project.CallableIface ---- */ 1715s # 1715s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1715s # { 1715s # { 1715s # -1, 1715s # (gchar *) "SimpleMethod", 1715s # NULL, 1715s # NULL, 1715s # NULL 1715s # }, 1715s # "handle-simple-method", 1715s # FALSE 1715s # }; 1715s # 1715s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1715s # { 1715s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1715s # NULL 1715s # }; 1715s # 1715s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1715s # { 1715s # { 1715s # -1, 1715s # (gchar *) "org.project.CallableIface", 1715s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1715s # NULL, 1715s # NULL, 1715s # NULL 1715s # }, 1715s # "org-project-callable-iface", 1715s # }; 1715s # 1715s # 1715s # /** 1715s # * org_project_callable_iface_interface_info: 1715s # * 1715s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1715s # * 1715s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1715s # */ 1715s # GDBusInterfaceInfo * 1715s # org_project_callable_iface_interface_info (void) 1715s # { 1715s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_override_properties: 1715s # * @klass: The class structure for a #GObject derived class. 1715s # * @property_id_begin: The property id to assign to the first overridden property. 1715s # * 1715s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1715s # * The properties are overridden in the order they are defined. 1715s # * 1715s # * Returns: The last property id. 1715s # */ 1715s # guint 1715s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1715s # { 1715s # return property_id_begin - 1; 1715s # } 1715s # 1715s # 1715s # inline static void 1715s # org_project_callable_iface_method_marshal_simple_method ( 1715s # GClosure *closure, 1715s # GValue *return_value, 1715s # unsigned int n_param_values, 1715s # const GValue *param_values, 1715s # void *invocation_hint, 1715s # void *marshal_data) 1715s # { 1715s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1715s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1715s # } 1715s # 1715s # 1715s # /** 1715s # * OrgProjectCallableIface: 1715s # * 1715s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1715s # */ 1715s # 1715s # /** 1715s # * OrgProjectCallableIfaceIface: 1715s # * @parent_iface: The parent interface. 1715s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1715s # * 1715s # * Virtual table for the D-Bus interface org.project.CallableIface. 1715s # */ 1715s # 1715s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1715s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1715s # 1715s # static void 1715s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1715s # { 1715s # /* GObject signals for incoming D-Bus method calls: */ 1715s # /** 1715s # * OrgProjectCallableIface::handle-simple-method: 1715s # * @object: A #OrgProjectCallableIface. 1715s # * @invocation: A #GDBusMethodInvocation. 1715s # * 1715s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1715s # * 1715s # * 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. 1715s # * 1715s # * 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. 1715s # */ 1715s # g_signal_new ("handle-simple-method", 1715s # G_TYPE_FROM_INTERFACE (iface), 1715s # G_SIGNAL_RUN_LAST, 1715s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1715s # g_signal_accumulator_true_handled, 1715s # NULL, 1715s # org_project_callable_iface_method_marshal_simple_method, 1715s # G_TYPE_BOOLEAN, 1715s # 1, 1715s # G_TYPE_DBUS_METHOD_INVOCATION); 1715s # 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_call_simple_method: 1715s # * @proxy: A #OrgProjectCallableIfaceProxy. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1715s # * @user_data: User data to pass to @callback. 1715s # * 1715s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1715s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1715s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1715s # * 1715s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1715s # */ 1715s # void 1715s # org_project_callable_iface_call_simple_method ( 1715s # OrgProjectCallableIface *proxy, 1715s # GCancellable *cancellable, 1715s # GAsyncReadyCallback callback, 1715s # gpointer user_data) 1715s # { 1715s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1715s # "SimpleMethod", 1715s # g_variant_new ("()"), 1715s # G_DBUS_CALL_FLAGS_NONE, 1715s # -1, 1715s # cancellable, 1715s # callback, 1715s # user_data); 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_call_simple_method_finish: 1715s # * @proxy: A #OrgProjectCallableIfaceProxy. 1715s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1715s # * @error: Return location for error or %NULL. 1715s # * 1715s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1715s # * 1715s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1715s # */ 1715s # gboolean 1715s # org_project_callable_iface_call_simple_method_finish ( 1715s # OrgProjectCallableIface *proxy, 1715s # GAsyncResult *res, 1715s # GError **error) 1715s # { 1715s # GVariant *_ret; 1715s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1715s # if (_ret == NULL) 1715s # goto _out; 1715s # g_variant_get (_ret, 1715s # "()"); 1715s # g_variant_unref (_ret); 1715s # _out: 1715s # return _ret != NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_call_simple_method_sync: 1715s # * @proxy: A #OrgProjectCallableIfaceProxy. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @error: Return location for error or %NULL. 1715s # * 1715s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1715s # * 1715s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1715s # * 1715s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1715s # */ 1715s # gboolean 1715s # org_project_callable_iface_call_simple_method_sync ( 1715s # OrgProjectCallableIface *proxy, 1715s # GCancellable *cancellable, 1715s # GError **error) 1715s # { 1715s # GVariant *_ret; 1715s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1715s # "SimpleMethod", 1715s # g_variant_new ("()"), 1715s # G_DBUS_CALL_FLAGS_NONE, 1715s # -1, 1715s # cancellable, 1715s # error); 1715s # if (_ret == NULL) 1715s # goto _out; 1715s # g_variant_get (_ret, 1715s # "()"); 1715s # g_variant_unref (_ret); 1715s # _out: 1715s # return _ret != NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_complete_simple_method: 1715s # * @object: A #OrgProjectCallableIface. 1715s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1715s # * 1715s # * 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. 1715s # * 1715s # * This method will free @invocation, you cannot use it afterwards. 1715s # */ 1715s # void 1715s # org_project_callable_iface_complete_simple_method ( 1715s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1715s # GDBusMethodInvocation *invocation) 1715s # { 1715s # g_dbus_method_invocation_return_value (invocation, 1715s # g_variant_new ("()")); 1715s # } 1715s # 1715s # /* ------------------------------------------------------------------------ */ 1715s # 1715s # /** 1715s # * OrgProjectCallableIfaceProxy: 1715s # * 1715s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1715s # */ 1715s # 1715s # /** 1715s # * OrgProjectCallableIfaceProxyClass: 1715s # * @parent_class: The parent class. 1715s # * 1715s # * Class structure for #OrgProjectCallableIfaceProxy. 1715s # */ 1715s # 1715s # struct _OrgProjectCallableIfaceProxyPrivate 1715s # { 1715s # GData *qdata; 1715s # }; 1715s # 1715s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1715s # 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1715s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1715s # 1715s # #else 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1715s # 1715s # #endif 1715s # static void 1715s # org_project_callable_iface_proxy_finalize (GObject *object) 1715s # { 1715s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1715s # g_datalist_clear (&proxy->priv->qdata); 1715s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1715s # guint prop_id G_GNUC_UNUSED, 1715s # GValue *value G_GNUC_UNUSED, 1715s # GParamSpec *pspec G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1715s # guint prop_id G_GNUC_UNUSED, 1715s # const GValue *value G_GNUC_UNUSED, 1715s # GParamSpec *pspec G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1715s # const gchar *sender_name G_GNUC_UNUSED, 1715s # const gchar *signal_name, 1715s # GVariant *parameters) 1715s # { 1715s # _ExtendedGDBusSignalInfo *info; 1715s # GVariantIter iter; 1715s # GVariant *child; 1715s # GValue *paramv; 1715s # gsize num_params; 1715s # gsize n; 1715s # guint signal_id; 1715s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1715s # if (info == NULL) 1715s # return; 1715s # num_params = g_variant_n_children (parameters); 1715s # paramv = g_new0 (GValue, num_params + 1); 1715s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1715s # g_value_set_object (¶mv[0], proxy); 1715s # g_variant_iter_init (&iter, parameters); 1715s # n = 1; 1715s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1715s # { 1715s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1715s # if (arg_info->use_gvariant) 1715s # { 1715s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1715s # g_value_set_variant (¶mv[n], child); 1715s # n++; 1715s # } 1715s # else 1715s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1715s # g_variant_unref (child); 1715s # } 1715s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1715s # g_signal_emitv (paramv, signal_id, 0, NULL); 1715s # for (n = 0; n < num_params + 1; n++) 1715s # g_value_unset (¶mv[n]); 1715s # g_free (paramv); 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1715s # GVariant *changed_properties, 1715s # const gchar *const *invalidated_properties) 1715s # { 1715s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1715s # guint n; 1715s # const gchar *key; 1715s # GVariantIter *iter; 1715s # _ExtendedGDBusPropertyInfo *info; 1715s # g_variant_get (changed_properties, "a{sv}", &iter); 1715s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1715s # { 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1715s # g_datalist_remove_data (&proxy->priv->qdata, key); 1715s # if (info != NULL) 1715s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1715s # } 1715s # g_variant_iter_free (iter); 1715s # for (n = 0; invalidated_properties[n] != NULL; n++) 1715s # { 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1715s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1715s # if (info != NULL) 1715s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1715s # } 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1715s # { 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1715s # #else 1715s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1715s # #endif 1715s # 1715s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1715s # { 1715s # GObjectClass *gobject_class; 1715s # GDBusProxyClass *proxy_class; 1715s # 1715s # gobject_class = G_OBJECT_CLASS (klass); 1715s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1715s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1715s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1715s # 1715s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1715s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1715s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1715s # 1715s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1715s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1715s # #endif 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_proxy_new: 1715s # * @connection: A #GDBusConnection. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1715s # * @user_data: User data to pass to @callback. 1715s # * 1715s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1715s # * 1715s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1715s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1715s # * 1715s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1715s # */ 1715s # void 1715s # org_project_callable_iface_proxy_new ( 1715s # GDBusConnection *connection, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GAsyncReadyCallback callback, 1715s # gpointer user_data) 1715s # { 1715s # 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); 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_proxy_new_finish: 1715s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectCallableIface * 1715s # org_project_callable_iface_proxy_new_finish ( 1715s # GAsyncResult *res, 1715s # GError **error) 1715s # { 1715s # GObject *ret; 1715s # GObject *source_object; 1715s # source_object = g_async_result_get_source_object (res); 1715s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1715s # g_object_unref (source_object); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_proxy_new_sync: 1715s # * @connection: A #GDBusConnection. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1715s # * 1715s # * The calling thread is blocked until a reply is received. 1715s # * 1715s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectCallableIface * 1715s # org_project_callable_iface_proxy_new_sync ( 1715s # GDBusConnection *connection, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GError **error) 1715s # { 1715s # GInitable *ret; 1715s # 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); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # 1715s # /** 1715s # * org_project_callable_iface_proxy_new_for_bus: 1715s # * @bus_type: A #GBusType. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: A bus name (well-known or unique). 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1715s # * @user_data: User data to pass to @callback. 1715s # * 1715s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1715s # * 1715s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1715s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1715s # * 1715s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1715s # */ 1715s # void 1715s # org_project_callable_iface_proxy_new_for_bus ( 1715s # GBusType bus_type, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GAsyncReadyCallback callback, 1715s # gpointer user_data) 1715s # { 1715s # 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); 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_proxy_new_for_bus_finish: 1715s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectCallableIface * 1715s # org_project_callable_iface_proxy_new_for_bus_finish ( 1715s # GAsyncResult *res, 1715s # GError **error) 1715s # { 1715s # GObject *ret; 1715s # GObject *source_object; 1715s # source_object = g_async_result_get_source_object (res); 1715s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1715s # g_object_unref (source_object); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_proxy_new_for_bus_sync: 1715s # * @bus_type: A #GBusType. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: A bus name (well-known or unique). 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1715s # * 1715s # * The calling thread is blocked until a reply is received. 1715s # * 1715s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectCallableIface * 1715s # org_project_callable_iface_proxy_new_for_bus_sync ( 1715s # GBusType bus_type, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GError **error) 1715s # { 1715s # GInitable *ret; 1715s # 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); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # 1715s # /* ------------------------------------------------------------------------ */ 1715s # 1715s # /** 1715s # * OrgProjectCallableIfaceSkeleton: 1715s # * 1715s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1715s # */ 1715s # 1715s # /** 1715s # * OrgProjectCallableIfaceSkeletonClass: 1715s # * @parent_class: The parent class. 1715s # * 1715s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1715s # */ 1715s # 1715s # struct _OrgProjectCallableIfaceSkeletonPrivate 1715s # { 1715s # GValue *properties; 1715s # GList *changed_properties; 1715s # GSource *changed_properties_idle_source; 1715s # GMainContext *context; 1715s # GMutex lock; 1715s # }; 1715s # 1715s # static void 1715s # _org_project_callable_iface_skeleton_handle_method_call ( 1715s # GDBusConnection *connection G_GNUC_UNUSED, 1715s # const gchar *sender G_GNUC_UNUSED, 1715s # const gchar *object_path G_GNUC_UNUSED, 1715s # const gchar *interface_name, 1715s # const gchar *method_name, 1715s # GVariant *parameters, 1715s # GDBusMethodInvocation *invocation, 1715s # gpointer user_data) 1715s # { 1715s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1715s # _ExtendedGDBusMethodInfo *info; 1715s # GVariantIter iter; 1715s # GVariant *child; 1715s # GValue *paramv; 1715s # gsize num_params; 1715s # guint num_extra; 1715s # gsize n; 1715s # guint signal_id; 1715s # GValue return_value = G_VALUE_INIT; 1715s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1715s # g_assert (info != NULL); 1715s # num_params = g_variant_n_children (parameters); 1715s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1715s # n = 0; 1715s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1715s # g_value_set_object (¶mv[n++], skeleton); 1715s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1715s # g_value_set_object (¶mv[n++], invocation); 1715s # if (info->pass_fdlist) 1715s # { 1715s # #ifdef G_OS_UNIX 1715s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1715s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1715s # #else 1715s # g_assert_not_reached (); 1715s # #endif 1715s # } 1715s # g_variant_iter_init (&iter, parameters); 1715s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1715s # { 1715s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1715s # if (arg_info->use_gvariant) 1715s # { 1715s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1715s # g_value_set_variant (¶mv[n], child); 1715s # n++; 1715s # } 1715s # else 1715s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1715s # g_variant_unref (child); 1715s # } 1715s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1715s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1715s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1715s # if (!g_value_get_boolean (&return_value)) 1715s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1715s # g_value_unset (&return_value); 1715s # for (n = 0; n < num_params + num_extra; n++) 1715s # g_value_unset (¶mv[n]); 1715s # g_free (paramv); 1715s # } 1715s # 1715s # static GVariant * 1715s # _org_project_callable_iface_skeleton_handle_get_property ( 1715s # GDBusConnection *connection G_GNUC_UNUSED, 1715s # const gchar *sender G_GNUC_UNUSED, 1715s # const gchar *object_path G_GNUC_UNUSED, 1715s # const gchar *interface_name G_GNUC_UNUSED, 1715s # const gchar *property_name, 1715s # GError **error, 1715s # gpointer user_data) 1715s # { 1715s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1715s # GValue value = G_VALUE_INIT; 1715s # GParamSpec *pspec; 1715s # _ExtendedGDBusPropertyInfo *info; 1715s # GVariant *ret; 1715s # ret = NULL; 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1715s # g_assert (info != NULL); 1715s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1715s # if (pspec == NULL) 1715s # { 1715s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1715s # } 1715s # else 1715s # { 1715s # g_value_init (&value, pspec->value_type); 1715s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1715s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1715s # g_value_unset (&value); 1715s # } 1715s # return ret; 1715s # } 1715s # 1715s # static gboolean 1715s # _org_project_callable_iface_skeleton_handle_set_property ( 1715s # GDBusConnection *connection G_GNUC_UNUSED, 1715s # const gchar *sender G_GNUC_UNUSED, 1715s # const gchar *object_path G_GNUC_UNUSED, 1715s # const gchar *interface_name G_GNUC_UNUSED, 1715s # const gchar *property_name, 1715s # GVariant *variant, 1715s # GError **error, 1715s # gpointer user_data) 1715s # { 1715s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1715s # GValue value = G_VALUE_INIT; 1715s # GParamSpec *pspec; 1715s # _ExtendedGDBusPropertyInfo *info; 1715s # gboolean ret; 1715s # ret = FALSE; 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1715s # g_assert (info != NULL); 1715s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1715s # if (pspec == NULL) 1715s # { 1715s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1715s # } 1715s # else 1715s # { 1715s # if (info->use_gvariant) 1715s # g_value_set_variant (&value, variant); 1715s # else 1715s # g_dbus_gvariant_to_gvalue (variant, &value); 1715s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1715s # g_value_unset (&value); 1715s # ret = TRUE; 1715s # } 1715s # return ret; 1715s # } 1715s # 1715s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1715s # { 1715s # _org_project_callable_iface_skeleton_handle_method_call, 1715s # _org_project_callable_iface_skeleton_handle_get_property, 1715s # _org_project_callable_iface_skeleton_handle_set_property, 1715s # {NULL} 1715s # }; 1715s # 1715s # static GDBusInterfaceInfo * 1715s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1715s # { 1715s # return org_project_callable_iface_interface_info (); 1715s # } 1715s # 1715s # static GDBusInterfaceVTable * 1715s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1715s # { 1715s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1715s # } 1715s # 1715s # static GVariant * 1715s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1715s # { 1715s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1715s # 1715s # GVariantBuilder builder; 1715s # guint n; 1715s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1715s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1715s # goto out; 1715s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1715s # { 1715s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1715s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1715s # { 1715s # GVariant *value; 1715s # 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); 1715s # if (value != NULL) 1715s # { 1715s # g_variant_take_ref (value); 1715s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1715s # g_variant_unref (value); 1715s # } 1715s # } 1715s # } 1715s # out: 1715s # return g_variant_builder_end (&builder); 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1715s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1715s # 1715s # #else 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1715s # 1715s # #endif 1715s # static void 1715s # org_project_callable_iface_skeleton_finalize (GObject *object) 1715s # { 1715s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1715s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1715s # if (skeleton->priv->changed_properties_idle_source != NULL) 1715s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1715s # g_main_context_unref (skeleton->priv->context); 1715s # g_mutex_clear (&skeleton->priv->lock); 1715s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1715s # { 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1715s # #else 1715s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1715s # #endif 1715s # 1715s # g_mutex_init (&skeleton->priv->lock); 1715s # skeleton->priv->context = g_main_context_ref_thread_default (); 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1715s # { 1715s # GObjectClass *gobject_class; 1715s # GDBusInterfaceSkeletonClass *skeleton_class; 1715s # 1715s # gobject_class = G_OBJECT_CLASS (klass); 1715s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1715s # 1715s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1715s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1715s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1715s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1715s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1715s # 1715s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1715s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1715s # #endif 1715s # } 1715s # 1715s # static void 1715s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # /** 1715s # * org_project_callable_iface_skeleton_new: 1715s # * 1715s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1715s # */ 1715s # OrgProjectCallableIface * 1715s # org_project_callable_iface_skeleton_new (void) 1715s # { 1715s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1715s # } 1715s # 1715s # /* ------------------------------------------------------------------------ 1715s # * Code for interface org.project.OtherCallableIface 1715s # * ------------------------------------------------------------------------ 1715s # */ 1715s # 1715s # /** 1715s # * SECTION:OrgProjectOtherCallableIface 1715s # * @title: OrgProjectOtherCallableIface 1715s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1715s # * 1715s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1715s # */ 1715s # 1715s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1715s # 1715s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1715s # { 1715s # { 1715s # -1, 1715s # (gchar *) "SimpleMethod", 1715s # NULL, 1715s # NULL, 1715s # NULL 1715s # }, 1715s # "handle-simple-method", 1715s # FALSE 1715s # }; 1715s # 1715s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1715s # { 1715s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1715s # NULL 1715s # }; 1715s # 1715s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1715s # { 1715s # { 1715s # -1, 1715s # (gchar *) "org.project.OtherCallableIface", 1715s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1715s # NULL, 1715s # NULL, 1715s # NULL 1715s # }, 1715s # "org-project-other-callable-iface", 1715s # }; 1715s # 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_interface_info: 1715s # * 1715s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1715s # * 1715s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1715s # */ 1715s # GDBusInterfaceInfo * 1715s # org_project_other_callable_iface_interface_info (void) 1715s # { 1715s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_override_properties: 1715s # * @klass: The class structure for a #GObject derived class. 1715s # * @property_id_begin: The property id to assign to the first overridden property. 1715s # * 1715s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1715s # * The properties are overridden in the order they are defined. 1715s # * 1715s # * Returns: The last property id. 1715s # */ 1715s # guint 1715s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1715s # { 1715s # return property_id_begin - 1; 1715s # } 1715s # 1715s # 1715s # inline static void 1715s # org_project_other_callable_iface_method_marshal_simple_method ( 1715s # GClosure *closure, 1715s # GValue *return_value, 1715s # unsigned int n_param_values, 1715s # const GValue *param_values, 1715s # void *invocation_hint, 1715s # void *marshal_data) 1715s # { 1715s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1715s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1715s # } 1715s # 1715s # 1715s # /** 1715s # * OrgProjectOtherCallableIface: 1715s # * 1715s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1715s # */ 1715s # 1715s # /** 1715s # * OrgProjectOtherCallableIfaceIface: 1715s # * @parent_iface: The parent interface. 1715s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1715s # * 1715s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1715s # */ 1715s # 1715s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1715s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1715s # 1715s # static void 1715s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1715s # { 1715s # /* GObject signals for incoming D-Bus method calls: */ 1715s # /** 1715s # * OrgProjectOtherCallableIface::handle-simple-method: 1715s # * @object: A #OrgProjectOtherCallableIface. 1715s # * @invocation: A #GDBusMethodInvocation. 1715s # * 1715s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1715s # * 1715s # * 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. 1715s # * 1715s # * 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. 1715s # */ 1715s # g_signal_new ("handle-simple-method", 1715s # G_TYPE_FROM_INTERFACE (iface), 1715s # G_SIGNAL_RUN_LAST, 1715s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1715s # g_signal_accumulator_true_handled, 1715s # NULL, 1715s # org_project_other_callable_iface_method_marshal_simple_method, 1715s # G_TYPE_BOOLEAN, 1715s # 1, 1715s # G_TYPE_DBUS_METHOD_INVOCATION); 1715s # 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_call_simple_method: 1715s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1715s # * @user_data: User data to pass to @callback. 1715s # * 1715s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1715s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1715s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1715s # * 1715s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1715s # */ 1715s # void 1715s # org_project_other_callable_iface_call_simple_method ( 1715s # OrgProjectOtherCallableIface *proxy, 1715s # GCancellable *cancellable, 1715s # GAsyncReadyCallback callback, 1715s # gpointer user_data) 1715s # { 1715s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1715s # "SimpleMethod", 1715s # g_variant_new ("()"), 1715s # G_DBUS_CALL_FLAGS_NONE, 1715s # -1, 1715s # cancellable, 1715s # callback, 1715s # user_data); 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_call_simple_method_finish: 1715s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1715s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1715s # * @error: Return location for error or %NULL. 1715s # * 1715s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1715s # * 1715s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1715s # */ 1715s # gboolean 1715s # org_project_other_callable_iface_call_simple_method_finish ( 1715s # OrgProjectOtherCallableIface *proxy, 1715s # GAsyncResult *res, 1715s # GError **error) 1715s # { 1715s # GVariant *_ret; 1715s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1715s # if (_ret == NULL) 1715s # goto _out; 1715s # g_variant_get (_ret, 1715s # "()"); 1715s # g_variant_unref (_ret); 1715s # _out: 1715s # return _ret != NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_call_simple_method_sync: 1715s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @error: Return location for error or %NULL. 1715s # * 1715s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1715s # * 1715s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1715s # * 1715s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1715s # */ 1715s # gboolean 1715s # org_project_other_callable_iface_call_simple_method_sync ( 1715s # OrgProjectOtherCallableIface *proxy, 1715s # GCancellable *cancellable, 1715s # GError **error) 1715s # { 1715s # GVariant *_ret; 1715s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1715s # "SimpleMethod", 1715s # g_variant_new ("()"), 1715s # G_DBUS_CALL_FLAGS_NONE, 1715s # -1, 1715s # cancellable, 1715s # error); 1715s # if (_ret == NULL) 1715s # goto _out; 1715s # g_variant_get (_ret, 1715s # "()"); 1715s # g_variant_unref (_ret); 1715s # _out: 1715s # return _ret != NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_complete_simple_method: 1715s # * @object: A #OrgProjectOtherCallableIface. 1715s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1715s # * 1715s # * 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. 1715s # * 1715s # * This method will free @invocation, you cannot use it afterwards. 1715s # */ 1715s # void 1715s # org_project_other_callable_iface_complete_simple_method ( 1715s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1715s # GDBusMethodInvocation *invocation) 1715s # { 1715s # g_dbus_method_invocation_return_value (invocation, 1715s # g_variant_new ("()")); 1715s # } 1715s # 1715s # /* ------------------------------------------------------------------------ */ 1715s # 1715s # /** 1715s # * OrgProjectOtherCallableIfaceProxy: 1715s # * 1715s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1715s # */ 1715s # 1715s # /** 1715s # * OrgProjectOtherCallableIfaceProxyClass: 1715s # * @parent_class: The parent class. 1715s # * 1715s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1715s # */ 1715s # 1715s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1715s # { 1715s # GData *qdata; 1715s # }; 1715s # 1715s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1715s # 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1715s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1715s # 1715s # #else 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1715s # 1715s # #endif 1715s # static void 1715s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1715s # { 1715s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1715s # g_datalist_clear (&proxy->priv->qdata); 1715s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1715s # guint prop_id G_GNUC_UNUSED, 1715s # GValue *value G_GNUC_UNUSED, 1715s # GParamSpec *pspec G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1715s # guint prop_id G_GNUC_UNUSED, 1715s # const GValue *value G_GNUC_UNUSED, 1715s # GParamSpec *pspec G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1715s # const gchar *sender_name G_GNUC_UNUSED, 1715s # const gchar *signal_name, 1715s # GVariant *parameters) 1715s # { 1715s # _ExtendedGDBusSignalInfo *info; 1715s # GVariantIter iter; 1715s # GVariant *child; 1715s # GValue *paramv; 1715s # gsize num_params; 1715s # gsize n; 1715s # guint signal_id; 1715s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1715s # if (info == NULL) 1715s # return; 1715s # num_params = g_variant_n_children (parameters); 1715s # paramv = g_new0 (GValue, num_params + 1); 1715s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1715s # g_value_set_object (¶mv[0], proxy); 1715s # g_variant_iter_init (&iter, parameters); 1715s # n = 1; 1715s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1715s # { 1715s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1715s # if (arg_info->use_gvariant) 1715s # { 1715s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1715s # g_value_set_variant (¶mv[n], child); 1715s # n++; 1715s # } 1715s # else 1715s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1715s # g_variant_unref (child); 1715s # } 1715s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1715s # g_signal_emitv (paramv, signal_id, 0, NULL); 1715s # for (n = 0; n < num_params + 1; n++) 1715s # g_value_unset (¶mv[n]); 1715s # g_free (paramv); 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1715s # GVariant *changed_properties, 1715s # const gchar *const *invalidated_properties) 1715s # { 1715s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1715s # guint n; 1715s # const gchar *key; 1715s # GVariantIter *iter; 1715s # _ExtendedGDBusPropertyInfo *info; 1715s # g_variant_get (changed_properties, "a{sv}", &iter); 1715s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1715s # { 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1715s # g_datalist_remove_data (&proxy->priv->qdata, key); 1715s # if (info != NULL) 1715s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1715s # } 1715s # g_variant_iter_free (iter); 1715s # for (n = 0; invalidated_properties[n] != NULL; n++) 1715s # { 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1715s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1715s # if (info != NULL) 1715s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1715s # } 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1715s # { 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1715s # #else 1715s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1715s # #endif 1715s # 1715s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1715s # { 1715s # GObjectClass *gobject_class; 1715s # GDBusProxyClass *proxy_class; 1715s # 1715s # gobject_class = G_OBJECT_CLASS (klass); 1715s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1715s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1715s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1715s # 1715s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1715s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1715s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1715s # 1715s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1715s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1715s # #endif 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_proxy_new: 1715s # * @connection: A #GDBusConnection. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1715s # * @user_data: User data to pass to @callback. 1715s # * 1715s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1715s # * 1715s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1715s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1715s # * 1715s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1715s # */ 1715s # void 1715s # org_project_other_callable_iface_proxy_new ( 1715s # GDBusConnection *connection, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GAsyncReadyCallback callback, 1715s # gpointer user_data) 1715s # { 1715s # 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); 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_proxy_new_finish: 1715s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectOtherCallableIface * 1715s # org_project_other_callable_iface_proxy_new_finish ( 1715s # GAsyncResult *res, 1715s # GError **error) 1715s # { 1715s # GObject *ret; 1715s # GObject *source_object; 1715s # source_object = g_async_result_get_source_object (res); 1715s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1715s # g_object_unref (source_object); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_proxy_new_sync: 1715s # * @connection: A #GDBusConnection. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1715s # * 1715s # * The calling thread is blocked until a reply is received. 1715s # * 1715s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectOtherCallableIface * 1715s # org_project_other_callable_iface_proxy_new_sync ( 1715s # GDBusConnection *connection, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GError **error) 1715s # { 1715s # GInitable *ret; 1715s # 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); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_proxy_new_for_bus: 1715s # * @bus_type: A #GBusType. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: A bus name (well-known or unique). 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1715s # * @user_data: User data to pass to @callback. 1715s # * 1715s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1715s # * 1715s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1715s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1715s # * 1715s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1715s # */ 1715s # void 1715s # org_project_other_callable_iface_proxy_new_for_bus ( 1715s # GBusType bus_type, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GAsyncReadyCallback callback, 1715s # gpointer user_data) 1715s # { 1715s # 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); 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1715s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectOtherCallableIface * 1715s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1715s # GAsyncResult *res, 1715s # GError **error) 1715s # { 1715s # GObject *ret; 1715s # GObject *source_object; 1715s # source_object = g_async_result_get_source_object (res); 1715s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1715s # g_object_unref (source_object); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1715s # * @bus_type: A #GBusType. 1715s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1715s # * @name: A bus name (well-known or unique). 1715s # * @object_path: An object path. 1715s # * @cancellable: (nullable): A #GCancellable or %NULL. 1715s # * @error: Return location for error or %NULL 1715s # * 1715s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1715s # * 1715s # * The calling thread is blocked until a reply is received. 1715s # * 1715s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1715s # */ 1715s # OrgProjectOtherCallableIface * 1715s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1715s # GBusType bus_type, 1715s # GDBusProxyFlags flags, 1715s # const gchar *name, 1715s # const gchar *object_path, 1715s # GCancellable *cancellable, 1715s # GError **error) 1715s # { 1715s # GInitable *ret; 1715s # 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); 1715s # if (ret != NULL) 1715s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1715s # else 1715s # return NULL; 1715s # } 1715s # 1715s # 1715s # /* ------------------------------------------------------------------------ */ 1715s # 1715s # /** 1715s # * OrgProjectOtherCallableIfaceSkeleton: 1715s # * 1715s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1715s # */ 1715s # 1715s # /** 1715s # * OrgProjectOtherCallableIfaceSkeletonClass: 1715s # * @parent_class: The parent class. 1715s # * 1715s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1715s # */ 1715s # 1715s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1715s # { 1715s # GValue *properties; 1715s # GList *changed_properties; 1715s # GSource *changed_properties_idle_source; 1715s # GMainContext *context; 1715s # GMutex lock; 1715s # }; 1715s # 1715s # static void 1715s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1715s # GDBusConnection *connection G_GNUC_UNUSED, 1715s # const gchar *sender G_GNUC_UNUSED, 1715s # const gchar *object_path G_GNUC_UNUSED, 1715s # const gchar *interface_name, 1715s # const gchar *method_name, 1715s # GVariant *parameters, 1715s # GDBusMethodInvocation *invocation, 1715s # gpointer user_data) 1715s # { 1715s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1715s # _ExtendedGDBusMethodInfo *info; 1715s # GVariantIter iter; 1715s # GVariant *child; 1715s # GValue *paramv; 1715s # gsize num_params; 1715s # guint num_extra; 1715s # gsize n; 1715s # guint signal_id; 1715s # GValue return_value = G_VALUE_INIT; 1715s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1715s # g_assert (info != NULL); 1715s # num_params = g_variant_n_children (parameters); 1715s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1715s # n = 0; 1715s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1715s # g_value_set_object (¶mv[n++], skeleton); 1715s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1715s # g_value_set_object (¶mv[n++], invocation); 1715s # if (info->pass_fdlist) 1715s # { 1715s # #ifdef G_OS_UNIX 1715s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1715s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1715s # #else 1715s # g_assert_not_reached (); 1715s # #endif 1715s # } 1715s # g_variant_iter_init (&iter, parameters); 1715s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1715s # { 1715s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1715s # if (arg_info->use_gvariant) 1715s # { 1715s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1715s # g_value_set_variant (¶mv[n], child); 1715s # n++; 1715s # } 1715s # else 1715s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1715s # g_variant_unref (child); 1715s # } 1715s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1715s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1715s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1715s # if (!g_value_get_boolean (&return_value)) 1715s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1715s # g_value_unset (&return_value); 1715s # for (n = 0; n < num_params + num_extra; n++) 1715s # g_value_unset (¶mv[n]); 1715s # g_free (paramv); 1715s # } 1715s # 1715s # static GVariant * 1715s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1715s # GDBusConnection *connection G_GNUC_UNUSED, 1715s # const gchar *sender G_GNUC_UNUSED, 1715s # const gchar *object_path G_GNUC_UNUSED, 1715s # const gchar *interface_name G_GNUC_UNUSED, 1715s # const gchar *property_name, 1715s # GError **error, 1715s # gpointer user_data) 1715s # { 1715s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1715s # GValue value = G_VALUE_INIT; 1715s # GParamSpec *pspec; 1715s # _ExtendedGDBusPropertyInfo *info; 1715s # GVariant *ret; 1715s # ret = NULL; 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1715s # g_assert (info != NULL); 1715s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1715s # if (pspec == NULL) 1715s # { 1715s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1715s # } 1715s # else 1715s # { 1715s # g_value_init (&value, pspec->value_type); 1715s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1715s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1715s # g_value_unset (&value); 1715s # } 1715s # return ret; 1715s # } 1715s # 1715s # static gboolean 1715s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1715s # GDBusConnection *connection G_GNUC_UNUSED, 1715s # const gchar *sender G_GNUC_UNUSED, 1715s # const gchar *object_path G_GNUC_UNUSED, 1715s # const gchar *interface_name G_GNUC_UNUSED, 1715s # const gchar *property_name, 1715s # GVariant *variant, 1715s # GError **error, 1715s # gpointer user_data) 1715s # { 1715s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1715s # GValue value = G_VALUE_INIT; 1715s # GParamSpec *pspec; 1715s # _ExtendedGDBusPropertyInfo *info; 1715s # gboolean ret; 1715s # ret = FALSE; 1715s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1715s # g_assert (info != NULL); 1715s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1715s # if (pspec == NULL) 1715s # { 1715s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1715s # } 1715s # else 1715s # { 1715s # if (info->use_gvariant) 1715s # g_value_set_variant (&value, variant); 1715s # else 1715s # g_dbus_gvariant_to_gvalue (variant, &value); 1715s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1715s # g_value_unset (&value); 1715s # ret = TRUE; 1715s # } 1715s # return ret; 1715s # } 1715s # 1715s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1715s # { 1715s # _org_project_other_callable_iface_skeleton_handle_method_call, 1715s # _org_project_other_callable_iface_skeleton_handle_get_property, 1715s # _org_project_other_callable_iface_skeleton_handle_set_property, 1715s # {NULL} 1715s # }; 1715s # 1715s # static GDBusInterfaceInfo * 1715s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1715s # { 1715s # return org_project_other_callable_iface_interface_info (); 1715s # } 1715s # 1715s # static GDBusInterfaceVTable * 1715s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1715s # { 1715s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1715s # } 1715s # 1715s # static GVariant * 1715s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1715s # { 1715s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1715s # 1715s # GVariantBuilder builder; 1715s # guint n; 1715s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1715s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1715s # goto out; 1715s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1715s # { 1715s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1715s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1715s # { 1715s # GVariant *value; 1715s # 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); 1715s # if (value != NULL) 1715s # { 1715s # g_variant_take_ref (value); 1715s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1715s # g_variant_unref (value); 1715s # } 1715s # } 1715s # } 1715s # out: 1715s # return g_variant_builder_end (&builder); 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1715s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1715s # 1715s # #else 1715s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1715s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1715s # 1715s # #endif 1715s # static void 1715s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1715s # { 1715s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1715s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1715s # if (skeleton->priv->changed_properties_idle_source != NULL) 1715s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1715s # g_main_context_unref (skeleton->priv->context); 1715s # g_mutex_clear (&skeleton->priv->lock); 1715s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1715s # { 1715s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1715s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1715s # #else 1715s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1715s # #endif 1715s # 1715s # g_mutex_init (&skeleton->priv->lock); 1715s # skeleton->priv->context = g_main_context_ref_thread_default (); 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1715s # { 1715s # GObjectClass *gobject_class; 1715s # GDBusInterfaceSkeletonClass *skeleton_class; 1715s # 1715s # gobject_class = G_OBJECT_CLASS (klass); 1715s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1715s # 1715s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1715s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1715s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1715s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1715s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1715s # 1715s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1715s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1715s # #endif 1715s # } 1715s # 1715s # static void 1715s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1715s # { 1715s # } 1715s # 1715s # /** 1715s # * org_project_other_callable_iface_skeleton_new: 1715s # * 1715s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1715s # * 1715s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1715s # */ 1715s # OrgProjectOtherCallableIface * 1715s # org_project_other_callable_iface_skeleton_new (void) 1715s # { 1715s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1715s # } 1719s # Executing: glib/codegen.py.test 1719s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1719s # tmpdir: /tmp/tmp1uc81hqq 1719s # codegen: /usr/bin/gdbus-codegen 1719s # /tmp/tmp1uc81hqq/tmp5h89yl4w.xml: 1719s # 1719s # 1719s # 1719s # 1719s # 1719s # 1719s # 1719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp5h89yl4w.xml', '--output', '-', '--body'] 1719s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1719s # Output: /* 1719s # * This file is generated by gdbus-codegen, do not modify it. 1719s # * 1719s # * The license of this code is the same as for the D-Bus interface description 1719s # * it was derived from. Note that it links to GLib, so must comply with the 1719s # * LGPL linking clauses. 1719s # */ 1719s # 1719s # #ifdef HAVE_CONFIG_H 1719s # # include "config.h" 1719s # #endif 1719s # 1719s # #include 1719s # #ifdef G_OS_UNIX 1719s # # include 1719s # #endif 1719s # 1719s # #ifdef G_ENABLE_DEBUG 1719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1719s # #else /* !G_ENABLE_DEBUG */ 1719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1719s # * Do not access GValues directly in your code. Instead, use the 1719s # * g_value_get_*() functions 1719s # */ 1719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1719s # #endif /* !G_ENABLE_DEBUG */ 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusArgInfo parent_struct; 1719s # gboolean use_gvariant; 1719s # } _ExtendedGDBusArgInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusMethodInfo parent_struct; 1719s # const gchar *signal_name; 1719s # gboolean pass_fdlist; 1719s # } _ExtendedGDBusMethodInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusSignalInfo parent_struct; 1719s # const gchar *signal_name; 1719s # } _ExtendedGDBusSignalInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusPropertyInfo parent_struct; 1719s # const gchar *hyphen_name; 1719s # guint use_gvariant : 1; 1719s # guint emits_changed_signal : 1; 1719s # } _ExtendedGDBusPropertyInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusInterfaceInfo parent_struct; 1719s # const gchar *hyphen_name; 1719s # } _ExtendedGDBusInterfaceInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # const _ExtendedGDBusPropertyInfo *info; 1719s # guint prop_id; 1719s # GValue orig_value; /* the value before the change */ 1719s # } ChangedProperty; 1719s # 1719s # static void 1719s # _changed_property_free (ChangedProperty *data) 1719s # { 1719s # g_value_unset (&data->orig_value); 1719s # g_free (data); 1719s # } 1719s # 1719s # static gboolean 1719s # _g_strv_equal0 (gchar **a, gchar **b) 1719s # { 1719s # gboolean ret = FALSE; 1719s # guint n; 1719s # if (a == NULL && b == NULL) 1719s # { 1719s # ret = TRUE; 1719s # goto out; 1719s # } 1719s # if (a == NULL || b == NULL) 1719s # goto out; 1719s # if (g_strv_length (a) != g_strv_length (b)) 1719s # goto out; 1719s # for (n = 0; a[n] != NULL; n++) 1719s # if (g_strcmp0 (a[n], b[n]) != 0) 1719s # goto out; 1719s # ret = TRUE; 1719s # out: 1719s # return ret; 1719s # } 1719s # 1719s # static gboolean 1719s # _g_variant_equal0 (GVariant *a, GVariant *b) 1719s # { 1719s # gboolean ret = FALSE; 1719s # if (a == NULL && b == NULL) 1719s # { 1719s # ret = TRUE; 1719s # goto out; 1719s # } 1719s # if (a == NULL || b == NULL) 1719s # goto out; 1719s # ret = g_variant_equal (a, b); 1719s # out: 1719s # return ret; 1719s # } 1719s # 1719s # G_GNUC_UNUSED static gboolean 1719s # _g_value_equal (const GValue *a, const GValue *b) 1719s # { 1719s # gboolean ret = FALSE; 1719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1719s # switch (G_VALUE_TYPE (a)) 1719s # { 1719s # case G_TYPE_BOOLEAN: 1719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1719s # break; 1719s # case G_TYPE_UCHAR: 1719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1719s # break; 1719s # case G_TYPE_INT: 1719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1719s # break; 1719s # case G_TYPE_UINT: 1719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1719s # break; 1719s # case G_TYPE_INT64: 1719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1719s # break; 1719s # case G_TYPE_UINT64: 1719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1719s # break; 1719s # case G_TYPE_DOUBLE: 1719s # { 1719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1719s # gdouble da = g_value_get_double (a); 1719s # gdouble db = g_value_get_double (b); 1719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1719s # } 1719s # break; 1719s # case G_TYPE_STRING: 1719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1719s # break; 1719s # case G_TYPE_VARIANT: 1719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1719s # break; 1719s # default: 1719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1719s # else 1719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1719s # break; 1719s # } 1719s # return ret; 1719s # } 1719s # 1719s # static void 1719s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1719s # GClosure *closure, 1719s # GValue *return_value, 1719s # unsigned int n_param_values, 1719s # const GValue *param_values, 1719s # void *invocation_hint G_GNUC_UNUSED, 1719s # void *marshal_data) 1719s # { 1719s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1719s # (void *data1, 1719s # GDBusMethodInvocation *arg_method_invocation, 1719s # gboolean arg_arg_b, 1719s # void *data2); 1719s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1719s # GCClosure *cc = (GCClosure*) closure; 1719s # void *data1, *data2; 1719s # gboolean v_return; 1719s # 1719s # g_return_if_fail (return_value != NULL); 1719s # g_return_if_fail (n_param_values == 3); 1719s # 1719s # if (G_CCLOSURE_SWAP_DATA (closure)) 1719s # { 1719s # data1 = closure->data; 1719s # data2 = g_value_peek_pointer (param_values + 0); 1719s # } 1719s # else 1719s # { 1719s # data1 = g_value_peek_pointer (param_values + 0); 1719s # data2 = closure->data; 1719s # } 1719s # 1719s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1719s # (marshal_data ? marshal_data : cc->callback); 1719s # 1719s # v_return = 1719s # callback (data1, 1719s # g_marshal_value_peek_object (param_values + 1), 1719s # g_marshal_value_peek_boolean (param_values + 2), 1719s # data2); 1719s # 1719s # g_value_set_boolean (return_value, v_return); 1719s # } 1719s # 1719s # /* ------------------------------------------------------------------------ 1719s # * Code for interface org.project.UsefulInterface 1719s # * ------------------------------------------------------------------------ 1719s # */ 1719s # 1719s # /** 1719s # * SECTION:OrgProjectUsefulInterface 1719s # * @title: OrgProjectUsefulInterface 1719s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1719s # * 1719s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1719s # */ 1719s # 1719s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1719s # 1719s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1719s # { 1719s # { 1719s # -1, 1719s # (gchar *) "arg_b", 1719s # (gchar *) "b", 1719s # NULL 1719s # }, 1719s # FALSE 1719s # }; 1719s # 1719s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1719s # { 1719s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1719s # NULL 1719s # }; 1719s # 1719s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1719s # { 1719s # { 1719s # -1, 1719s # (gchar *) "SingleArgMethodB", 1719s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1719s # NULL, 1719s # NULL 1719s # }, 1719s # "handle-single-arg-method-b", 1719s # FALSE 1719s # }; 1719s # 1719s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1719s # { 1719s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1719s # NULL 1719s # }; 1719s # 1719s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1719s # { 1719s # { 1719s # -1, 1719s # (gchar *) "org.project.UsefulInterface", 1719s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1719s # NULL, 1719s # NULL, 1719s # NULL 1719s # }, 1719s # "org-project-useful-interface", 1719s # }; 1719s # 1719s # 1719s # /** 1719s # * org_project_useful_interface_interface_info: 1719s # * 1719s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1719s # * 1719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1719s # */ 1719s # GDBusInterfaceInfo * 1719s # org_project_useful_interface_interface_info (void) 1719s # { 1719s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_override_properties: 1719s # * @klass: The class structure for a #GObject derived class. 1719s # * @property_id_begin: The property id to assign to the first overridden property. 1719s # * 1719s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1719s # * The properties are overridden in the order they are defined. 1719s # * 1719s # * Returns: The last property id. 1719s # */ 1719s # guint 1719s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1719s # { 1719s # return property_id_begin - 1; 1719s # } 1719s # 1719s # 1719s # inline static void 1719s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1719s # GClosure *closure, 1719s # GValue *return_value, 1719s # unsigned int n_param_values, 1719s # const GValue *param_values, 1719s # void *invocation_hint, 1719s # void *marshal_data) 1719s # { 1719s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1719s # } 1719s # 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterface: 1719s # * 1719s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1719s # */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceIface: 1719s # * @parent_iface: The parent interface. 1719s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1719s # * 1719s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1719s # */ 1719s # 1719s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1719s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1719s # 1719s # static void 1719s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1719s # { 1719s # /* GObject signals for incoming D-Bus method calls: */ 1719s # /** 1719s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1719s # * @object: A #OrgProjectUsefulInterface. 1719s # * @invocation: A #GDBusMethodInvocation. 1719s # * @arg_arg_b: Argument passed by remote caller. 1719s # * 1719s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1719s # * 1719s # * 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. 1719s # * 1719s # * 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. 1719s # */ 1719s # g_signal_new ("handle-single-arg-method-b", 1719s # G_TYPE_FROM_INTERFACE (iface), 1719s # G_SIGNAL_RUN_LAST, 1719s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1719s # g_signal_accumulator_true_handled, 1719s # NULL, 1719s # org_project_useful_interface_method_marshal_single_arg_method_b, 1719s # G_TYPE_BOOLEAN, 1719s # 2, 1719s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1719s # 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_call_single_arg_method_b: 1719s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1719s # * @arg_arg_b: Argument to pass with the method invocation. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1719s # * @user_data: User data to pass to @callback. 1719s # * 1719s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1719s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1719s # * 1719s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1719s # */ 1719s # void 1719s # org_project_useful_interface_call_single_arg_method_b ( 1719s # OrgProjectUsefulInterface *proxy, 1719s # gboolean arg_arg_b, 1719s # GCancellable *cancellable, 1719s # GAsyncReadyCallback callback, 1719s # gpointer user_data) 1719s # { 1719s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1719s # "SingleArgMethodB", 1719s # g_variant_new ("(b)", 1719s # arg_arg_b), 1719s # G_DBUS_CALL_FLAGS_NONE, 1719s # -1, 1719s # cancellable, 1719s # callback, 1719s # user_data); 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_call_single_arg_method_b_finish: 1719s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1719s # * @error: Return location for error or %NULL. 1719s # * 1719s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1719s # * 1719s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1719s # */ 1719s # gboolean 1719s # org_project_useful_interface_call_single_arg_method_b_finish ( 1719s # OrgProjectUsefulInterface *proxy, 1719s # GAsyncResult *res, 1719s # GError **error) 1719s # { 1719s # GVariant *_ret; 1719s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1719s # if (_ret == NULL) 1719s # goto _out; 1719s # g_variant_get (_ret, 1719s # "()"); 1719s # g_variant_unref (_ret); 1719s # _out: 1719s # return _ret != NULL; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_call_single_arg_method_b_sync: 1719s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1719s # * @arg_arg_b: Argument to pass with the method invocation. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @error: Return location for error or %NULL. 1719s # * 1719s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1719s # * 1719s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1719s # * 1719s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1719s # */ 1719s # gboolean 1719s # org_project_useful_interface_call_single_arg_method_b_sync ( 1719s # OrgProjectUsefulInterface *proxy, 1719s # gboolean arg_arg_b, 1719s # GCancellable *cancellable, 1719s # GError **error) 1719s # { 1719s # GVariant *_ret; 1719s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1719s # "SingleArgMethodB", 1719s # g_variant_new ("(b)", 1719s # arg_arg_b), 1719s # G_DBUS_CALL_FLAGS_NONE, 1719s # -1, 1719s # cancellable, 1719s # error); 1719s # if (_ret == NULL) 1719s # goto _out; 1719s # g_variant_get (_ret, 1719s # "()"); 1719s # g_variant_unref (_ret); 1719s # _out: 1719s # return _ret != NULL; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_complete_single_arg_method_b: 1719s # * @object: A #OrgProjectUsefulInterface. 1719s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1719s # * 1719s # * 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. 1719s # * 1719s # * This method will free @invocation, you cannot use it afterwards. 1719s # */ 1719s # void 1719s # org_project_useful_interface_complete_single_arg_method_b ( 1719s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1719s # GDBusMethodInvocation *invocation) 1719s # { 1719s # g_dbus_method_invocation_return_value (invocation, 1719s # g_variant_new ("()")); 1719s # } 1719s # 1719s # /* ------------------------------------------------------------------------ */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceProxy: 1719s # * 1719s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1719s # */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceProxyClass: 1719s # * @parent_class: The parent class. 1719s # * 1719s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1719s # */ 1719s # 1719s # struct _OrgProjectUsefulInterfaceProxyPrivate 1719s # { 1719s # GData *qdata; 1719s # }; 1719s # 1719s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1719s # 1719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1719s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1719s # 1719s # #else 1719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1719s # 1719s # #endif 1719s # static void 1719s # org_project_useful_interface_proxy_finalize (GObject *object) 1719s # { 1719s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1719s # g_datalist_clear (&proxy->priv->qdata); 1719s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1719s # guint prop_id G_GNUC_UNUSED, 1719s # GValue *value G_GNUC_UNUSED, 1719s # GParamSpec *pspec G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1719s # guint prop_id G_GNUC_UNUSED, 1719s # const GValue *value G_GNUC_UNUSED, 1719s # GParamSpec *pspec G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1719s # const gchar *sender_name G_GNUC_UNUSED, 1719s # const gchar *signal_name, 1719s # GVariant *parameters) 1719s # { 1719s # _ExtendedGDBusSignalInfo *info; 1719s # GVariantIter iter; 1719s # GVariant *child; 1719s # GValue *paramv; 1719s # gsize num_params; 1719s # gsize n; 1719s # guint signal_id; 1719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1719s # if (info == NULL) 1719s # return; 1719s # num_params = g_variant_n_children (parameters); 1719s # paramv = g_new0 (GValue, num_params + 1); 1719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1719s # g_value_set_object (¶mv[0], proxy); 1719s # g_variant_iter_init (&iter, parameters); 1719s # n = 1; 1719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1719s # { 1719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1719s # if (arg_info->use_gvariant) 1719s # { 1719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1719s # g_value_set_variant (¶mv[n], child); 1719s # n++; 1719s # } 1719s # else 1719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1719s # g_variant_unref (child); 1719s # } 1719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1719s # g_signal_emitv (paramv, signal_id, 0, NULL); 1719s # for (n = 0; n < num_params + 1; n++) 1719s # g_value_unset (¶mv[n]); 1719s # g_free (paramv); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1719s # GVariant *changed_properties, 1719s # const gchar *const *invalidated_properties) 1719s # { 1719s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1719s # guint n; 1719s # const gchar *key; 1719s # GVariantIter *iter; 1719s # _ExtendedGDBusPropertyInfo *info; 1719s # g_variant_get (changed_properties, "a{sv}", &iter); 1719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1719s # { 1719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1719s # g_datalist_remove_data (&proxy->priv->qdata, key); 1719s # if (info != NULL) 1719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1719s # } 1719s # g_variant_iter_free (iter); 1719s # for (n = 0; invalidated_properties[n] != NULL; n++) 1719s # { 1719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1719s # if (info != NULL) 1719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1719s # } 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1719s # { 1719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1719s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1719s # #else 1719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1719s # #endif 1719s # 1719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1719s # { 1719s # GObjectClass *gobject_class; 1719s # GDBusProxyClass *proxy_class; 1719s # 1719s # gobject_class = G_OBJECT_CLASS (klass); 1719s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1719s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1719s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1719s # 1719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1719s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1719s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1719s # 1719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1719s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1719s # #endif 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_proxy_new: 1719s # * @connection: A #GDBusConnection. 1719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1719s # * @object_path: An object path. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1719s # * @user_data: User data to pass to @callback. 1719s # * 1719s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1719s # * 1719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1719s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1719s # * 1719s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1719s # */ 1719s # void 1719s # org_project_useful_interface_proxy_new ( 1719s # GDBusConnection *connection, 1719s # GDBusProxyFlags flags, 1719s # const gchar *name, 1719s # const gchar *object_path, 1719s # GCancellable *cancellable, 1719s # GAsyncReadyCallback callback, 1719s # gpointer user_data) 1719s # { 1719s # g_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); 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_proxy_new_finish: 1719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1719s # * @error: Return location for error or %NULL 1719s # * 1719s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1719s # * 1719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1719s # */ 1719s # OrgProjectUsefulInterface * 1719s # org_project_useful_interface_proxy_new_finish ( 1719s # GAsyncResult *res, 1719s # GError **error) 1719s # { 1719s # GObject *ret; 1719s # GObject *source_object; 1719s # source_object = g_async_result_get_source_object (res); 1719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1719s # g_object_unref (source_object); 1719s # if (ret != NULL) 1719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1719s # else 1719s # return NULL; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_proxy_new_sync: 1719s # * @connection: A #GDBusConnection. 1719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1719s # * @object_path: An object path. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @error: Return location for error or %NULL 1719s # * 1719s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1719s # * 1719s # * The calling thread is blocked until a reply is received. 1719s # * 1719s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1719s # * 1719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1719s # */ 1719s # OrgProjectUsefulInterface * 1719s # org_project_useful_interface_proxy_new_sync ( 1719s # GDBusConnection *connection, 1719s # GDBusProxyFlags flags, 1719s # const gchar *name, 1719s # const gchar *object_path, 1719s # GCancellable *cancellable, 1719s # GError **error) 1719s # { 1719s # GInitable *ret; 1719s # 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); 1719s # if (ret != NULL) 1719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1719s # else 1719s # return NULL; 1719s # } 1719s # 1719s # 1719s # /** 1719s # * org_project_useful_interface_proxy_new_for_bus: 1719s # * @bus_type: A #GBusType. 1719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1719s # * @name: A bus name (well-known or unique). 1719s # * @object_path: An object path. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1719s # * @user_data: User data to pass to @callback. 1719s # * 1719s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1719s # * 1719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1719s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1719s # * 1719s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1719s # */ 1719s # void 1719s # org_project_useful_interface_proxy_new_for_bus ( 1719s # GBusType bus_type, 1719s # GDBusProxyFlags flags, 1719s # const gchar *name, 1719s # const gchar *object_path, 1719s # GCancellable *cancellable, 1719s # GAsyncReadyCallback callback, 1719s # gpointer user_data) 1719s # { 1719s # g_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); 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_proxy_new_for_bus_finish: 1719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1719s # * @error: Return location for error or %NULL 1719s # * 1719s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1719s # * 1719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1719s # */ 1719s # OrgProjectUsefulInterface * 1719s # org_project_useful_interface_proxy_new_for_bus_finish ( 1719s # GAsyncResult *res, 1719s # GError **error) 1719s # { 1719s # GObject *ret; 1719s # GObject *source_object; 1719s # source_object = g_async_result_get_source_object (res); 1719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1719s # g_object_unref (source_object); 1719s # if (ret != NULL) 1719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1719s # else 1719s # return NULL; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_proxy_new_for_bus_sync: 1719s # * @bus_type: A #GBusType. 1719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1719s # * @name: A bus name (well-known or unique). 1719s # * @object_path: An object path. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @error: Return location for error or %NULL 1719s # * 1719s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1719s # * 1719s # * The calling thread is blocked until a reply is received. 1719s # * 1719s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1719s # * 1719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1719s # */ 1719s # OrgProjectUsefulInterface * 1719s # org_project_useful_interface_proxy_new_for_bus_sync ( 1719s # GBusType bus_type, 1719s # GDBusProxyFlags flags, 1719s # const gchar *name, 1719s # const gchar *object_path, 1719s # GCancellable *cancellable, 1719s # GError **error) 1719s # { 1719s # GInitable *ret; 1719s # 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); 1719s # if (ret != NULL) 1719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1719s # else 1719s # return NULL; 1719s # } 1719s # 1719s # 1719s # /* ------------------------------------------------------------------------ */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceSkeleton: 1719s # * 1719s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1719s # */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceSkeletonClass: 1719s # * @parent_class: The parent class. 1719s # * 1719s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1719s # */ 1719s # 1719s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1719s # { 1719s # GValue *properties; 1719s # GList *changed_properties; 1719s # GSource *changed_properties_idle_source; 1719s # GMainContext *context; 1719s # GMutex lock; 1719s # }; 1719s # 1719s # static void 1719s # _org_project_useful_interface_skeleton_handle_method_call ( 1719s # GDBusConnection *connection G_GNUC_UNUSED, 1719s # const gchar *sender G_GNUC_UNUSED, 1719s # const gchar *object_path G_GNUC_UNUSED, 1719s # const gchar *interface_name, 1719s # const gchar *method_name, 1719s # GVariant *parameters, 1719s # GDBusMethodInvocation *invocation, 1719s # gpointer user_data) 1719s # { 1719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1719s # _ExtendedGDBusMethodInfo *info; 1719s # GVariantIter iter; 1719s # GVariant *child; 1719s # GValue *paramv; 1719s # gsize num_params; 1719s # guint num_extra; 1719s # gsize n; 1719s # guint signal_id; 1719s # GValue return_value = G_VALUE_INIT; 1719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1719s # g_assert (info != NULL); 1719s # num_params = g_variant_n_children (parameters); 1719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1719s # n = 0; 1719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1719s # g_value_set_object (¶mv[n++], skeleton); 1719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1719s # g_value_set_object (¶mv[n++], invocation); 1719s # if (info->pass_fdlist) 1719s # { 1719s # #ifdef G_OS_UNIX 1719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1719s # #else 1719s # g_assert_not_reached (); 1719s # #endif 1719s # } 1719s # g_variant_iter_init (&iter, parameters); 1719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1719s # { 1719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1719s # if (arg_info->use_gvariant) 1719s # { 1719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1719s # g_value_set_variant (¶mv[n], child); 1719s # n++; 1719s # } 1719s # else 1719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1719s # g_variant_unref (child); 1719s # } 1719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1719s # if (!g_value_get_boolean (&return_value)) 1719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1719s # g_value_unset (&return_value); 1719s # for (n = 0; n < num_params + num_extra; n++) 1719s # g_value_unset (¶mv[n]); 1719s # g_free (paramv); 1719s # } 1719s # 1719s # static GVariant * 1719s # _org_project_useful_interface_skeleton_handle_get_property ( 1719s # GDBusConnection *connection G_GNUC_UNUSED, 1719s # const gchar *sender G_GNUC_UNUSED, 1719s # const gchar *object_path G_GNUC_UNUSED, 1719s # const gchar *interface_name G_GNUC_UNUSED, 1719s # const gchar *property_name, 1719s # GError **error, 1719s # gpointer user_data) 1719s # { 1719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1719s # GValue value = G_VALUE_INIT; 1719s # GParamSpec *pspec; 1719s # _ExtendedGDBusPropertyInfo *info; 1719s # GVariant *ret; 1719s # ret = NULL; 1719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1719s # g_assert (info != NULL); 1719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1719s # if (pspec == NULL) 1719s # { 1719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1719s # } 1719s # else 1719s # { 1719s # g_value_init (&value, pspec->value_type); 1719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1719s # g_value_unset (&value); 1719s # } 1719s # return ret; 1719s # } 1719s # 1719s # static gboolean 1719s # _org_project_useful_interface_skeleton_handle_set_property ( 1719s # GDBusConnection *connection G_GNUC_UNUSED, 1719s # const gchar *sender G_GNUC_UNUSED, 1719s # const gchar *object_path G_GNUC_UNUSED, 1719s # const gchar *interface_name G_GNUC_UNUSED, 1719s # const gchar *property_name, 1719s # GVariant *variant, 1719s # GError **error, 1719s # gpointer user_data) 1719s # { 1719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1719s # GValue value = G_VALUE_INIT; 1719s # GParamSpec *pspec; 1719s # _ExtendedGDBusPropertyInfo *info; 1719s # gboolean ret; 1719s # ret = FALSE; 1719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1719s # g_assert (info != NULL); 1719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1719s # if (pspec == NULL) 1719s # { 1719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1719s # } 1719s # else 1719s # { 1719s # if (info->use_gvariant) 1719s # g_value_set_variant (&value, variant); 1719s # else 1719s # g_dbus_gvariant_to_gvalue (variant, &value); 1719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1719s # g_value_unset (&value); 1719s # ret = TRUE; 1719s # } 1719s # return ret; 1719s # } 1719s # 1719s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1719s # { 1719s # _org_project_useful_interface_skeleton_handle_method_call, 1719s # _org_project_useful_interface_skeleton_handle_get_property, 1719s # _org_project_useful_interface_skeleton_handle_set_property, 1719s # {NULL} 1719s # }; 1719s # 1719s # static GDBusInterfaceInfo * 1719s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1719s # { 1719s # return org_project_useful_interface_interface_info (); 1719s # } 1719s # 1719s # static GDBusInterfaceVTable * 1719s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1719s # { 1719s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1719s # } 1719s # 1719s # static GVariant * 1719s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1719s # { 1719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1719s # 1719s # GVariantBuilder builder; 1719s # guint n; 1719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1719s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1719s # goto out; 1719s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1719s # { 1719s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1719s # { 1719s # GVariant *value; 1719s # 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); 1719s # if (value != NULL) 1719s # { 1719s # g_variant_take_ref (value); 1719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1719s # g_variant_unref (value); 1719s # } 1719s # } 1719s # } 1719s # out: 1719s # return g_variant_builder_end (&builder); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1719s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1719s # 1719s # #else 1719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1719s # 1719s # #endif 1719s # static void 1719s # org_project_useful_interface_skeleton_finalize (GObject *object) 1719s # { 1719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1719s # if (skeleton->priv->changed_properties_idle_source != NULL) 1719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1719s # g_main_context_unref (skeleton->priv->context); 1719s # g_mutex_clear (&skeleton->priv->lock); 1719s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1719s # { 1719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1719s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1719s # #else 1719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1719s # #endif 1719s # 1719s # g_mutex_init (&skeleton->priv->lock); 1719s # skeleton->priv->context = g_main_context_ref_thread_default (); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1719s # { 1719s # GObjectClass *gobject_class; 1719s # GDBusInterfaceSkeletonClass *skeleton_class; 1719s # 1719s # gobject_class = G_OBJECT_CLASS (klass); 1719s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1719s # 1719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1719s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1719s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1719s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1719s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1719s # 1719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1719s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1719s # #endif 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_skeleton_new: 1719s # * 1719s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1719s # * 1719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1719s # */ 1719s # OrgProjectUsefulInterface * 1719s # org_project_useful_interface_skeleton_new (void) 1719s # { 1719s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1719s # } 1719s # /tmp/tmp1uc81hqq/tmp4cs8iate.xml: 1719s # 1719s # 1719s # 1719s # 1719s # 1719s # 1719s # 1719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp4cs8iate.xml', '--output', '-', '--body'] 1719s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1719s # Output: /* 1719s # * This file is generated by gdbus-codegen, do not modify it. 1719s # * 1719s # * The license of this code is the same as for the D-Bus interface description 1719s # * it was derived from. Note that it links to GLib, so must comply with the 1719s # * LGPL linking clauses. 1719s # */ 1719s # 1719s # #ifdef HAVE_CONFIG_H 1719s # # include "config.h" 1719s # #endif 1719s # 1719s # #include 1719s # #ifdef G_OS_UNIX 1719s # # include 1719s # #endif 1719s # 1719s # #ifdef G_ENABLE_DEBUG 1719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1719s # #else /* !G_ENABLE_DEBUG */ 1719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1719s # * Do not access GValues directly in your code. Instead, use the 1719s # * g_value_get_*() functions 1719s # */ 1719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1719s # #endif /* !G_ENABLE_DEBUG */ 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusArgInfo parent_struct; 1719s # gboolean use_gvariant; 1719s # } _ExtendedGDBusArgInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusMethodInfo parent_struct; 1719s # const gchar *signal_name; 1719s # gboolean pass_fdlist; 1719s # } _ExtendedGDBusMethodInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusSignalInfo parent_struct; 1719s # const gchar *signal_name; 1719s # } _ExtendedGDBusSignalInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusPropertyInfo parent_struct; 1719s # const gchar *hyphen_name; 1719s # guint use_gvariant : 1; 1719s # guint emits_changed_signal : 1; 1719s # } _ExtendedGDBusPropertyInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # GDBusInterfaceInfo parent_struct; 1719s # const gchar *hyphen_name; 1719s # } _ExtendedGDBusInterfaceInfo; 1719s # 1719s # typedef struct 1719s # { 1719s # const _ExtendedGDBusPropertyInfo *info; 1719s # guint prop_id; 1719s # GValue orig_value; /* the value before the change */ 1719s # } ChangedProperty; 1719s # 1719s # static void 1719s # _changed_property_free (ChangedProperty *data) 1719s # { 1719s # g_value_unset (&data->orig_value); 1719s # g_free (data); 1719s # } 1719s # 1719s # static gboolean 1719s # _g_strv_equal0 (gchar **a, gchar **b) 1719s # { 1719s # gboolean ret = FALSE; 1719s # guint n; 1719s # if (a == NULL && b == NULL) 1719s # { 1719s # ret = TRUE; 1719s # goto out; 1719s # } 1719s # if (a == NULL || b == NULL) 1719s # goto out; 1719s # if (g_strv_length (a) != g_strv_length (b)) 1719s # goto out; 1719s # for (n = 0; a[n] != NULL; n++) 1719s # if (g_strcmp0 (a[n], b[n]) != 0) 1719s # goto out; 1719s # ret = TRUE; 1719s # out: 1719s # return ret; 1719s # } 1719s # 1719s # static gboolean 1719s # _g_variant_equal0 (GVariant *a, GVariant *b) 1719s # { 1719s # gboolean ret = FALSE; 1719s # if (a == NULL && b == NULL) 1719s # { 1719s # ret = TRUE; 1719s # goto out; 1719s # } 1719s # if (a == NULL || b == NULL) 1719s # goto out; 1719s # ret = g_variant_equal (a, b); 1719s # out: 1719s # return ret; 1719s # } 1719s # 1719s # G_GNUC_UNUSED static gboolean 1719s # _g_value_equal (const GValue *a, const GValue *b) 1719s # { 1719s # gboolean ret = FALSE; 1719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1719s # switch (G_VALUE_TYPE (a)) 1719s # { 1719s # case G_TYPE_BOOLEAN: 1719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1719s # break; 1719s # case G_TYPE_UCHAR: 1719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1719s # break; 1719s # case G_TYPE_INT: 1719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1719s # break; 1719s # case G_TYPE_UINT: 1719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1719s # break; 1719s # case G_TYPE_INT64: 1719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1719s # break; 1719s # case G_TYPE_UINT64: 1719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1719s # break; 1719s # case G_TYPE_DOUBLE: 1719s # { 1719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1719s # gdouble da = g_value_get_double (a); 1719s # gdouble db = g_value_get_double (b); 1719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1719s # } 1719s # break; 1719s # case G_TYPE_STRING: 1719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1719s # break; 1719s # case G_TYPE_VARIANT: 1719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1719s # break; 1719s # default: 1719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1719s # else 1719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1719s # break; 1719s # } 1719s # return ret; 1719s # } 1719s # 1719s # static void 1719s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1719s # GClosure *closure, 1719s # GValue *return_value, 1719s # unsigned int n_param_values, 1719s # const GValue *param_values, 1719s # void *invocation_hint G_GNUC_UNUSED, 1719s # void *marshal_data) 1719s # { 1719s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1719s # (void *data1, 1719s # GDBusMethodInvocation *arg_method_invocation, 1719s # guchar arg_arg_y, 1719s # void *data2); 1719s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1719s # GCClosure *cc = (GCClosure*) closure; 1719s # void *data1, *data2; 1719s # gboolean v_return; 1719s # 1719s # g_return_if_fail (return_value != NULL); 1719s # g_return_if_fail (n_param_values == 3); 1719s # 1719s # if (G_CCLOSURE_SWAP_DATA (closure)) 1719s # { 1719s # data1 = closure->data; 1719s # data2 = g_value_peek_pointer (param_values + 0); 1719s # } 1719s # else 1719s # { 1719s # data1 = g_value_peek_pointer (param_values + 0); 1719s # data2 = closure->data; 1719s # } 1719s # 1719s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1719s # (marshal_data ? marshal_data : cc->callback); 1719s # 1719s # v_return = 1719s # callback (data1, 1719s # g_marshal_value_peek_object (param_values + 1), 1719s # g_marshal_value_peek_uchar (param_values + 2), 1719s # data2); 1719s # 1719s # g_value_set_boolean (return_value, v_return); 1719s # } 1719s # 1719s # /* ------------------------------------------------------------------------ 1719s # * Code for interface org.project.UsefulInterface 1719s # * ------------------------------------------------------------------------ 1719s # */ 1719s # 1719s # /** 1719s # * SECTION:OrgProjectUsefulInterface 1719s # * @title: OrgProjectUsefulInterface 1719s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1719s # * 1719s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1719s # */ 1719s # 1719s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1719s # 1719s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1719s # { 1719s # { 1719s # -1, 1719s # (gchar *) "arg_y", 1719s # (gchar *) "y", 1719s # NULL 1719s # }, 1719s # FALSE 1719s # }; 1719s # 1719s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1719s # { 1719s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1719s # NULL 1719s # }; 1719s # 1719s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1719s # { 1719s # { 1719s # -1, 1719s # (gchar *) "SingleArgMethodY", 1719s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1719s # NULL, 1719s # NULL 1719s # }, 1719s # "handle-single-arg-method-y", 1719s # FALSE 1719s # }; 1719s # 1719s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1719s # { 1719s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1719s # NULL 1719s # }; 1719s # 1719s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1719s # { 1719s # { 1719s # -1, 1719s # (gchar *) "org.project.UsefulInterface", 1719s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1719s # NULL, 1719s # NULL, 1719s # NULL 1719s # }, 1719s # "org-project-useful-interface", 1719s # }; 1719s # 1719s # 1719s # /** 1719s # * org_project_useful_interface_interface_info: 1719s # * 1719s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1719s # * 1719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1719s # */ 1719s # GDBusInterfaceInfo * 1719s # org_project_useful_interface_interface_info (void) 1719s # { 1719s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_override_properties: 1719s # * @klass: The class structure for a #GObject derived class. 1719s # * @property_id_begin: The property id to assign to the first overridden property. 1719s # * 1719s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1719s # * The properties are overridden in the order they are defined. 1719s # * 1719s # * Returns: The last property id. 1719s # */ 1719s # guint 1719s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1719s # { 1719s # return property_id_begin - 1; 1719s # } 1719s # 1719s # 1719s # inline static void 1719s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1719s # GClosure *closure, 1719s # GValue *return_value, 1719s # unsigned int n_param_values, 1719s # const GValue *param_values, 1719s # void *invocation_hint, 1719s # void *marshal_data) 1719s # { 1719s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1719s # } 1719s # 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterface: 1719s # * 1719s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1719s # */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceIface: 1719s # * @parent_iface: The parent interface. 1719s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1719s # * 1719s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1719s # */ 1719s # 1719s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1719s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1719s # 1719s # static void 1719s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1719s # { 1719s # /* GObject signals for incoming D-Bus method calls: */ 1719s # /** 1719s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1719s # * @object: A #OrgProjectUsefulInterface. 1719s # * @invocation: A #GDBusMethodInvocation. 1719s # * @arg_arg_y: Argument passed by remote caller. 1719s # * 1719s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1719s # * 1719s # * 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. 1719s # * 1719s # * 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. 1719s # */ 1719s # g_signal_new ("handle-single-arg-method-y", 1719s # G_TYPE_FROM_INTERFACE (iface), 1719s # G_SIGNAL_RUN_LAST, 1719s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1719s # g_signal_accumulator_true_handled, 1719s # NULL, 1719s # org_project_useful_interface_method_marshal_single_arg_method_y, 1719s # G_TYPE_BOOLEAN, 1719s # 2, 1719s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1719s # 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_call_single_arg_method_y: 1719s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1719s # * @arg_arg_y: Argument to pass with the method invocation. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1719s # * @user_data: User data to pass to @callback. 1719s # * 1719s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1719s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1719s # * 1719s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1719s # */ 1719s # void 1719s # org_project_useful_interface_call_single_arg_method_y ( 1719s # OrgProjectUsefulInterface *proxy, 1719s # guchar arg_arg_y, 1719s # GCancellable *cancellable, 1719s # GAsyncReadyCallback callback, 1719s # gpointer user_data) 1719s # { 1719s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1719s # "SingleArgMethodY", 1719s # g_variant_new ("(y)", 1719s # arg_arg_y), 1719s # G_DBUS_CALL_FLAGS_NONE, 1719s # -1, 1719s # cancellable, 1719s # callback, 1719s # user_data); 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_call_single_arg_method_y_finish: 1719s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1719s # * @error: Return location for error or %NULL. 1719s # * 1719s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1719s # * 1719s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1719s # */ 1719s # gboolean 1719s # org_project_useful_interface_call_single_arg_method_y_finish ( 1719s # OrgProjectUsefulInterface *proxy, 1719s # GAsyncResult *res, 1719s # GError **error) 1719s # { 1719s # GVariant *_ret; 1719s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1719s # if (_ret == NULL) 1719s # goto _out; 1719s # g_variant_get (_ret, 1719s # "()"); 1719s # g_variant_unref (_ret); 1719s # _out: 1719s # return _ret != NULL; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_call_single_arg_method_y_sync: 1719s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1719s # * @arg_arg_y: Argument to pass with the method invocation. 1719s # * @cancellable: (nullable): A #GCancellable or %NULL. 1719s # * @error: Return location for error or %NULL. 1719s # * 1719s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1719s # * 1719s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1719s # * 1719s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1719s # */ 1719s # gboolean 1719s # org_project_useful_interface_call_single_arg_method_y_sync ( 1719s # OrgProjectUsefulInterface *proxy, 1719s # guchar arg_arg_y, 1719s # GCancellable *cancellable, 1719s # GError **error) 1719s # { 1719s # GVariant *_ret; 1719s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1719s # "SingleArgMethodY", 1719s # g_variant_new ("(y)", 1719s # arg_arg_y), 1719s # G_DBUS_CALL_FLAGS_NONE, 1719s # -1, 1719s # cancellable, 1719s # error); 1719s # if (_ret == NULL) 1719s # goto _out; 1719s # g_variant_get (_ret, 1719s # "()"); 1719s # g_variant_unref (_ret); 1719s # _out: 1719s # return _ret != NULL; 1719s # } 1719s # 1719s # /** 1719s # * org_project_useful_interface_complete_single_arg_method_y: 1719s # * @object: A #OrgProjectUsefulInterface. 1719s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1719s # * 1719s # * 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. 1719s # * 1719s # * This method will free @invocation, you cannot use it afterwards. 1719s # */ 1719s # void 1719s # org_project_useful_interface_complete_single_arg_method_y ( 1719s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1719s # GDBusMethodInvocation *invocation) 1719s # { 1719s # g_dbus_method_invocation_return_value (invocation, 1719s # g_variant_new ("()")); 1719s # } 1719s # 1719s # /* ------------------------------------------------------------------------ */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceProxy: 1719s # * 1719s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1719s # */ 1719s # 1719s # /** 1719s # * OrgProjectUsefulInterfaceProxyClass: 1719s # * @parent_class: The parent class. 1719s # * 1719s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1719s # */ 1719s # 1719s # struct _OrgProjectUsefulInterfaceProxyPrivate 1719s # { 1719s # GData *qdata; 1719s # }; 1719s # 1719s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1719s # 1719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1719s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1719s # 1719s # #else 1719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1719s # 1719s # #endif 1719s # static void 1719s # org_project_useful_interface_proxy_finalize (GObject *object) 1719s # { 1719s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1719s # g_datalist_clear (&proxy->priv->qdata); 1719s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1719s # guint prop_id G_GNUC_UNUSED, 1719s # GValue *value G_GNUC_UNUSED, 1719s # GParamSpec *pspec G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1719s # guint prop_id G_GNUC_UNUSED, 1719s # const GValue *value G_GNUC_UNUSED, 1719s # GParamSpec *pspec G_GNUC_UNUSED) 1719s # { 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1719s # const gchar *sender_name G_GNUC_UNUSED, 1719s # const gchar *signal_name, 1719s # GVariant *parameters) 1719s # { 1719s # _ExtendedGDBusSignalInfo *info; 1719s # GVariantIter iter; 1719s # GVariant *child; 1719s # GValue *paramv; 1719s # gsize num_params; 1719s # gsize n; 1719s # guint signal_id; 1719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1719s # if (info == NULL) 1719s # return; 1719s # num_params = g_variant_n_children (parameters); 1719s # paramv = g_new0 (GValue, num_params + 1); 1719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1719s # g_value_set_object (¶mv[0], proxy); 1719s # g_variant_iter_init (&iter, parameters); 1719s # n = 1; 1719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1719s # { 1719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1719s # if (arg_info->use_gvariant) 1719s # { 1719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1719s # g_value_set_variant (¶mv[n], child); 1719s # n++; 1719s # } 1719s # else 1719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1719s # g_variant_unref (child); 1719s # } 1719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1719s # g_signal_emitv (paramv, signal_id, 0, NULL); 1719s # for (n = 0; n < num_params + 1; n++) 1719s # g_value_unset (¶mv[n]); 1719s # g_free (paramv); 1719s # } 1719s # 1719s # static void 1719s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1719s # GVariant *changed_properties, 1719s # const gchar *const *invalidated_properties) 1719s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpiycwqacm.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpiycwqacm.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # gint16 arg_arg_n, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_int (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_n", 1720s # (gchar *) "n", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodN", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-n", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_n: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-n", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_n, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_n: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_n: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_n ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gint16 arg_arg_n, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodN", 1720s # g_variant_new ("(n)", 1720s # arg_arg_n), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_n_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_n_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_n_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_n: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_n_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gint16 arg_arg_n, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodN", 1720s # g_variant_new ("(n)", 1720s # arg_arg_n), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_n: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_n ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmp45y4413h.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp45y4413h.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # guint16 arg_arg_q, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_uint (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_q", 1720s # (gchar *) "q", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodQ", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-q", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_q: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-q", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_q, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_q: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_q: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_q ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # guint16 arg_arg_q, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodQ", 1720s # g_variant_new ("(q)", 1720s # arg_arg_q), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_q_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_q_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_q_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_q: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_q_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # guint16 arg_arg_q, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodQ", 1720s # g_variant_new ("(q)", 1720s # arg_arg_q), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_q: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_q ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpsjb_58qq.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpsjb_58qq.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # gint arg_arg_i, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_int (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_i", 1720s # (gchar *) "i", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodI", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-i", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_i: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-i", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_i, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_i: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_i: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_i ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gint arg_arg_i, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodI", 1720s # g_variant_new ("(i)", 1720s # arg_arg_i), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_i_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_i_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_i_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_i: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_i_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gint arg_arg_i, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodI", 1720s # g_variant_new ("(i)", 1720s # arg_arg_i), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_i: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_i ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpud8buvx8.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpud8buvx8.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # guint arg_arg_u, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_uint (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_u", 1720s # (gchar *) "u", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodU", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-u", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_u: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-u", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_u, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_u: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_u: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_u ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # guint arg_arg_u, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodU", 1720s # g_variant_new ("(u)", 1720s # arg_arg_u), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_u_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_u_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_u_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_u: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_u_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # guint arg_arg_u, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodU", 1720s # g_variant_new ("(u)", 1720s # arg_arg_u), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_u: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_u ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpnrsx98lg.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpnrsx98lg.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # gint64 arg_arg_x, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_int64 (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_x", 1720s # (gchar *) "x", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodX", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-x", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_x: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-x", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_x, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_x: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_x: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_x ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gint64 arg_arg_x, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodX", 1720s # g_variant_new ("(x)", 1720s # arg_arg_x), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_x_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_x_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_x_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_x: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_x_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gint64 arg_arg_x, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodX", 1720s # g_variant_new ("(x)", 1720s # arg_arg_x), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_x: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_x ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmp49v2b_i3.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp49v2b_i3.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # guint64 arg_arg_t, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_uint64 (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_t", 1720s # (gchar *) "t", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodT", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-t", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_t: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-t", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_t, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_t: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_t: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_t ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # guint64 arg_arg_t, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodT", 1720s # g_variant_new ("(t)", 1720s # arg_arg_t), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_t_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_t_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_t_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_t: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_t_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # guint64 arg_arg_t, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodT", 1720s # g_variant_new ("(t)", 1720s # arg_arg_t), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_t: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_t ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpincb403c.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpincb403c.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # gdouble arg_arg_d, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_double (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_d", 1720s # (gchar *) "d", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodD", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-d", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_d: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-d", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_d, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_d: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_d: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_d ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gdouble arg_arg_d, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodD", 1720s # g_variant_new ("(d)", 1720s # arg_arg_d), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_d_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_d_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_d_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_d: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_d_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # gdouble arg_arg_d, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodD", 1720s # g_variant_new ("(d)", 1720s # arg_arg_d), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_d: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_d ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmp6bg69_9o.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp6bg69_9o.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *arg_arg_s, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_string (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_s", 1720s # (gchar *) "s", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodS", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-s", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_s: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-s", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_s, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_s: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_s: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_s ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_s, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodS", 1720s # g_variant_new ("(s)", 1720s # arg_arg_s), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_s_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_s_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_s_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_s: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_s_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_s, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodS", 1720s # g_variant_new ("(s)", 1720s # arg_arg_s), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_s: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_s ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpyutfczkv.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpyutfczkv.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *arg_arg_o, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_string (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_o", 1720s # (gchar *) "o", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodO", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-o", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_o: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-o", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_o, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_o: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_o: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_o ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_o, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodO", 1720s # g_variant_new ("(o)", 1720s # arg_arg_o), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_o_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_o_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_o_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_o: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_o_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_o, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodO", 1720s # g_variant_new ("(o)", 1720s # arg_arg_o), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_o: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_o ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpsyiz5jr9.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpsyiz5jr9.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *arg_arg_g, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_string (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_g", 1720s # (gchar *) "g", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodG", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-g", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_g: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-g", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_g, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_g: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_g: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_g ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_g, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodG", 1720s # g_variant_new ("(g)", 1720s # arg_arg_g), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_g_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_g_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_g_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_g: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_g_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_g, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodG", 1720s # g_variant_new ("(g)", 1720s # arg_arg_g), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_g: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_g ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmplespidyw.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmplespidyw.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # GVariant *arg_arg_h, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_variant (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_h", 1720s # (gchar *) "h", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodH", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-h", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_h: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-h", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_h, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_h: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_h: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_h ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GVariant *arg_arg_h, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodH", 1720s # g_variant_new ("(@h)", 1720s # arg_arg_h), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_h_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_h_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_h_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_h: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_h_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GVariant *arg_arg_h, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodH", 1720s # g_variant_new ("(@h)", 1720s # arg_arg_h), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_h: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_h ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpf408q3mq.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpf408q3mq.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *arg_arg_ay, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_string (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_ay", 1720s # (gchar *) "ay", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodAy", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-ay", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_ay: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-ay", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_ay: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_ay: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_ay ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_ay, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAy", 1720s # g_variant_new ("(^ay)", 1720s # arg_arg_ay), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_ay: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *arg_arg_ay, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAy", 1720s # g_variant_new ("(^ay)", 1720s # arg_arg_ay), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_ay: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_ay ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpi__kmmjj.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpi__kmmjj.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *const *arg_arg_as, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_boxed (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_as", 1720s # (gchar *) "as", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodAs", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-as", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_as: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-as", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_as, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_as: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_as: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_as ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *const *arg_arg_as, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAs", 1720s # g_variant_new ("(^as)", 1720s # arg_arg_as), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_as_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_as_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_as_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_as: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_as_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *const *arg_arg_as, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAs", 1720s # g_variant_new ("(^as)", 1720s # arg_arg_as), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_as: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_as ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmp9lemse1o.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp9lemse1o.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *const *arg_arg_ao, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_boxed (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_ao", 1720s # (gchar *) "ao", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodAo", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-ao", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_ao: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-ao", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_ao: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_ao: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_ao ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *const *arg_arg_ao, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAo", 1720s # g_variant_new ("(^ao)", 1720s # arg_arg_ao), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_ao: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *const *arg_arg_ao, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAo", 1720s # g_variant_new ("(^ao)", 1720s # arg_arg_ao), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_ao: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_ao ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmp6rr9gygn.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmp6rr9gygn.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # const gchar *const *arg_arg_aay, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_boxed (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_aay", 1720s # (gchar *) "aay", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodAay", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-aay", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_aay: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-aay", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_aay: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_aay: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_aay ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *const *arg_arg_aay, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAay", 1720s # g_variant_new ("(^aay)", 1720s # arg_arg_aay), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_aay: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # const gchar *const *arg_arg_aay, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAay", 1720s # g_variant_new ("(^aay)", 1720s # arg_arg_aay), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_aay: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_aay ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1720s # /tmp/tmp1uc81hqq/tmpjtne4n38.xml: 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # 1720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1uc81hqq/tmpjtne4n38.xml', '--output', '-', '--body'] 1720s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1720s # Output: /* 1720s # * This file is generated by gdbus-codegen, do not modify it. 1720s # * 1720s # * The license of this code is the same as for the D-Bus interface description 1720s # * it was derived from. Note that it links to GLib, so must comply with the 1720s # * LGPL linking clauses. 1720s # */ 1720s # 1720s # #ifdef HAVE_CONFIG_H 1720s # # include "config.h" 1720s # #endif 1720s # 1720s # #include 1720s # #ifdef G_OS_UNIX 1720s # # include 1720s # #endif 1720s # 1720s # #ifdef G_ENABLE_DEBUG 1720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1720s # #else /* !G_ENABLE_DEBUG */ 1720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1720s # * Do not access GValues directly in your code. Instead, use the 1720s # * g_value_get_*() functions 1720s # */ 1720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1720s # #endif /* !G_ENABLE_DEBUG */ 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusArgInfo parent_struct; 1720s # gboolean use_gvariant; 1720s # } _ExtendedGDBusArgInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusMethodInfo parent_struct; 1720s # const gchar *signal_name; 1720s # gboolean pass_fdlist; 1720s # } _ExtendedGDBusMethodInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusSignalInfo parent_struct; 1720s # const gchar *signal_name; 1720s # } _ExtendedGDBusSignalInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusPropertyInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # guint use_gvariant : 1; 1720s # guint emits_changed_signal : 1; 1720s # } _ExtendedGDBusPropertyInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # GDBusInterfaceInfo parent_struct; 1720s # const gchar *hyphen_name; 1720s # } _ExtendedGDBusInterfaceInfo; 1720s # 1720s # typedef struct 1720s # { 1720s # const _ExtendedGDBusPropertyInfo *info; 1720s # guint prop_id; 1720s # GValue orig_value; /* the value before the change */ 1720s # } ChangedProperty; 1720s # 1720s # static void 1720s # _changed_property_free (ChangedProperty *data) 1720s # { 1720s # g_value_unset (&data->orig_value); 1720s # g_free (data); 1720s # } 1720s # 1720s # static gboolean 1720s # _g_strv_equal0 (gchar **a, gchar **b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # guint n; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # if (g_strv_length (a) != g_strv_length (b)) 1720s # goto out; 1720s # for (n = 0; a[n] != NULL; n++) 1720s # if (g_strcmp0 (a[n], b[n]) != 0) 1720s # goto out; 1720s # ret = TRUE; 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _g_variant_equal0 (GVariant *a, GVariant *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # if (a == NULL && b == NULL) 1720s # { 1720s # ret = TRUE; 1720s # goto out; 1720s # } 1720s # if (a == NULL || b == NULL) 1720s # goto out; 1720s # ret = g_variant_equal (a, b); 1720s # out: 1720s # return ret; 1720s # } 1720s # 1720s # G_GNUC_UNUSED static gboolean 1720s # _g_value_equal (const GValue *a, const GValue *b) 1720s # { 1720s # gboolean ret = FALSE; 1720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1720s # switch (G_VALUE_TYPE (a)) 1720s # { 1720s # case G_TYPE_BOOLEAN: 1720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1720s # break; 1720s # case G_TYPE_UCHAR: 1720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1720s # break; 1720s # case G_TYPE_INT: 1720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1720s # break; 1720s # case G_TYPE_UINT: 1720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1720s # break; 1720s # case G_TYPE_INT64: 1720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1720s # break; 1720s # case G_TYPE_UINT64: 1720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1720s # break; 1720s # case G_TYPE_DOUBLE: 1720s # { 1720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1720s # gdouble da = g_value_get_double (a); 1720s # gdouble db = g_value_get_double (b); 1720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1720s # } 1720s # break; 1720s # case G_TYPE_STRING: 1720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1720s # break; 1720s # case G_TYPE_VARIANT: 1720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1720s # break; 1720s # default: 1720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1720s # else 1720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1720s # break; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static void 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint G_GNUC_UNUSED, 1720s # void *marshal_data) 1720s # { 1720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1720s # (void *data1, 1720s # GDBusMethodInvocation *arg_method_invocation, 1720s # GVariant *arg_arg_asv, 1720s # void *data2); 1720s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1720s # GCClosure *cc = (GCClosure*) closure; 1720s # void *data1, *data2; 1720s # gboolean v_return; 1720s # 1720s # g_return_if_fail (return_value != NULL); 1720s # g_return_if_fail (n_param_values == 3); 1720s # 1720s # if (G_CCLOSURE_SWAP_DATA (closure)) 1720s # { 1720s # data1 = closure->data; 1720s # data2 = g_value_peek_pointer (param_values + 0); 1720s # } 1720s # else 1720s # { 1720s # data1 = g_value_peek_pointer (param_values + 0); 1720s # data2 = closure->data; 1720s # } 1720s # 1720s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1720s # (marshal_data ? marshal_data : cc->callback); 1720s # 1720s # v_return = 1720s # callback (data1, 1720s # g_marshal_value_peek_object (param_values + 1), 1720s # g_marshal_value_peek_variant (param_values + 2), 1720s # data2); 1720s # 1720s # g_value_set_boolean (return_value, v_return); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ 1720s # * Code for interface org.project.UsefulInterface 1720s # * ------------------------------------------------------------------------ 1720s # */ 1720s # 1720s # /** 1720s # * SECTION:OrgProjectUsefulInterface 1720s # * @title: OrgProjectUsefulInterface 1720s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1720s # * 1720s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1720s # */ 1720s # 1720s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1720s # 1720s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "arg_asv", 1720s # (gchar *) "a{sv}", 1720s # NULL 1720s # }, 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "SingleArgMethodAsv", 1720s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "handle-single-arg-method-asv", 1720s # FALSE 1720s # }; 1720s # 1720s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1720s # { 1720s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1720s # NULL 1720s # }; 1720s # 1720s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1720s # { 1720s # { 1720s # -1, 1720s # (gchar *) "org.project.UsefulInterface", 1720s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1720s # NULL, 1720s # NULL, 1720s # NULL 1720s # }, 1720s # "org-project-useful-interface", 1720s # }; 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_interface_info: 1720s # * 1720s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1720s # * 1720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1720s # */ 1720s # GDBusInterfaceInfo * 1720s # org_project_useful_interface_interface_info (void) 1720s # { 1720s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_override_properties: 1720s # * @klass: The class structure for a #GObject derived class. 1720s # * @property_id_begin: The property id to assign to the first overridden property. 1720s # * 1720s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1720s # * The properties are overridden in the order they are defined. 1720s # * 1720s # * Returns: The last property id. 1720s # */ 1720s # guint 1720s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1720s # { 1720s # return property_id_begin - 1; 1720s # } 1720s # 1720s # 1720s # inline static void 1720s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1720s # GClosure *closure, 1720s # GValue *return_value, 1720s # unsigned int n_param_values, 1720s # const GValue *param_values, 1720s # void *invocation_hint, 1720s # void *marshal_data) 1720s # { 1720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1720s # } 1720s # 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterface: 1720s # * 1720s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceIface: 1720s # * @parent_iface: The parent interface. 1720s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1720s # * 1720s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1720s # */ 1720s # 1720s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1720s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1720s # 1720s # static void 1720s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1720s # { 1720s # /* GObject signals for incoming D-Bus method calls: */ 1720s # /** 1720s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: A #GDBusMethodInvocation. 1720s # * @arg_arg_asv: Argument passed by remote caller. 1720s # * 1720s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1720s # * 1720s # * 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. 1720s # * 1720s # * 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. 1720s # */ 1720s # g_signal_new ("handle-single-arg-method-asv", 1720s # G_TYPE_FROM_INTERFACE (iface), 1720s # G_SIGNAL_RUN_LAST, 1720s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1720s # g_signal_accumulator_true_handled, 1720s # NULL, 1720s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1720s # G_TYPE_BOOLEAN, 1720s # 2, 1720s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1720s # 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_asv: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_asv: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1720s # */ 1720s # void 1720s # org_project_useful_interface_call_single_arg_method_asv ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GVariant *arg_arg_asv, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAsv", 1720s # g_variant_new ("(@a{sv})", 1720s # arg_arg_asv), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # callback, 1720s # user_data); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1720s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1720s # * @arg_arg_asv: Argument to pass with the method invocation. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL. 1720s # * 1720s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1720s # * 1720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1720s # */ 1720s # gboolean 1720s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1720s # OrgProjectUsefulInterface *proxy, 1720s # GVariant *arg_arg_asv, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GVariant *_ret; 1720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1720s # "SingleArgMethodAsv", 1720s # g_variant_new ("(@a{sv})", 1720s # arg_arg_asv), 1720s # G_DBUS_CALL_FLAGS_NONE, 1720s # -1, 1720s # cancellable, 1720s # error); 1720s # if (_ret == NULL) 1720s # goto _out; 1720s # g_variant_get (_ret, 1720s # "()"); 1720s # g_variant_unref (_ret); 1720s # _out: 1720s # return _ret != NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_complete_single_arg_method_asv: 1720s # * @object: A #OrgProjectUsefulInterface. 1720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1720s # * 1720s # * 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. 1720s # * 1720s # * This method will free @invocation, you cannot use it afterwards. 1720s # */ 1720s # void 1720s # org_project_useful_interface_complete_single_arg_method_asv ( 1720s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1720s # GDBusMethodInvocation *invocation) 1720s # { 1720s # g_dbus_method_invocation_return_value (invocation, 1720s # g_variant_new ("()")); 1720s # } 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxy: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceProxyClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceProxyPrivate 1720s # { 1720s # GData *qdata; 1720s # }; 1720s # 1720s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_proxy_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1720s # g_datalist_clear (&proxy->priv->qdata); 1720s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1720s # guint prop_id G_GNUC_UNUSED, 1720s # const GValue *value G_GNUC_UNUSED, 1720s # GParamSpec *pspec G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1720s # const gchar *sender_name G_GNUC_UNUSED, 1720s # const gchar *signal_name, 1720s # GVariant *parameters) 1720s # { 1720s # _ExtendedGDBusSignalInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # gsize n; 1720s # guint signal_id; 1720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1720s # if (info == NULL) 1720s # return; 1720s # num_params = g_variant_n_children (parameters); 1720s # paramv = g_new0 (GValue, num_params + 1); 1720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[0], proxy); 1720s # g_variant_iter_init (&iter, parameters); 1720s # n = 1; 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_signal_emitv (paramv, signal_id, 0, NULL); 1720s # for (n = 0; n < num_params + 1; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1720s # GVariant *changed_properties, 1720s # const gchar *const *invalidated_properties) 1720s # { 1720s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1720s # guint n; 1720s # const gchar *key; 1720s # GVariantIter *iter; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # g_variant_get (changed_properties, "a{sv}", &iter); 1720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1720s # g_datalist_remove_data (&proxy->priv->qdata, key); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # g_variant_iter_free (iter); 1720s # for (n = 0; invalidated_properties[n] != NULL; n++) 1720s # { 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1720s # if (info != NULL) 1720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1720s # } 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1720s # #else 1720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1720s # #endif 1720s # 1720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusProxyClass *proxy_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1720s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1720s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1720s # 1720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1720s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1720s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_sync: 1720s # * @connection: A #GDBusConnection. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_sync ( 1720s # GDBusConnection *connection, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1720s # * @user_data: User data to pass to @callback. 1720s # * 1720s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1720s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1720s # */ 1720s # void 1720s # org_project_useful_interface_proxy_new_for_bus ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GAsyncReadyCallback callback, 1720s # gpointer user_data) 1720s # { 1720s # g_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); 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_finish: 1720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_finish ( 1720s # GAsyncResult *res, 1720s # GError **error) 1720s # { 1720s # GObject *ret; 1720s # GObject *source_object; 1720s # source_object = g_async_result_get_source_object (res); 1720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1720s # g_object_unref (source_object); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_proxy_new_for_bus_sync: 1720s # * @bus_type: A #GBusType. 1720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1720s # * @name: A bus name (well-known or unique). 1720s # * @object_path: An object path. 1720s # * @cancellable: (nullable): A #GCancellable or %NULL. 1720s # * @error: Return location for error or %NULL 1720s # * 1720s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1720s # * 1720s # * The calling thread is blocked until a reply is received. 1720s # * 1720s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_proxy_new_for_bus_sync ( 1720s # GBusType bus_type, 1720s # GDBusProxyFlags flags, 1720s # const gchar *name, 1720s # const gchar *object_path, 1720s # GCancellable *cancellable, 1720s # GError **error) 1720s # { 1720s # GInitable *ret; 1720s # 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); 1720s # if (ret != NULL) 1720s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1720s # else 1720s # return NULL; 1720s # } 1720s # 1720s # 1720s # /* ------------------------------------------------------------------------ */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeleton: 1720s # * 1720s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1720s # */ 1720s # 1720s # /** 1720s # * OrgProjectUsefulInterfaceSkeletonClass: 1720s # * @parent_class: The parent class. 1720s # * 1720s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1720s # */ 1720s # 1720s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1720s # { 1720s # GValue *properties; 1720s # GList *changed_properties; 1720s # GSource *changed_properties_idle_source; 1720s # GMainContext *context; 1720s # GMutex lock; 1720s # }; 1720s # 1720s # static void 1720s # _org_project_useful_interface_skeleton_handle_method_call ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name, 1720s # const gchar *method_name, 1720s # GVariant *parameters, 1720s # GDBusMethodInvocation *invocation, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # _ExtendedGDBusMethodInfo *info; 1720s # GVariantIter iter; 1720s # GVariant *child; 1720s # GValue *paramv; 1720s # gsize num_params; 1720s # guint num_extra; 1720s # gsize n; 1720s # guint signal_id; 1720s # GValue return_value = G_VALUE_INIT; 1720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1720s # g_assert (info != NULL); 1720s # num_params = g_variant_n_children (parameters); 1720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1720s # n = 0; 1720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_set_object (¶mv[n++], skeleton); 1720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1720s # g_value_set_object (¶mv[n++], invocation); 1720s # if (info->pass_fdlist) 1720s # { 1720s # #ifdef G_OS_UNIX 1720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1720s # #else 1720s # g_assert_not_reached (); 1720s # #endif 1720s # } 1720s # g_variant_iter_init (&iter, parameters); 1720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1720s # { 1720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1720s # if (arg_info->use_gvariant) 1720s # { 1720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1720s # g_value_set_variant (¶mv[n], child); 1720s # n++; 1720s # } 1720s # else 1720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1720s # g_variant_unref (child); 1720s # } 1720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1720s # if (!g_value_get_boolean (&return_value)) 1720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1720s # g_value_unset (&return_value); 1720s # for (n = 0; n < num_params + num_extra; n++) 1720s # g_value_unset (¶mv[n]); 1720s # g_free (paramv); 1720s # } 1720s # 1720s # static GVariant * 1720s # _org_project_useful_interface_skeleton_handle_get_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # GVariant *ret; 1720s # ret = NULL; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # g_value_init (&value, pspec->value_type); 1720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1720s # g_value_unset (&value); 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static gboolean 1720s # _org_project_useful_interface_skeleton_handle_set_property ( 1720s # GDBusConnection *connection G_GNUC_UNUSED, 1720s # const gchar *sender G_GNUC_UNUSED, 1720s # const gchar *object_path G_GNUC_UNUSED, 1720s # const gchar *interface_name G_GNUC_UNUSED, 1720s # const gchar *property_name, 1720s # GVariant *variant, 1720s # GError **error, 1720s # gpointer user_data) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1720s # GValue value = G_VALUE_INIT; 1720s # GParamSpec *pspec; 1720s # _ExtendedGDBusPropertyInfo *info; 1720s # gboolean ret; 1720s # ret = FALSE; 1720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1720s # g_assert (info != NULL); 1720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1720s # if (pspec == NULL) 1720s # { 1720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1720s # } 1720s # else 1720s # { 1720s # if (info->use_gvariant) 1720s # g_value_set_variant (&value, variant); 1720s # else 1720s # g_dbus_gvariant_to_gvalue (variant, &value); 1720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1720s # g_value_unset (&value); 1720s # ret = TRUE; 1720s # } 1720s # return ret; 1720s # } 1720s # 1720s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1720s # { 1720s # _org_project_useful_interface_skeleton_handle_method_call, 1720s # _org_project_useful_interface_skeleton_handle_get_property, 1720s # _org_project_useful_interface_skeleton_handle_set_property, 1720s # {NULL} 1720s # }; 1720s # 1720s # static GDBusInterfaceInfo * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return org_project_useful_interface_interface_info (); 1720s # } 1720s # 1720s # static GDBusInterfaceVTable * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1720s # { 1720s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1720s # } 1720s # 1720s # static GVariant * 1720s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1720s # 1720s # GVariantBuilder builder; 1720s # guint n; 1720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1720s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1720s # goto out; 1720s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1720s # { 1720s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1720s # { 1720s # GVariant *value; 1720s # 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); 1720s # if (value != NULL) 1720s # { 1720s # g_variant_take_ref (value); 1720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1720s # g_variant_unref (value); 1720s # } 1720s # } 1720s # } 1720s # out: 1720s # return g_variant_builder_end (&builder); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #else 1720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1720s # 1720s # #endif 1720s # static void 1720s # org_project_useful_interface_skeleton_finalize (GObject *object) 1720s # { 1720s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1720s # if (skeleton->priv->changed_properties_idle_source != NULL) 1720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1720s # g_main_context_unref (skeleton->priv->context); 1720s # g_mutex_clear (&skeleton->priv->lock); 1720s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1720s # { 1720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1720s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1720s # #else 1720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1720s # #endif 1720s # 1720s # g_mutex_init (&skeleton->priv->lock); 1720s # skeleton->priv->context = g_main_context_ref_thread_default (); 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1720s # { 1720s # GObjectClass *gobject_class; 1720s # GDBusInterfaceSkeletonClass *skeleton_class; 1720s # 1720s # gobject_class = G_OBJECT_CLASS (klass); 1720s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1720s # 1720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1720s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1720s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1720s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1720s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1720s # 1720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1720s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1720s # #endif 1720s # } 1720s # 1720s # static void 1720s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1720s # { 1720s # } 1720s # 1720s # /** 1720s # * org_project_useful_interface_skeleton_new: 1720s # * 1720s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1720s # * 1720s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1720s # */ 1720s # OrgProjectUsefulInterface * 1720s # org_project_useful_interface_skeleton_new (void) 1720s # { 1720s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1720s # } 1724s # Executing: glib/codegen.py.test 1724s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1724s # tmpdir: /tmp/tmp60shx7et 1724s # codegen: /usr/bin/gdbus-codegen 1724s # /tmp/tmp60shx7et/tmpxrfbzps6.xml: 1724s # 1724s # 1724s # 1724s # 1724s # 1724s # 1724s # 1724s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpxrfbzps6.xml', '--output', '-', '--body'] 1724s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1724s # Output: /* 1724s # * This file is generated by gdbus-codegen, do not modify it. 1724s # * 1724s # * The license of this code is the same as for the D-Bus interface description 1724s # * it was derived from. Note that it links to GLib, so must comply with the 1724s # * LGPL linking clauses. 1724s # */ 1724s # 1724s # #ifdef HAVE_CONFIG_H 1724s # # include "config.h" 1724s # #endif 1724s # 1724s # #include 1724s # #ifdef G_OS_UNIX 1724s # # include 1724s # #endif 1724s # 1724s # #ifdef G_ENABLE_DEBUG 1724s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1724s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1724s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1724s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1724s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1724s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1724s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1724s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1724s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1724s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1724s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1724s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1724s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1724s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1724s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1724s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1724s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1724s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1724s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1724s # #else /* !G_ENABLE_DEBUG */ 1724s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1724s # * Do not access GValues directly in your code. Instead, use the 1724s # * g_value_get_*() functions 1724s # */ 1724s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1724s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1724s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1724s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1724s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1724s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1724s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1724s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1724s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1724s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1724s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1724s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1724s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1724s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1724s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1724s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1724s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1724s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1724s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1724s # #endif /* !G_ENABLE_DEBUG */ 1724s # 1724s # typedef struct 1724s # { 1724s # GDBusArgInfo parent_struct; 1724s # gboolean use_gvariant; 1724s # } _ExtendedGDBusArgInfo; 1724s # 1724s # typedef struct 1724s # { 1724s # GDBusMethodInfo parent_struct; 1724s # const gchar *signal_name; 1724s # gboolean pass_fdlist; 1724s # } _ExtendedGDBusMethodInfo; 1724s # 1724s # typedef struct 1724s # { 1724s # GDBusSignalInfo parent_struct; 1724s # const gchar *signal_name; 1724s # } _ExtendedGDBusSignalInfo; 1724s # 1724s # typedef struct 1724s # { 1724s # GDBusPropertyInfo parent_struct; 1724s # const gchar *hyphen_name; 1724s # guint use_gvariant : 1; 1724s # guint emits_changed_signal : 1; 1724s # } _ExtendedGDBusPropertyInfo; 1724s # 1724s # typedef struct 1724s # { 1724s # GDBusInterfaceInfo parent_struct; 1724s # const gchar *hyphen_name; 1724s # } _ExtendedGDBusInterfaceInfo; 1724s # 1724s # typedef struct 1724s # { 1724s # const _ExtendedGDBusPropertyInfo *info; 1724s # guint prop_id; 1724s # GValue orig_value; /* the value before the change */ 1724s # } ChangedProperty; 1724s # 1724s # static void 1724s # _changed_property_free (ChangedProperty *data) 1724s # { 1724s # g_value_unset (&data->orig_value); 1724s # g_free (data); 1724s # } 1724s # 1724s # static gboolean 1724s # _g_strv_equal0 (gchar **a, gchar **b) 1724s # { 1724s # gboolean ret = FALSE; 1724s # guint n; 1724s # if (a == NULL && b == NULL) 1724s # { 1724s # ret = TRUE; 1724s # goto out; 1724s # } 1724s # if (a == NULL || b == NULL) 1724s # goto out; 1724s # if (g_strv_length (a) != g_strv_length (b)) 1724s # goto out; 1724s # for (n = 0; a[n] != NULL; n++) 1724s # if (g_strcmp0 (a[n], b[n]) != 0) 1724s # goto out; 1724s # ret = TRUE; 1724s # out: 1724s # return ret; 1724s # } 1724s # 1724s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_b", 1725s # (gchar *) "b", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodB", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-b", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-b", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_b, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_b: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_b ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodB", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_b_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_b_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gboolean *out_arg_b, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(b)", 1725s # out_arg_b); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_b_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_b_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gboolean *out_arg_b, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodB", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(b)", 1725s # out_arg_b); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_b: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_b: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_b ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # gboolean arg_b) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(b)", 1725s # arg_b)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmp6mrvob3x.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmp6mrvob3x.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_y", 1725s # (gchar *) "y", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodY", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-y", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-y", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_y, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_y: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_y ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodY", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_y_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_y_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guchar *out_arg_y, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(y)", 1725s # out_arg_y); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_y_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_y_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guchar *out_arg_y, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodY", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(y)", 1725s # out_arg_y); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_y: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_y: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_y ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # guchar arg_y) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(y)", 1725s # arg_y)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmp_l3u9os6.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmp_l3u9os6.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_n", 1725s # (gchar *) "n", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodN", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-n", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-n", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_n, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_n: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_n ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodN", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_n_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_n_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gint16 *out_arg_n, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(n)", 1725s # out_arg_n); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_n_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_n_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gint16 *out_arg_n, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodN", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(n)", 1725s # out_arg_n); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_n: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_n: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_n ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # gint16 arg_n) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(n)", 1725s # arg_n)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmph4pie76_.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmph4pie76_.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_q", 1725s # (gchar *) "q", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodQ", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-q", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-q", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_q, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_q: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_q ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodQ", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_q_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_q_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guint16 *out_arg_q, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(q)", 1725s # out_arg_q); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_q_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_q_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guint16 *out_arg_q, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodQ", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(q)", 1725s # out_arg_q); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_q: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_q: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_q ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # guint16 arg_q) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(q)", 1725s # arg_q)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmphm_dj61j.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmphm_dj61j.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_i", 1725s # (gchar *) "i", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodI", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-i", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-i", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_i, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_i: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_i ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodI", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_i_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_i_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gint *out_arg_i, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(i)", 1725s # out_arg_i); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_i_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_i_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gint *out_arg_i, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodI", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(i)", 1725s # out_arg_i); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_i: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_i: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_i ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # gint arg_i) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(i)", 1725s # arg_i)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpkns2faxz.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpkns2faxz.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_u", 1725s # (gchar *) "u", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodU", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-u", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-u", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_u, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_u: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_u ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodU", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_u_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_u_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guint *out_arg_u, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(u)", 1725s # out_arg_u); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_u_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_u_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guint *out_arg_u, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodU", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(u)", 1725s # out_arg_u); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_u: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_u: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_u ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # guint arg_u) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(u)", 1725s # arg_u)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpj2s2ijny.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpj2s2ijny.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_x", 1725s # (gchar *) "x", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodX", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-x", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-x", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_x, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_x: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_x ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodX", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_x_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_x_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gint64 *out_arg_x, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(x)", 1725s # out_arg_x); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_x_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_x_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gint64 *out_arg_x, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodX", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(x)", 1725s # out_arg_x); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_x: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_x: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_x ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # gint64 arg_x) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(x)", 1725s # arg_x)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpgkon3_oz.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpgkon3_oz.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_t", 1725s # (gchar *) "t", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodT", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-t", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-t", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_t, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_t: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_t ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodT", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_t_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_t_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guint64 *out_arg_t, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(t)", 1725s # out_arg_t); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_t_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_t_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # guint64 *out_arg_t, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodT", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(t)", 1725s # out_arg_t); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_t: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_t: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_t ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # guint64 arg_t) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(t)", 1725s # arg_t)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmplxjny4k4.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmplxjny4k4.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_d", 1725s # (gchar *) "d", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodD", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-d", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-d", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_d, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_d: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_d ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodD", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_d_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_d_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gdouble *out_arg_d, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(d)", 1725s # out_arg_d); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_d_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_d_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gdouble *out_arg_d, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodD", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(d)", 1725s # out_arg_d); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_d: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_d: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_d ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # gdouble arg_d) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(d)", 1725s # arg_d)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmp2wc8dpu5.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmp2wc8dpu5.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_s", 1725s # (gchar *) "s", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodS", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-s", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-s", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_s, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_s: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_s ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodS", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_s_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_s_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_s, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(s)", 1725s # out_arg_s); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_s_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_s_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_s, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodS", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(s)", 1725s # out_arg_s); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_s: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_s: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_s ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *arg_s) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(s)", 1725s # arg_s)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpgmvyio96.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpgmvyio96.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_o", 1725s # (gchar *) "o", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodO", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-o", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-o", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_o, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_o: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_o ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodO", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_o_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_o_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_o, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(o)", 1725s # out_arg_o); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_o_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_o_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_o, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodO", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(o)", 1725s # out_arg_o); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_o: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_o: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_o ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *arg_o) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(o)", 1725s # arg_o)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpx7g6gotj.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpx7g6gotj.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_g", 1725s # (gchar *) "g", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodG", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-g", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-g", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_g, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_g: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_g ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodG", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_g_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_g_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_g, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(g)", 1725s # out_arg_g); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_g_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_g_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_g, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodG", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(g)", 1725s # out_arg_g); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_g: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_g: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_g ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *arg_g) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(g)", 1725s # arg_g)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpb6xng1if.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpb6xng1if.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_h", 1725s # (gchar *) "h", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodH", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-h", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-h", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_h, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_h: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_h ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodH", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_h_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_h_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GVariant **out_arg_h, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(@h)", 1725s # out_arg_h); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_h_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_h_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GVariant **out_arg_h, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodH", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(@h)", 1725s # out_arg_h); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_h: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_h: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_h ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # GVariant *arg_h) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(@h)", 1725s # arg_h)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpmljuk19a.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpmljuk19a.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_ay", 1725s # (gchar *) "ay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodAy", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-ay", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-ay", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_ay: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_ay ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAy", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_ay, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^ay)", 1725s # out_arg_ay); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar **out_arg_ay, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAy", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^ay)", 1725s # out_arg_ay); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_ay: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_ay: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_ay ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *arg_ay) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(^ay)", 1725s # arg_ay)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmp8rakkd1t.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmp8rakkd1t.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_as", 1725s # (gchar *) "as", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodAs", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-as", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-as", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_as, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_as: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_as ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAs", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_as_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_as_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar ***out_arg_as, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^as)", 1725s # out_arg_as); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_as_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_as_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar ***out_arg_as, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAs", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^as)", 1725s # out_arg_as); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_as: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_as: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_as ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *const *arg_as) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(^as)", 1725s # arg_as)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmp0oide8a1.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmp0oide8a1.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_ao", 1725s # (gchar *) "ao", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodAo", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-ao", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-ao", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_ao: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_ao ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAo", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar ***out_arg_ao, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^ao)", 1725s # out_arg_ao); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar ***out_arg_ao, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAo", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^ao)", 1725s # out_arg_ao); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_ao: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_ao: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_ao ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *const *arg_ao) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(^ao)", 1725s # arg_ao)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpnqjodjqc.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpnqjodjqc.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_aay", 1725s # (gchar *) "aay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodAay", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-aay", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-aay", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_aay: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_aay ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAay", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar ***out_arg_aay, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^aay)", 1725s # out_arg_aay); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # gchar ***out_arg_aay, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAay", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(^aay)", 1725s # out_arg_aay); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_aay: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_aay: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_aay ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # const gchar *const *arg_aay) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(^aay)", 1725s # arg_aay)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s # /tmp/tmp60shx7et/tmpoyxgjgg9.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60shx7et/tmpoyxgjgg9.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 2); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.UsefulInterface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectUsefulInterface 1725s # * @title: OrgProjectUsefulInterface 1725s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "arg_asv", 1725s # (gchar *) "a{sv}", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SingleArgMethodAsv", 1725s # NULL, 1725s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1725s # NULL 1725s # }, 1725s # "handle-single-arg-method-asv", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1725s # { 1725s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.UsefulInterface", 1725s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-useful-interface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_useful_interface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1725s # */ 1725s # 1725s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-single-arg-method-asv", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1725s # G_TYPE_BOOLEAN, 1725s # 1, 1725s # G_TYPE_DBUS_METHOD_INVOCATION); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_asv: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_useful_interface_call_single_arg_method_asv ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAsv", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GVariant **out_arg_asv, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(@a{sv})", 1725s # out_arg_asv); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1725s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1725s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1725s # OrgProjectUsefulInterface *proxy, 1725s # GVariant **out_arg_asv, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SingleArgMethodAsv", 1725s # g_variant_new ("()"), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "(@a{sv})", 1725s # out_arg_asv); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_complete_single_arg_method_asv: 1725s # * @object: A #OrgProjectUsefulInterface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * @arg_asv: Parameter to return. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_useful_interface_complete_single_arg_method_asv ( 1725s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation, 1725s # GVariant *arg_asv) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("(@a{sv})", 1725s # arg_asv)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxy: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1725s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1725s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_useful_interface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeleton: 1725s # * 1725s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectUsefulInterfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_useful_interface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_useful_interface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_useful_interface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1725s # { 1725s # _org_project_useful_interface_skeleton_handle_method_call, 1725s # _org_project_useful_interface_skeleton_handle_get_property, 1725s # _org_project_useful_interface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_useful_interface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_useful_interface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_useful_interface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectUsefulInterface * 1725s # org_project_useful_interface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1725s # } 1725s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1725s # tmpdir: /tmp/tmpq3omjoiu 1725s # codegen: /usr/bin/gdbus-codegen 1725s # /tmp/tmpq3omjoiu/tmp6fpgppu9.xml: 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # 1725s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq3omjoiu/tmp6fpgppu9.xml', '--output', '-', '--body'] 1725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1725s # Output: /* 1725s # * This file is generated by gdbus-codegen, do not modify it. 1725s # * 1725s # * The license of this code is the same as for the D-Bus interface description 1725s # * it was derived from. Note that it links to GLib, so must comply with the 1725s # * LGPL linking clauses. 1725s # */ 1725s # 1725s # #ifdef HAVE_CONFIG_H 1725s # # include "config.h" 1725s # #endif 1725s # 1725s # #include 1725s # #ifdef G_OS_UNIX 1725s # # include 1725s # #endif 1725s # 1725s # #ifdef G_ENABLE_DEBUG 1725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1725s # #else /* !G_ENABLE_DEBUG */ 1725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1725s # * Do not access GValues directly in your code. Instead, use the 1725s # * g_value_get_*() functions 1725s # */ 1725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1725s # #endif /* !G_ENABLE_DEBUG */ 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusArgInfo parent_struct; 1725s # gboolean use_gvariant; 1725s # } _ExtendedGDBusArgInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusMethodInfo parent_struct; 1725s # const gchar *signal_name; 1725s # gboolean pass_fdlist; 1725s # } _ExtendedGDBusMethodInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusSignalInfo parent_struct; 1725s # const gchar *signal_name; 1725s # } _ExtendedGDBusSignalInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusPropertyInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # guint use_gvariant : 1; 1725s # guint emits_changed_signal : 1; 1725s # } _ExtendedGDBusPropertyInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # GDBusInterfaceInfo parent_struct; 1725s # const gchar *hyphen_name; 1725s # } _ExtendedGDBusInterfaceInfo; 1725s # 1725s # typedef struct 1725s # { 1725s # const _ExtendedGDBusPropertyInfo *info; 1725s # guint prop_id; 1725s # GValue orig_value; /* the value before the change */ 1725s # } ChangedProperty; 1725s # 1725s # static void 1725s # _changed_property_free (ChangedProperty *data) 1725s # { 1725s # g_value_unset (&data->orig_value); 1725s # g_free (data); 1725s # } 1725s # 1725s # static gboolean 1725s # _g_strv_equal0 (gchar **a, gchar **b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # guint n; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # if (g_strv_length (a) != g_strv_length (b)) 1725s # goto out; 1725s # for (n = 0; a[n] != NULL; n++) 1725s # if (g_strcmp0 (a[n], b[n]) != 0) 1725s # goto out; 1725s # ret = TRUE; 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _g_variant_equal0 (GVariant *a, GVariant *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # if (a == NULL && b == NULL) 1725s # { 1725s # ret = TRUE; 1725s # goto out; 1725s # } 1725s # if (a == NULL || b == NULL) 1725s # goto out; 1725s # ret = g_variant_equal (a, b); 1725s # out: 1725s # return ret; 1725s # } 1725s # 1725s # G_GNUC_UNUSED static gboolean 1725s # _g_value_equal (const GValue *a, const GValue *b) 1725s # { 1725s # gboolean ret = FALSE; 1725s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1725s # switch (G_VALUE_TYPE (a)) 1725s # { 1725s # case G_TYPE_BOOLEAN: 1725s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1725s # break; 1725s # case G_TYPE_UCHAR: 1725s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1725s # break; 1725s # case G_TYPE_INT: 1725s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1725s # break; 1725s # case G_TYPE_UINT: 1725s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1725s # break; 1725s # case G_TYPE_INT64: 1725s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1725s # break; 1725s # case G_TYPE_UINT64: 1725s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1725s # break; 1725s # case G_TYPE_DOUBLE: 1725s # { 1725s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1725s # gdouble da = g_value_get_double (a); 1725s # gdouble db = g_value_get_double (b); 1725s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1725s # } 1725s # break; 1725s # case G_TYPE_STRING: 1725s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1725s # break; 1725s # case G_TYPE_VARIANT: 1725s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1725s # break; 1725s # default: 1725s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1725s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1725s # else 1725s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1725s # break; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static void 1725s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint G_GNUC_UNUSED, 1725s # void *marshal_data) 1725s # { 1725s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1725s # (void *data1, 1725s # GDBusMethodInvocation *arg_method_invocation, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # void *data2); 1725s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1725s # GCClosure *cc = (GCClosure*) closure; 1725s # void *data1, *data2; 1725s # gboolean v_return; 1725s # 1725s # g_return_if_fail (return_value != NULL); 1725s # g_return_if_fail (n_param_values == 20); 1725s # 1725s # if (G_CCLOSURE_SWAP_DATA (closure)) 1725s # { 1725s # data1 = closure->data; 1725s # data2 = g_value_peek_pointer (param_values + 0); 1725s # } 1725s # else 1725s # { 1725s # data1 = g_value_peek_pointer (param_values + 0); 1725s # data2 = closure->data; 1725s # } 1725s # 1725s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1725s # (marshal_data ? marshal_data : cc->callback); 1725s # 1725s # v_return = 1725s # callback (data1, 1725s # g_marshal_value_peek_object (param_values + 1), 1725s # g_marshal_value_peek_boolean (param_values + 2), 1725s # g_marshal_value_peek_uchar (param_values + 3), 1725s # g_marshal_value_peek_int (param_values + 4), 1725s # g_marshal_value_peek_uint (param_values + 5), 1725s # g_marshal_value_peek_int (param_values + 6), 1725s # g_marshal_value_peek_uint (param_values + 7), 1725s # g_marshal_value_peek_int64 (param_values + 8), 1725s # g_marshal_value_peek_uint64 (param_values + 9), 1725s # g_marshal_value_peek_double (param_values + 10), 1725s # g_marshal_value_peek_string (param_values + 11), 1725s # g_marshal_value_peek_string (param_values + 12), 1725s # g_marshal_value_peek_string (param_values + 13), 1725s # g_marshal_value_peek_variant (param_values + 14), 1725s # g_marshal_value_peek_string (param_values + 15), 1725s # g_marshal_value_peek_boxed (param_values + 16), 1725s # g_marshal_value_peek_boxed (param_values + 17), 1725s # g_marshal_value_peek_boxed (param_values + 18), 1725s # g_marshal_value_peek_variant (param_values + 19), 1725s # data2); 1725s # 1725s # g_value_set_boolean (return_value, v_return); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.CallableIface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectCallableIface 1725s # * @title: OrgProjectCallableIface 1725s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.CallableIface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_b", 1725s # (gchar *) "b", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_y", 1725s # (gchar *) "y", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_n", 1725s # (gchar *) "n", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_q", 1725s # (gchar *) "q", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_i", 1725s # (gchar *) "i", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_u", 1725s # (gchar *) "u", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_x", 1725s # (gchar *) "x", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_t", 1725s # (gchar *) "t", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_d", 1725s # (gchar *) "d", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_s", 1725s # (gchar *) "s", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_o", 1725s # (gchar *) "o", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_g", 1725s # (gchar *) "g", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_h", 1725s # (gchar *) "h", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_ay", 1725s # (gchar *) "ay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_as", 1725s # (gchar *) "as", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_ao", 1725s # (gchar *) "ao", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_aay", 1725s # (gchar *) "aay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_asv", 1725s # (gchar *) "a{sv}", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1725s # { 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1725s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "MethodWithManyArgs", 1725s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "handle-method-with-many-args", 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_b", 1725s # (gchar *) "b", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_y", 1725s # (gchar *) "y", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_n", 1725s # (gchar *) "n", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_q", 1725s # (gchar *) "q", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_i", 1725s # (gchar *) "i", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_u", 1725s # (gchar *) "u", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_x", 1725s # (gchar *) "x", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_t", 1725s # (gchar *) "t", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_d", 1725s # (gchar *) "d", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_s", 1725s # (gchar *) "s", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_o", 1725s # (gchar *) "o", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_g", 1725s # (gchar *) "g", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_h", 1725s # (gchar *) "h", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_ay", 1725s # (gchar *) "ay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_as", 1725s # (gchar *) "as", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_ao", 1725s # (gchar *) "ao", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_aay", 1725s # (gchar *) "aay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_asv", 1725s # (gchar *) "a{sv}", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1725s # { 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "SameMethodWithManyArgs", 1725s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "handle-same-method-with-many-args", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1725s # { 1725s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1725s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.CallableIface", 1725s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-callable-iface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_callable_iface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_callable_iface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_callable_iface_method_marshal_method_with_many_args ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _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, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # inline static void 1725s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _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, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectCallableIface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectCallableIfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1725s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.CallableIface. 1725s # */ 1725s # 1725s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectCallableIface::handle-method-with-many-args: 1725s # * @object: A #OrgProjectCallableIface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * @arg_an_b: Argument passed by remote caller. 1725s # * @arg_an_y: Argument passed by remote caller. 1725s # * @arg_an_n: Argument passed by remote caller. 1725s # * @arg_an_q: Argument passed by remote caller. 1725s # * @arg_an_i: Argument passed by remote caller. 1725s # * @arg_an_u: Argument passed by remote caller. 1725s # * @arg_an_x: Argument passed by remote caller. 1725s # * @arg_an_t: Argument passed by remote caller. 1725s # * @arg_an_d: Argument passed by remote caller. 1725s # * @arg_an_s: Argument passed by remote caller. 1725s # * @arg_an_o: Argument passed by remote caller. 1725s # * @arg_an_g: Argument passed by remote caller. 1725s # * @arg_an_h: Argument passed by remote caller. 1725s # * @arg_an_ay: Argument passed by remote caller. 1725s # * @arg_an_as: Argument passed by remote caller. 1725s # * @arg_an_ao: Argument passed by remote caller. 1725s # * @arg_an_aay: Argument passed by remote caller. 1725s # * @arg_an_asv: Argument passed by remote caller. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-method-with-many-args", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_callable_iface_method_marshal_method_with_many_args, 1725s # G_TYPE_BOOLEAN, 1725s # 19, 1725s # 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); 1725s # 1725s # /** 1725s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1725s # * @object: A #OrgProjectCallableIface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * @arg_an_b: Argument passed by remote caller. 1725s # * @arg_an_y: Argument passed by remote caller. 1725s # * @arg_an_n: Argument passed by remote caller. 1725s # * @arg_an_q: Argument passed by remote caller. 1725s # * @arg_an_i: Argument passed by remote caller. 1725s # * @arg_an_u: Argument passed by remote caller. 1725s # * @arg_an_x: Argument passed by remote caller. 1725s # * @arg_an_t: Argument passed by remote caller. 1725s # * @arg_an_d: Argument passed by remote caller. 1725s # * @arg_an_s: Argument passed by remote caller. 1725s # * @arg_an_o: Argument passed by remote caller. 1725s # * @arg_an_g: Argument passed by remote caller. 1725s # * @arg_an_h: Argument passed by remote caller. 1725s # * @arg_an_ay: Argument passed by remote caller. 1725s # * @arg_an_as: Argument passed by remote caller. 1725s # * @arg_an_ao: Argument passed by remote caller. 1725s # * @arg_an_aay: Argument passed by remote caller. 1725s # * @arg_an_asv: Argument passed by remote caller. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-same-method-with-many-args", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1725s # G_TYPE_BOOLEAN, 1725s # 19, 1725s # 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); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_call_method_with_many_args: 1725s # * @proxy: A #OrgProjectCallableIfaceProxy. 1725s # * @arg_an_b: Argument to pass with the method invocation. 1725s # * @arg_an_y: Argument to pass with the method invocation. 1725s # * @arg_an_n: Argument to pass with the method invocation. 1725s # * @arg_an_q: Argument to pass with the method invocation. 1725s # * @arg_an_i: Argument to pass with the method invocation. 1725s # * @arg_an_u: Argument to pass with the method invocation. 1725s # * @arg_an_x: Argument to pass with the method invocation. 1725s # * @arg_an_t: Argument to pass with the method invocation. 1725s # * @arg_an_d: Argument to pass with the method invocation. 1725s # * @arg_an_s: Argument to pass with the method invocation. 1725s # * @arg_an_o: Argument to pass with the method invocation. 1725s # * @arg_an_g: Argument to pass with the method invocation. 1725s # * @arg_an_h: Argument to pass with the method invocation. 1725s # * @arg_an_ay: Argument to pass with the method invocation. 1725s # * @arg_an_as: Argument to pass with the method invocation. 1725s # * @arg_an_ao: Argument to pass with the method invocation. 1725s # * @arg_an_aay: Argument to pass with the method invocation. 1725s # * @arg_an_asv: Argument to pass with the method invocation. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_callable_iface_call_method_with_many_args ( 1725s # OrgProjectCallableIface *proxy, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "MethodWithManyArgs", 1725s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1725s # arg_an_b, 1725s # arg_an_y, 1725s # arg_an_n, 1725s # arg_an_q, 1725s # arg_an_i, 1725s # arg_an_u, 1725s # arg_an_x, 1725s # arg_an_t, 1725s # arg_an_d, 1725s # arg_an_s, 1725s # arg_an_o, 1725s # arg_an_g, 1725s # arg_an_h, 1725s # arg_an_ay, 1725s # arg_an_as, 1725s # arg_an_ao, 1725s # arg_an_aay, 1725s # arg_an_asv), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_call_method_with_many_args_finish: 1725s # * @proxy: A #OrgProjectCallableIfaceProxy. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_callable_iface_call_method_with_many_args_finish ( 1725s # OrgProjectCallableIface *proxy, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "()"); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_call_method_with_many_args_sync: 1725s # * @proxy: A #OrgProjectCallableIfaceProxy. 1725s # * @arg_an_b: Argument to pass with the method invocation. 1725s # * @arg_an_y: Argument to pass with the method invocation. 1725s # * @arg_an_n: Argument to pass with the method invocation. 1725s # * @arg_an_q: Argument to pass with the method invocation. 1725s # * @arg_an_i: Argument to pass with the method invocation. 1725s # * @arg_an_u: Argument to pass with the method invocation. 1725s # * @arg_an_x: Argument to pass with the method invocation. 1725s # * @arg_an_t: Argument to pass with the method invocation. 1725s # * @arg_an_d: Argument to pass with the method invocation. 1725s # * @arg_an_s: Argument to pass with the method invocation. 1725s # * @arg_an_o: Argument to pass with the method invocation. 1725s # * @arg_an_g: Argument to pass with the method invocation. 1725s # * @arg_an_h: Argument to pass with the method invocation. 1725s # * @arg_an_ay: Argument to pass with the method invocation. 1725s # * @arg_an_as: Argument to pass with the method invocation. 1725s # * @arg_an_ao: Argument to pass with the method invocation. 1725s # * @arg_an_aay: Argument to pass with the method invocation. 1725s # * @arg_an_asv: Argument to pass with the method invocation. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_callable_iface_call_method_with_many_args_sync ( 1725s # OrgProjectCallableIface *proxy, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "MethodWithManyArgs", 1725s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1725s # arg_an_b, 1725s # arg_an_y, 1725s # arg_an_n, 1725s # arg_an_q, 1725s # arg_an_i, 1725s # arg_an_u, 1725s # arg_an_x, 1725s # arg_an_t, 1725s # arg_an_d, 1725s # arg_an_s, 1725s # arg_an_o, 1725s # arg_an_g, 1725s # arg_an_h, 1725s # arg_an_ay, 1725s # arg_an_as, 1725s # arg_an_ao, 1725s # arg_an_aay, 1725s # arg_an_asv), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "()"); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_call_same_method_with_many_args: 1725s # * @proxy: A #OrgProjectCallableIfaceProxy. 1725s # * @arg_an_b: Argument to pass with the method invocation. 1725s # * @arg_an_y: Argument to pass with the method invocation. 1725s # * @arg_an_n: Argument to pass with the method invocation. 1725s # * @arg_an_q: Argument to pass with the method invocation. 1725s # * @arg_an_i: Argument to pass with the method invocation. 1725s # * @arg_an_u: Argument to pass with the method invocation. 1725s # * @arg_an_x: Argument to pass with the method invocation. 1725s # * @arg_an_t: Argument to pass with the method invocation. 1725s # * @arg_an_d: Argument to pass with the method invocation. 1725s # * @arg_an_s: Argument to pass with the method invocation. 1725s # * @arg_an_o: Argument to pass with the method invocation. 1725s # * @arg_an_g: Argument to pass with the method invocation. 1725s # * @arg_an_h: Argument to pass with the method invocation. 1725s # * @arg_an_ay: Argument to pass with the method invocation. 1725s # * @arg_an_as: Argument to pass with the method invocation. 1725s # * @arg_an_ao: Argument to pass with the method invocation. 1725s # * @arg_an_aay: Argument to pass with the method invocation. 1725s # * @arg_an_asv: Argument to pass with the method invocation. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_callable_iface_call_same_method_with_many_args ( 1725s # OrgProjectCallableIface *proxy, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "SameMethodWithManyArgs", 1725s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1725s # arg_an_b, 1725s # arg_an_y, 1725s # arg_an_n, 1725s # arg_an_q, 1725s # arg_an_i, 1725s # arg_an_u, 1725s # arg_an_x, 1725s # arg_an_t, 1725s # arg_an_d, 1725s # arg_an_s, 1725s # arg_an_o, 1725s # arg_an_g, 1725s # arg_an_h, 1725s # arg_an_ay, 1725s # arg_an_as, 1725s # arg_an_ao, 1725s # arg_an_aay, 1725s # arg_an_asv), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1725s # * @proxy: A #OrgProjectCallableIfaceProxy. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1725s # OrgProjectCallableIface *proxy, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "()"); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1725s # * @proxy: A #OrgProjectCallableIfaceProxy. 1725s # * @arg_an_b: Argument to pass with the method invocation. 1725s # * @arg_an_y: Argument to pass with the method invocation. 1725s # * @arg_an_n: Argument to pass with the method invocation. 1725s # * @arg_an_q: Argument to pass with the method invocation. 1725s # * @arg_an_i: Argument to pass with the method invocation. 1725s # * @arg_an_u: Argument to pass with the method invocation. 1725s # * @arg_an_x: Argument to pass with the method invocation. 1725s # * @arg_an_t: Argument to pass with the method invocation. 1725s # * @arg_an_d: Argument to pass with the method invocation. 1725s # * @arg_an_s: Argument to pass with the method invocation. 1725s # * @arg_an_o: Argument to pass with the method invocation. 1725s # * @arg_an_g: Argument to pass with the method invocation. 1725s # * @arg_an_h: Argument to pass with the method invocation. 1725s # * @arg_an_ay: Argument to pass with the method invocation. 1725s # * @arg_an_as: Argument to pass with the method invocation. 1725s # * @arg_an_ao: Argument to pass with the method invocation. 1725s # * @arg_an_aay: Argument to pass with the method invocation. 1725s # * @arg_an_asv: Argument to pass with the method invocation. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1725s # OrgProjectCallableIface *proxy, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "SameMethodWithManyArgs", 1725s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1725s # arg_an_b, 1725s # arg_an_y, 1725s # arg_an_n, 1725s # arg_an_q, 1725s # arg_an_i, 1725s # arg_an_u, 1725s # arg_an_x, 1725s # arg_an_t, 1725s # arg_an_d, 1725s # arg_an_s, 1725s # arg_an_o, 1725s # arg_an_g, 1725s # arg_an_h, 1725s # arg_an_ay, 1725s # arg_an_as, 1725s # arg_an_ao, 1725s # arg_an_aay, 1725s # arg_an_asv), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "()"); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_complete_method_with_many_args: 1725s # * @object: A #OrgProjectCallableIface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_callable_iface_complete_method_with_many_args ( 1725s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("()")); 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_complete_same_method_with_many_args: 1725s # * @object: A #OrgProjectCallableIface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_callable_iface_complete_same_method_with_many_args ( 1725s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("()")); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectCallableIfaceProxy: 1725s # * 1725s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectCallableIfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectCallableIfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectCallableIfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_callable_iface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1725s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1725s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_callable_iface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # 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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectCallableIface * 1725s # org_project_callable_iface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectCallableIface * 1725s # org_project_callable_iface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_callable_iface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_callable_iface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # 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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectCallableIface * 1725s # org_project_callable_iface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectCallableIface * 1725s # org_project_callable_iface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectCallableIfaceSkeleton: 1725s # * 1725s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectCallableIfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectCallableIfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_callable_iface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_callable_iface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_callable_iface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1725s # { 1725s # _org_project_callable_iface_skeleton_handle_method_call, 1725s # _org_project_callable_iface_skeleton_handle_get_property, 1725s # _org_project_callable_iface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_callable_iface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_callable_iface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_callable_iface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectCallableIface * 1725s # org_project_callable_iface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ 1725s # * Code for interface org.project.OtherCallableIface 1725s # * ------------------------------------------------------------------------ 1725s # */ 1725s # 1725s # /** 1725s # * SECTION:OrgProjectOtherCallableIface 1725s # * @title: OrgProjectOtherCallableIface 1725s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1725s # * 1725s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1725s # */ 1725s # 1725s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_b", 1725s # (gchar *) "b", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_y", 1725s # (gchar *) "y", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_n", 1725s # (gchar *) "n", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_q", 1725s # (gchar *) "q", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_i", 1725s # (gchar *) "i", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_u", 1725s # (gchar *) "u", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_x", 1725s # (gchar *) "x", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_t", 1725s # (gchar *) "t", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_d", 1725s # (gchar *) "d", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_s", 1725s # (gchar *) "s", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_o", 1725s # (gchar *) "o", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_g", 1725s # (gchar *) "g", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_h", 1725s # (gchar *) "h", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_ay", 1725s # (gchar *) "ay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_as", 1725s # (gchar *) "as", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_ao", 1725s # (gchar *) "ao", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_aay", 1725s # (gchar *) "aay", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "an_asv", 1725s # (gchar *) "a{sv}", 1725s # NULL 1725s # }, 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1725s # { 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "MethodWithManyArgs", 1725s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "handle-method-with-many-args", 1725s # FALSE 1725s # }; 1725s # 1725s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1725s # { 1725s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1725s # NULL 1725s # }; 1725s # 1725s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1725s # { 1725s # { 1725s # -1, 1725s # (gchar *) "org.project.OtherCallableIface", 1725s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1725s # NULL, 1725s # NULL, 1725s # NULL 1725s # }, 1725s # "org-project-other-callable-iface", 1725s # }; 1725s # 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_interface_info: 1725s # * 1725s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1725s # * 1725s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1725s # */ 1725s # GDBusInterfaceInfo * 1725s # org_project_other_callable_iface_interface_info (void) 1725s # { 1725s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_override_properties: 1725s # * @klass: The class structure for a #GObject derived class. 1725s # * @property_id_begin: The property id to assign to the first overridden property. 1725s # * 1725s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1725s # * The properties are overridden in the order they are defined. 1725s # * 1725s # * Returns: The last property id. 1725s # */ 1725s # guint 1725s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1725s # { 1725s # return property_id_begin - 1; 1725s # } 1725s # 1725s # 1725s # inline static void 1725s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1725s # GClosure *closure, 1725s # GValue *return_value, 1725s # unsigned int n_param_values, 1725s # const GValue *param_values, 1725s # void *invocation_hint, 1725s # void *marshal_data) 1725s # { 1725s # _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, 1725s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1725s # } 1725s # 1725s # 1725s # /** 1725s # * OrgProjectOtherCallableIface: 1725s # * 1725s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectOtherCallableIfaceIface: 1725s # * @parent_iface: The parent interface. 1725s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1725s # * 1725s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1725s # */ 1725s # 1725s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1725s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1725s # 1725s # static void 1725s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1725s # { 1725s # /* GObject signals for incoming D-Bus method calls: */ 1725s # /** 1725s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1725s # * @object: A #OrgProjectOtherCallableIface. 1725s # * @invocation: A #GDBusMethodInvocation. 1725s # * @arg_an_b: Argument passed by remote caller. 1725s # * @arg_an_y: Argument passed by remote caller. 1725s # * @arg_an_n: Argument passed by remote caller. 1725s # * @arg_an_q: Argument passed by remote caller. 1725s # * @arg_an_i: Argument passed by remote caller. 1725s # * @arg_an_u: Argument passed by remote caller. 1725s # * @arg_an_x: Argument passed by remote caller. 1725s # * @arg_an_t: Argument passed by remote caller. 1725s # * @arg_an_d: Argument passed by remote caller. 1725s # * @arg_an_s: Argument passed by remote caller. 1725s # * @arg_an_o: Argument passed by remote caller. 1725s # * @arg_an_g: Argument passed by remote caller. 1725s # * @arg_an_h: Argument passed by remote caller. 1725s # * @arg_an_ay: Argument passed by remote caller. 1725s # * @arg_an_as: Argument passed by remote caller. 1725s # * @arg_an_ao: Argument passed by remote caller. 1725s # * @arg_an_aay: Argument passed by remote caller. 1725s # * @arg_an_asv: Argument passed by remote caller. 1725s # * 1725s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1725s # * 1725s # * 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. 1725s # * 1725s # * 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. 1725s # */ 1725s # g_signal_new ("handle-method-with-many-args", 1725s # G_TYPE_FROM_INTERFACE (iface), 1725s # G_SIGNAL_RUN_LAST, 1725s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1725s # g_signal_accumulator_true_handled, 1725s # NULL, 1725s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1725s # G_TYPE_BOOLEAN, 1725s # 19, 1725s # 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); 1725s # 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_call_method_with_many_args: 1725s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1725s # * @arg_an_b: Argument to pass with the method invocation. 1725s # * @arg_an_y: Argument to pass with the method invocation. 1725s # * @arg_an_n: Argument to pass with the method invocation. 1725s # * @arg_an_q: Argument to pass with the method invocation. 1725s # * @arg_an_i: Argument to pass with the method invocation. 1725s # * @arg_an_u: Argument to pass with the method invocation. 1725s # * @arg_an_x: Argument to pass with the method invocation. 1725s # * @arg_an_t: Argument to pass with the method invocation. 1725s # * @arg_an_d: Argument to pass with the method invocation. 1725s # * @arg_an_s: Argument to pass with the method invocation. 1725s # * @arg_an_o: Argument to pass with the method invocation. 1725s # * @arg_an_g: Argument to pass with the method invocation. 1725s # * @arg_an_h: Argument to pass with the method invocation. 1725s # * @arg_an_ay: Argument to pass with the method invocation. 1725s # * @arg_an_as: Argument to pass with the method invocation. 1725s # * @arg_an_ao: Argument to pass with the method invocation. 1725s # * @arg_an_aay: Argument to pass with the method invocation. 1725s # * @arg_an_asv: Argument to pass with the method invocation. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1725s # */ 1725s # void 1725s # org_project_other_callable_iface_call_method_with_many_args ( 1725s # OrgProjectOtherCallableIface *proxy, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1725s # "MethodWithManyArgs", 1725s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1725s # arg_an_b, 1725s # arg_an_y, 1725s # arg_an_n, 1725s # arg_an_q, 1725s # arg_an_i, 1725s # arg_an_u, 1725s # arg_an_x, 1725s # arg_an_t, 1725s # arg_an_d, 1725s # arg_an_s, 1725s # arg_an_o, 1725s # arg_an_g, 1725s # arg_an_h, 1725s # arg_an_ay, 1725s # arg_an_as, 1725s # arg_an_ao, 1725s # arg_an_aay, 1725s # arg_an_asv), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # callback, 1725s # user_data); 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1725s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1725s # OrgProjectOtherCallableIface *proxy, 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "()"); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1725s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1725s # * @arg_an_b: Argument to pass with the method invocation. 1725s # * @arg_an_y: Argument to pass with the method invocation. 1725s # * @arg_an_n: Argument to pass with the method invocation. 1725s # * @arg_an_q: Argument to pass with the method invocation. 1725s # * @arg_an_i: Argument to pass with the method invocation. 1725s # * @arg_an_u: Argument to pass with the method invocation. 1725s # * @arg_an_x: Argument to pass with the method invocation. 1725s # * @arg_an_t: Argument to pass with the method invocation. 1725s # * @arg_an_d: Argument to pass with the method invocation. 1725s # * @arg_an_s: Argument to pass with the method invocation. 1725s # * @arg_an_o: Argument to pass with the method invocation. 1725s # * @arg_an_g: Argument to pass with the method invocation. 1725s # * @arg_an_h: Argument to pass with the method invocation. 1725s # * @arg_an_ay: Argument to pass with the method invocation. 1725s # * @arg_an_as: Argument to pass with the method invocation. 1725s # * @arg_an_ao: Argument to pass with the method invocation. 1725s # * @arg_an_aay: Argument to pass with the method invocation. 1725s # * @arg_an_asv: Argument to pass with the method invocation. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL. 1725s # * 1725s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1725s # * 1725s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1725s # */ 1725s # gboolean 1725s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1725s # OrgProjectOtherCallableIface *proxy, 1725s # gboolean arg_an_b, 1725s # guchar arg_an_y, 1725s # gint16 arg_an_n, 1725s # guint16 arg_an_q, 1725s # gint arg_an_i, 1725s # guint arg_an_u, 1725s # gint64 arg_an_x, 1725s # guint64 arg_an_t, 1725s # gdouble arg_an_d, 1725s # const gchar *arg_an_s, 1725s # const gchar *arg_an_o, 1725s # const gchar *arg_an_g, 1725s # GVariant *arg_an_h, 1725s # const gchar *arg_an_ay, 1725s # const gchar *const *arg_an_as, 1725s # const gchar *const *arg_an_ao, 1725s # const gchar *const *arg_an_aay, 1725s # GVariant *arg_an_asv, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GVariant *_ret; 1725s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1725s # "MethodWithManyArgs", 1725s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1725s # arg_an_b, 1725s # arg_an_y, 1725s # arg_an_n, 1725s # arg_an_q, 1725s # arg_an_i, 1725s # arg_an_u, 1725s # arg_an_x, 1725s # arg_an_t, 1725s # arg_an_d, 1725s # arg_an_s, 1725s # arg_an_o, 1725s # arg_an_g, 1725s # arg_an_h, 1725s # arg_an_ay, 1725s # arg_an_as, 1725s # arg_an_ao, 1725s # arg_an_aay, 1725s # arg_an_asv), 1725s # G_DBUS_CALL_FLAGS_NONE, 1725s # -1, 1725s # cancellable, 1725s # error); 1725s # if (_ret == NULL) 1725s # goto _out; 1725s # g_variant_get (_ret, 1725s # "()"); 1725s # g_variant_unref (_ret); 1725s # _out: 1725s # return _ret != NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_complete_method_with_many_args: 1725s # * @object: A #OrgProjectOtherCallableIface. 1725s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1725s # * 1725s # * 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. 1725s # * 1725s # * This method will free @invocation, you cannot use it afterwards. 1725s # */ 1725s # void 1725s # org_project_other_callable_iface_complete_method_with_many_args ( 1725s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1725s # GDBusMethodInvocation *invocation) 1725s # { 1725s # g_dbus_method_invocation_return_value (invocation, 1725s # g_variant_new ("()")); 1725s # } 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectOtherCallableIfaceProxy: 1725s # * 1725s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectOtherCallableIfaceProxyClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1725s # */ 1725s # 1725s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1725s # { 1725s # GData *qdata; 1725s # }; 1725s # 1725s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1725s # { 1725s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1725s # g_datalist_clear (&proxy->priv->qdata); 1725s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1725s # guint prop_id G_GNUC_UNUSED, 1725s # const GValue *value G_GNUC_UNUSED, 1725s # GParamSpec *pspec G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1725s # const gchar *sender_name G_GNUC_UNUSED, 1725s # const gchar *signal_name, 1725s # GVariant *parameters) 1725s # { 1725s # _ExtendedGDBusSignalInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # gsize n; 1725s # guint signal_id; 1725s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1725s # if (info == NULL) 1725s # return; 1725s # num_params = g_variant_n_children (parameters); 1725s # paramv = g_new0 (GValue, num_params + 1); 1725s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1725s # g_value_set_object (¶mv[0], proxy); 1725s # g_variant_iter_init (&iter, parameters); 1725s # n = 1; 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1725s # g_signal_emitv (paramv, signal_id, 0, NULL); 1725s # for (n = 0; n < num_params + 1; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1725s # GVariant *changed_properties, 1725s # const gchar *const *invalidated_properties) 1725s # { 1725s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1725s # guint n; 1725s # const gchar *key; 1725s # GVariantIter *iter; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # g_variant_get (changed_properties, "a{sv}", &iter); 1725s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1725s # g_datalist_remove_data (&proxy->priv->qdata, key); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # g_variant_iter_free (iter); 1725s # for (n = 0; invalidated_properties[n] != NULL; n++) 1725s # { 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1725s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1725s # if (info != NULL) 1725s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1725s # } 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1725s # #else 1725s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1725s # #endif 1725s # 1725s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusProxyClass *proxy_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1725s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1725s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1725s # 1725s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1725s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1725s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_proxy_new: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_other_callable_iface_proxy_new ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # 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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_proxy_new_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectOtherCallableIface * 1725s # org_project_other_callable_iface_proxy_new_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_proxy_new_sync: 1725s # * @connection: A #GDBusConnection. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectOtherCallableIface * 1725s # org_project_other_callable_iface_proxy_new_sync ( 1725s # GDBusConnection *connection, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_proxy_new_for_bus: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1725s # * @user_data: User data to pass to @callback. 1725s # * 1725s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1725s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1725s # * 1725s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1725s # */ 1725s # void 1725s # org_project_other_callable_iface_proxy_new_for_bus ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GAsyncReadyCallback callback, 1725s # gpointer user_data) 1725s # { 1725s # 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); 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1725s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectOtherCallableIface * 1725s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1725s # GAsyncResult *res, 1725s # GError **error) 1725s # { 1725s # GObject *ret; 1725s # GObject *source_object; 1725s # source_object = g_async_result_get_source_object (res); 1725s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1725s # g_object_unref (source_object); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1725s # * @bus_type: A #GBusType. 1725s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1725s # * @name: A bus name (well-known or unique). 1725s # * @object_path: An object path. 1725s # * @cancellable: (nullable): A #GCancellable or %NULL. 1725s # * @error: Return location for error or %NULL 1725s # * 1725s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1725s # * 1725s # * The calling thread is blocked until a reply is received. 1725s # * 1725s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1725s # */ 1725s # OrgProjectOtherCallableIface * 1725s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1725s # GBusType bus_type, 1725s # GDBusProxyFlags flags, 1725s # const gchar *name, 1725s # const gchar *object_path, 1725s # GCancellable *cancellable, 1725s # GError **error) 1725s # { 1725s # GInitable *ret; 1725s # 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); 1725s # if (ret != NULL) 1725s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1725s # else 1725s # return NULL; 1725s # } 1725s # 1725s # 1725s # /* ------------------------------------------------------------------------ */ 1725s # 1725s # /** 1725s # * OrgProjectOtherCallableIfaceSkeleton: 1725s # * 1725s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1725s # */ 1725s # 1725s # /** 1725s # * OrgProjectOtherCallableIfaceSkeletonClass: 1725s # * @parent_class: The parent class. 1725s # * 1725s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1725s # */ 1725s # 1725s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1725s # { 1725s # GValue *properties; 1725s # GList *changed_properties; 1725s # GSource *changed_properties_idle_source; 1725s # GMainContext *context; 1725s # GMutex lock; 1725s # }; 1725s # 1725s # static void 1725s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name, 1725s # const gchar *method_name, 1725s # GVariant *parameters, 1725s # GDBusMethodInvocation *invocation, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1725s # _ExtendedGDBusMethodInfo *info; 1725s # GVariantIter iter; 1725s # GVariant *child; 1725s # GValue *paramv; 1725s # gsize num_params; 1725s # guint num_extra; 1725s # gsize n; 1725s # guint signal_id; 1725s # GValue return_value = G_VALUE_INIT; 1725s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1725s # g_assert (info != NULL); 1725s # num_params = g_variant_n_children (parameters); 1725s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1725s # n = 0; 1725s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1725s # g_value_set_object (¶mv[n++], skeleton); 1725s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1725s # g_value_set_object (¶mv[n++], invocation); 1725s # if (info->pass_fdlist) 1725s # { 1725s # #ifdef G_OS_UNIX 1725s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1725s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1725s # #else 1725s # g_assert_not_reached (); 1725s # #endif 1725s # } 1725s # g_variant_iter_init (&iter, parameters); 1725s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1725s # { 1725s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1725s # if (arg_info->use_gvariant) 1725s # { 1725s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1725s # g_value_set_variant (¶mv[n], child); 1725s # n++; 1725s # } 1725s # else 1725s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1725s # g_variant_unref (child); 1725s # } 1725s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1725s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1725s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1725s # if (!g_value_get_boolean (&return_value)) 1725s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1725s # g_value_unset (&return_value); 1725s # for (n = 0; n < num_params + num_extra; n++) 1725s # g_value_unset (¶mv[n]); 1725s # g_free (paramv); 1725s # } 1725s # 1725s # static GVariant * 1725s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # GVariant *ret; 1725s # ret = NULL; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # g_value_init (&value, pspec->value_type); 1725s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1725s # g_value_unset (&value); 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static gboolean 1725s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1725s # GDBusConnection *connection G_GNUC_UNUSED, 1725s # const gchar *sender G_GNUC_UNUSED, 1725s # const gchar *object_path G_GNUC_UNUSED, 1725s # const gchar *interface_name G_GNUC_UNUSED, 1725s # const gchar *property_name, 1725s # GVariant *variant, 1725s # GError **error, 1725s # gpointer user_data) 1725s # { 1725s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1725s # GValue value = G_VALUE_INIT; 1725s # GParamSpec *pspec; 1725s # _ExtendedGDBusPropertyInfo *info; 1725s # gboolean ret; 1725s # ret = FALSE; 1725s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1725s # g_assert (info != NULL); 1725s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1725s # if (pspec == NULL) 1725s # { 1725s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1725s # } 1725s # else 1725s # { 1725s # if (info->use_gvariant) 1725s # g_value_set_variant (&value, variant); 1725s # else 1725s # g_dbus_gvariant_to_gvalue (variant, &value); 1725s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1725s # g_value_unset (&value); 1725s # ret = TRUE; 1725s # } 1725s # return ret; 1725s # } 1725s # 1725s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1725s # { 1725s # _org_project_other_callable_iface_skeleton_handle_method_call, 1725s # _org_project_other_callable_iface_skeleton_handle_get_property, 1725s # _org_project_other_callable_iface_skeleton_handle_set_property, 1725s # {NULL} 1725s # }; 1725s # 1725s # static GDBusInterfaceInfo * 1725s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return org_project_other_callable_iface_interface_info (); 1725s # } 1725s # 1725s # static GDBusInterfaceVTable * 1725s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1725s # { 1725s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1725s # } 1725s # 1725s # static GVariant * 1725s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1725s # { 1725s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1725s # 1725s # GVariantBuilder builder; 1725s # guint n; 1725s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1725s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1725s # goto out; 1725s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1725s # { 1725s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1725s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1725s # { 1725s # GVariant *value; 1725s # 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); 1725s # if (value != NULL) 1725s # { 1725s # g_variant_take_ref (value); 1725s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1725s # g_variant_unref (value); 1725s # } 1725s # } 1725s # } 1725s # out: 1725s # return g_variant_builder_end (&builder); 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1725s # 1725s # #else 1725s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1725s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1725s # 1725s # #endif 1725s # static void 1725s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1725s # { 1725s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1725s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1725s # if (skeleton->priv->changed_properties_idle_source != NULL) 1725s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1725s # g_main_context_unref (skeleton->priv->context); 1725s # g_mutex_clear (&skeleton->priv->lock); 1725s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1725s # { 1725s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1725s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1725s # #else 1725s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1725s # #endif 1725s # 1725s # g_mutex_init (&skeleton->priv->lock); 1725s # skeleton->priv->context = g_main_context_ref_thread_default (); 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1725s # { 1725s # GObjectClass *gobject_class; 1725s # GDBusInterfaceSkeletonClass *skeleton_class; 1725s # 1725s # gobject_class = G_OBJECT_CLASS (klass); 1725s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1725s # 1725s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1725s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1725s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1725s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1725s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1725s # 1725s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1725s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1725s # #endif 1725s # } 1725s # 1725s # static void 1725s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1725s # { 1725s # } 1725s # 1725s # /** 1725s # * org_project_other_callable_iface_skeleton_new: 1725s # * 1725s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1725s # * 1725s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1725s # */ 1725s # OrgProjectOtherCallableIface * 1725s # org_project_other_callable_iface_skeleton_new (void) 1725s # { 1725s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1725s # } 1726s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1726s # tmpdir: /tmp/tmpepr80y0t 1726s # codegen: /usr/bin/gdbus-codegen 1726s # /tmp/tmpepr80y0t/tmpw006y6s1.xml: 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpepr80y0t/tmpw006y6s1.xml', '--output', '-', '--body'] 1726s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1726s # Output: /* 1726s # * This file is generated by gdbus-codegen, do not modify it. 1726s # * 1726s # * The license of this code is the same as for the D-Bus interface description 1726s # * it was derived from. Note that it links to GLib, so must comply with the 1726s # * LGPL linking clauses. 1726s # */ 1726s # 1726s # #ifdef HAVE_CONFIG_H 1726s # # include "config.h" 1726s # #endif 1726s # 1726s # #include 1726s # #ifdef G_OS_UNIX 1726s # # include 1726s # #endif 1726s # 1726s # #ifdef G_ENABLE_DEBUG 1726s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1726s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1726s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1726s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1726s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1726s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1726s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1726s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1726s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1726s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1726s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1726s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1726s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1726s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1726s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1726s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1726s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1726s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1726s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1726s # #else /* !G_ENABLE_DEBUG */ 1726s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1726s # * Do not access GValues directly in your code. Instead, use the 1726s # * g_value_get_*() functions 1726s # */ 1726s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1726s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1726s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1726s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1726s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1726s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1726s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1726s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1726s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1726s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1726s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1726s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1726s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1726s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1726s # #endif /* !G_ENABLE_DEBUG */ 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusArgInfo parent_struct; 1726s # gboolean use_gvariant; 1726s # } _ExtendedGDBusArgInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusMethodInfo parent_struct; 1726s # const gchar *signal_name; 1726s # gboolean pass_fdlist; 1726s # } _ExtendedGDBusMethodInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusSignalInfo parent_struct; 1726s # const gchar *signal_name; 1726s # } _ExtendedGDBusSignalInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusPropertyInfo parent_struct; 1726s # const gchar *hyphen_name; 1726s # guint use_gvariant : 1; 1726s # guint emits_changed_signal : 1; 1726s # } _ExtendedGDBusPropertyInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusInterfaceInfo parent_struct; 1726s # const gchar *hyphen_name; 1726s # } _ExtendedGDBusInterfaceInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # const _ExtendedGDBusPropertyInfo *info; 1726s # guint prop_id; 1726s # GValue orig_value; /* the value before the change */ 1726s # } ChangedProperty; 1726s # 1726s # static void 1726s # _changed_property_free (ChangedProperty *data) 1726s # { 1726s # g_value_unset (&data->orig_value); 1726s # g_free (data); 1726s # } 1726s # 1726s # static gboolean 1726s # _g_strv_equal0 (gchar **a, gchar **b) 1726s # { 1726s # gboolean ret = FALSE; 1726s # guint n; 1726s # if (a == NULL && b == NULL) 1726s # { 1726s # ret = TRUE; 1726s # goto out; 1726s # } 1726s # if (a == NULL || b == NULL) 1726s # goto out; 1726s # if (g_strv_length (a) != g_strv_length (b)) 1726s # goto out; 1726s # for (n = 0; a[n] != NULL; n++) 1726s # if (g_strcmp0 (a[n], b[n]) != 0) 1726s # goto out; 1726s # ret = TRUE; 1726s # out: 1726s # return ret; 1726s # } 1726s # 1726s # static gboolean 1726s # _g_variant_equal0 (GVariant *a, GVariant *b) 1726s # { 1726s # gboolean ret = FALSE; 1726s # if (a == NULL && b == NULL) 1726s # { 1726s # ret = TRUE; 1726s # goto out; 1726s # } 1726s # if (a == NULL || b == NULL) 1726s # goto out; 1726s # ret = g_variant_equal (a, b); 1726s # out: 1726s # return ret; 1726s # } 1726s # 1726s # G_GNUC_UNUSED static gboolean 1726s # _g_value_equal (const GValue *a, const GValue *b) 1726s # { 1726s # gboolean ret = FALSE; 1726s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1726s # switch (G_VALUE_TYPE (a)) 1726s # { 1726s # case G_TYPE_BOOLEAN: 1726s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1726s # break; 1726s # case G_TYPE_UCHAR: 1726s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1726s # break; 1726s # case G_TYPE_INT: 1726s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1726s # break; 1726s # case G_TYPE_UINT: 1726s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1726s # break; 1726s # case G_TYPE_INT64: 1726s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1726s # break; 1726s # case G_TYPE_UINT64: 1726s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1726s # break; 1726s # case G_TYPE_DOUBLE: 1726s # { 1726s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1726s # gdouble da = g_value_get_double (a); 1726s # gdouble db = g_value_get_double (b); 1726s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1726s # } 1726s # break; 1726s # case G_TYPE_STRING: 1726s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1726s # break; 1726s # case G_TYPE_VARIANT: 1726s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1726s # break; 1726s # default: 1726s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1726s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1726s # else 1726s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1726s # break; 1726s # } 1726s # return ret; 1726s # } 1726s # 1726s # static void 1726s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1726s # GClosure *closure, 1726s # GValue *return_value, 1726s # unsigned int n_param_values, 1726s # const GValue *param_values, 1726s # void *invocation_hint G_GNUC_UNUSED, 1726s # void *marshal_data) 1726s # { 1726s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1726s # (void *data1, 1726s # GDBusMethodInvocation *arg_method_invocation, 1726s # void *data2); 1726s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1726s # GCClosure *cc = (GCClosure*) closure; 1726s # void *data1, *data2; 1726s # gboolean v_return; 1726s # 1726s # g_return_if_fail (return_value != NULL); 1726s # g_return_if_fail (n_param_values == 2); 1726s # 1726s # if (G_CCLOSURE_SWAP_DATA (closure)) 1726s # { 1726s # data1 = closure->data; 1726s # data2 = g_value_peek_pointer (param_values + 0); 1726s # } 1726s # else 1726s # { 1726s # data1 = g_value_peek_pointer (param_values + 0); 1726s # data2 = closure->data; 1726s # } 1726s # 1726s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1726s # (marshal_data ? marshal_data : cc->callback); 1726s # 1726s # v_return = 1726s # callback (data1, 1726s # g_marshal_value_peek_object (param_values + 1), 1726s # data2); 1726s # 1726s # g_value_set_boolean (return_value, v_return); 1726s # } 1726s # 1726s # /* ------------------------------------------------------------------------ 1726s # * Code for interface org.project.CallableIface 1726s # * ------------------------------------------------------------------------ 1726s # */ 1726s # 1726s # /** 1726s # * SECTION:OrgProjectCallableIface 1726s # * @title: OrgProjectCallableIface 1726s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1726s # * 1726s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1726s # */ 1726s # 1726s # /* ---- Introspection data for org.project.CallableIface ---- */ 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_b", 1726s # (gchar *) "b", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_y", 1726s # (gchar *) "y", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_n", 1726s # (gchar *) "n", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_q", 1726s # (gchar *) "q", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_i", 1726s # (gchar *) "i", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_u", 1726s # (gchar *) "u", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_x", 1726s # (gchar *) "x", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_t", 1726s # (gchar *) "t", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_d", 1726s # (gchar *) "d", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_s", 1726s # (gchar *) "s", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_o", 1726s # (gchar *) "o", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_g", 1726s # (gchar *) "g", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_h", 1726s # (gchar *) "h", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_ay", 1726s # (gchar *) "ay", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_as", 1726s # (gchar *) "as", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_ao", 1726s # (gchar *) "ao", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_aay", 1726s # (gchar *) "aay", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "an_asv", 1726s # (gchar *) "a{sv}", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1726s # { 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1726s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1726s # NULL 1726s # }; 1726s # 1726s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "MethodWithManyArgs", 1726s # NULL, 1726s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1726s # NULL 1726s # }, 1726s # "handle-method-with-many-args", 1726s # FALSE 1726s # }; 1726s # 1726s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1726s # { 1726s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1726s # NULL 1726s # }; 1726s # 1726s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "org.project.CallableIface", 1726s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1726s # NULL, 1726s # NULL, 1726s # NULL 1726s # }, 1726s # "org-project-callable-iface", 1726s # }; 1726s # 1726s # 1726s # /** 1726s # * org_project_callable_iface_interface_info: 1726s # * 1726s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1726s # * 1726s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1726s # */ 1726s # GDBusInterfaceInfo * 1726s # org_project_callable_iface_interface_info (void) 1726s # { 1726s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_override_properties: 1726s # * @klass: The class structure for a #GObject derived class. 1726s # * @property_id_begin: The property id to assign to the first overridden property. 1726s # * 1726s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1726s # * The properties are overridden in the order they are defined. 1726s # * 1726s # * Returns: The last property id. 1726s # */ 1726s # guint 1726s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1726s # { 1726s # return property_id_begin - 1; 1726s # } 1726s # 1726s # 1726s # inline static void 1726s # org_project_callable_iface_method_marshal_method_with_many_args ( 1726s # GClosure *closure, 1726s # GValue *return_value, 1726s # unsigned int n_param_values, 1726s # const GValue *param_values, 1726s # void *invocation_hint, 1726s # void *marshal_data) 1726s # { 1726s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1726s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1726s # } 1726s # 1726s # 1726s # /** 1726s # * OrgProjectCallableIface: 1726s # * 1726s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1726s # */ 1726s # 1726s # /** 1726s # * OrgProjectCallableIfaceIface: 1726s # * @parent_iface: The parent interface. 1726s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1726s # * 1726s # * Virtual table for the D-Bus interface org.project.CallableIface. 1726s # */ 1726s # 1726s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1726s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1726s # 1726s # static void 1726s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1726s # { 1726s # /* GObject signals for incoming D-Bus method calls: */ 1726s # /** 1726s # * OrgProjectCallableIface::handle-method-with-many-args: 1726s # * @object: A #OrgProjectCallableIface. 1726s # * @invocation: A #GDBusMethodInvocation. 1726s # * 1726s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1726s # * 1726s # * 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. 1726s # * 1726s # * 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. 1726s # */ 1726s # g_signal_new ("handle-method-with-many-args", 1726s # G_TYPE_FROM_INTERFACE (iface), 1726s # G_SIGNAL_RUN_LAST, 1726s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1726s # g_signal_accumulator_true_handled, 1726s # NULL, 1726s # org_project_callable_iface_method_marshal_method_with_many_args, 1726s # G_TYPE_BOOLEAN, 1726s # 1, 1726s # G_TYPE_DBUS_METHOD_INVOCATION); 1726s # 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_call_method_with_many_args: 1726s # * @proxy: A #OrgProjectCallableIfaceProxy. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1726s # * @user_data: User data to pass to @callback. 1726s # * 1726s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1726s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1726s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1726s # * 1726s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1726s # */ 1726s # void 1726s # org_project_callable_iface_call_method_with_many_args ( 1726s # OrgProjectCallableIface *proxy, 1726s # GCancellable *cancellable, 1726s # GAsyncReadyCallback callback, 1726s # gpointer user_data) 1726s # { 1726s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1726s # "MethodWithManyArgs", 1726s # g_variant_new ("()"), 1726s # G_DBUS_CALL_FLAGS_NONE, 1726s # -1, 1726s # cancellable, 1726s # callback, 1726s # user_data); 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_call_method_with_many_args_finish: 1726s # * @proxy: A #OrgProjectCallableIfaceProxy. 1726s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1726s # * @error: Return location for error or %NULL. 1726s # * 1726s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1726s # * 1726s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1726s # */ 1726s # gboolean 1726s # org_project_callable_iface_call_method_with_many_args_finish ( 1726s # OrgProjectCallableIface *proxy, 1726s # gboolean *out_an_b, 1726s # guchar *out_an_y, 1726s # gint16 *out_an_n, 1726s # guint16 *out_an_q, 1726s # gint *out_an_i, 1726s # guint *out_an_u, 1726s # gint64 *out_an_x, 1726s # guint64 *out_an_t, 1726s # gdouble *out_an_d, 1726s # gchar **out_an_s, 1726s # gchar **out_an_o, 1726s # gchar **out_an_g, 1726s # GVariant **out_an_h, 1726s # gchar **out_an_ay, 1726s # gchar ***out_an_as, 1726s # gchar ***out_an_ao, 1726s # gchar ***out_an_aay, 1726s # GVariant **out_an_asv, 1726s # GAsyncResult *res, 1726s # GError **error) 1726s # { 1726s # GVariant *_ret; 1726s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1726s # if (_ret == NULL) 1726s # goto _out; 1726s # g_variant_get (_ret, 1726s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1726s # out_an_b, 1726s # out_an_y, 1726s # out_an_n, 1726s # out_an_q, 1726s # out_an_i, 1726s # out_an_u, 1726s # out_an_x, 1726s # out_an_t, 1726s # out_an_d, 1726s # out_an_s, 1726s # out_an_o, 1726s # out_an_g, 1726s # out_an_h, 1726s # out_an_ay, 1726s # out_an_as, 1726s # out_an_ao, 1726s # out_an_aay, 1726s # out_an_asv); 1726s # g_variant_unref (_ret); 1726s # _out: 1726s # return _ret != NULL; 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_call_method_with_many_args_sync: 1726s # * @proxy: A #OrgProjectCallableIfaceProxy. 1726s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1726s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @error: Return location for error or %NULL. 1726s # * 1726s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1726s # * 1726s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1726s # * 1726s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1726s # */ 1726s # gboolean 1726s # org_project_callable_iface_call_method_with_many_args_sync ( 1726s # OrgProjectCallableIface *proxy, 1726s # gboolean *out_an_b, 1726s # guchar *out_an_y, 1726s # gint16 *out_an_n, 1726s # guint16 *out_an_q, 1726s # gint *out_an_i, 1726s # guint *out_an_u, 1726s # gint64 *out_an_x, 1726s # guint64 *out_an_t, 1726s # gdouble *out_an_d, 1726s # gchar **out_an_s, 1726s # gchar **out_an_o, 1726s # gchar **out_an_g, 1726s # GVariant **out_an_h, 1726s # gchar **out_an_ay, 1726s # gchar ***out_an_as, 1726s # gchar ***out_an_ao, 1726s # gchar ***out_an_aay, 1726s # GVariant **out_an_asv, 1726s # GCancellable *cancellable, 1726s # GError **error) 1726s # { 1726s # GVariant *_ret; 1726s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1726s # "MethodWithManyArgs", 1726s # g_variant_new ("()"), 1726s # G_DBUS_CALL_FLAGS_NONE, 1726s # -1, 1726s # cancellable, 1726s # error); 1726s # if (_ret == NULL) 1726s # goto _out; 1726s # g_variant_get (_ret, 1726s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1726s # out_an_b, 1726s # out_an_y, 1726s # out_an_n, 1726s # out_an_q, 1726s # out_an_i, 1726s # out_an_u, 1726s # out_an_x, 1726s # out_an_t, 1726s # out_an_d, 1726s # out_an_s, 1726s # out_an_o, 1726s # out_an_g, 1726s # out_an_h, 1726s # out_an_ay, 1726s # out_an_as, 1726s # out_an_ao, 1726s # out_an_aay, 1726s # out_an_asv); 1726s # g_variant_unref (_ret); 1726s # _out: 1726s # return _ret != NULL; 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_complete_method_with_many_args: 1726s # * @object: A #OrgProjectCallableIface. 1726s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1726s # * @an_b: Parameter to return. 1726s # * @an_y: Parameter to return. 1726s # * @an_n: Parameter to return. 1726s # * @an_q: Parameter to return. 1726s # * @an_i: Parameter to return. 1726s # * @an_u: Parameter to return. 1726s # * @an_x: Parameter to return. 1726s # * @an_t: Parameter to return. 1726s # * @an_d: Parameter to return. 1726s # * @an_s: Parameter to return. 1726s # * @an_o: Parameter to return. 1726s # * @an_g: Parameter to return. 1726s # * @an_h: Parameter to return. 1726s # * @an_ay: Parameter to return. 1726s # * @an_as: Parameter to return. 1726s # * @an_ao: Parameter to return. 1726s # * @an_aay: Parameter to return. 1726s # * @an_asv: Parameter to return. 1726s # * 1726s # * 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. 1726s # * 1726s # * This method will free @invocation, you cannot use it afterwards. 1726s # */ 1726s # void 1726s # org_project_callable_iface_complete_method_with_many_args ( 1726s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1726s # GDBusMethodInvocation *invocation, 1726s # gboolean an_b, 1726s # guchar an_y, 1726s # gint16 an_n, 1726s # guint16 an_q, 1726s # gint an_i, 1726s # guint an_u, 1726s # gint64 an_x, 1726s # guint64 an_t, 1726s # gdouble an_d, 1726s # const gchar *an_s, 1726s # const gchar *an_o, 1726s # const gchar *an_g, 1726s # GVariant *an_h, 1726s # const gchar *an_ay, 1726s # const gchar *const *an_as, 1726s # const gchar *const *an_ao, 1726s # const gchar *const *an_aay, 1726s # GVariant *an_asv) 1726s # { 1726s # g_dbus_method_invocation_return_value (invocation, 1726s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1726s # an_b, 1726s # an_y, 1726s # an_n, 1726s # an_q, 1726s # an_i, 1726s # an_u, 1726s # an_x, 1726s # an_t, 1726s # an_d, 1726s # an_s, 1726s # an_o, 1726s # an_g, 1726s # an_h, 1726s # an_ay, 1726s # an_as, 1726s # an_ao, 1726s # an_aay, 1726s # an_asv)); 1726s # } 1726s # 1726s # /* ------------------------------------------------------------------------ */ 1726s # 1726s # /** 1726s # * OrgProjectCallableIfaceProxy: 1726s # * 1726s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1726s # */ 1726s # 1726s # /** 1726s # * OrgProjectCallableIfaceProxyClass: 1726s # * @parent_class: The parent class. 1726s # * 1726s # * Class structure for #OrgProjectCallableIfaceProxy. 1726s # */ 1726s # 1726s # struct _OrgProjectCallableIfaceProxyPrivate 1726s # { 1726s # GData *qdata; 1726s # }; 1726s # 1726s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1726s # 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1726s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1726s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1726s # 1726s # #else 1726s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1726s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1726s # 1726s # #endif 1726s # static void 1726s # org_project_callable_iface_proxy_finalize (GObject *object) 1726s # { 1726s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1726s # g_datalist_clear (&proxy->priv->qdata); 1726s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1726s # guint prop_id G_GNUC_UNUSED, 1726s # GValue *value G_GNUC_UNUSED, 1726s # GParamSpec *pspec G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1726s # guint prop_id G_GNUC_UNUSED, 1726s # const GValue *value G_GNUC_UNUSED, 1726s # GParamSpec *pspec G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1726s # const gchar *sender_name G_GNUC_UNUSED, 1726s # const gchar *signal_name, 1726s # GVariant *parameters) 1726s # { 1726s # _ExtendedGDBusSignalInfo *info; 1726s # GVariantIter iter; 1726s # GVariant *child; 1726s # GValue *paramv; 1726s # gsize num_params; 1726s # gsize n; 1726s # guint signal_id; 1726s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1726s # if (info == NULL) 1726s # return; 1726s # num_params = g_variant_n_children (parameters); 1726s # paramv = g_new0 (GValue, num_params + 1); 1726s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1726s # g_value_set_object (¶mv[0], proxy); 1726s # g_variant_iter_init (&iter, parameters); 1726s # n = 1; 1726s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1726s # { 1726s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1726s # if (arg_info->use_gvariant) 1726s # { 1726s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1726s # g_value_set_variant (¶mv[n], child); 1726s # n++; 1726s # } 1726s # else 1726s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1726s # g_variant_unref (child); 1726s # } 1726s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1726s # g_signal_emitv (paramv, signal_id, 0, NULL); 1726s # for (n = 0; n < num_params + 1; n++) 1726s # g_value_unset (¶mv[n]); 1726s # g_free (paramv); 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1726s # GVariant *changed_properties, 1726s # const gchar *const *invalidated_properties) 1726s # { 1726s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1726s # guint n; 1726s # const gchar *key; 1726s # GVariantIter *iter; 1726s # _ExtendedGDBusPropertyInfo *info; 1726s # g_variant_get (changed_properties, "a{sv}", &iter); 1726s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1726s # { 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1726s # g_datalist_remove_data (&proxy->priv->qdata, key); 1726s # if (info != NULL) 1726s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1726s # } 1726s # g_variant_iter_free (iter); 1726s # for (n = 0; invalidated_properties[n] != NULL; n++) 1726s # { 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1726s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1726s # if (info != NULL) 1726s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1726s # } 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1726s # { 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1726s # #else 1726s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1726s # #endif 1726s # 1726s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1726s # { 1726s # GObjectClass *gobject_class; 1726s # GDBusProxyClass *proxy_class; 1726s # 1726s # gobject_class = G_OBJECT_CLASS (klass); 1726s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1726s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1726s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1726s # 1726s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1726s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1726s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1726s # 1726s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1726s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1726s # #endif 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_proxy_new: 1726s # * @connection: A #GDBusConnection. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1726s # * @user_data: User data to pass to @callback. 1726s # * 1726s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1726s # * 1726s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1726s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1726s # * 1726s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1726s # */ 1726s # void 1726s # org_project_callable_iface_proxy_new ( 1726s # GDBusConnection *connection, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GAsyncReadyCallback callback, 1726s # gpointer user_data) 1726s # { 1726s # 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); 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_proxy_new_finish: 1726s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1726s # * 1726s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # OrgProjectCallableIface * 1726s # org_project_callable_iface_proxy_new_finish ( 1726s # GAsyncResult *res, 1726s # GError **error) 1726s # { 1726s # GObject *ret; 1726s # GObject *source_object; 1726s # source_object = g_async_result_get_source_object (res); 1726s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1726s # g_object_unref (source_object); 1726s # if (ret != NULL) 1726s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_proxy_new_sync: 1726s # * @connection: A #GDBusConnection. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1726s # * 1726s # * The calling thread is blocked until a reply is received. 1726s # * 1726s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1726s # * 1726s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # OrgProjectCallableIface * 1726s # org_project_callable_iface_proxy_new_sync ( 1726s # GDBusConnection *connection, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GError **error) 1726s # { 1726s # GInitable *ret; 1726s # 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); 1726s # if (ret != NULL) 1726s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # 1726s # /** 1726s # * org_project_callable_iface_proxy_new_for_bus: 1726s # * @bus_type: A #GBusType. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: A bus name (well-known or unique). 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1726s # * @user_data: User data to pass to @callback. 1726s # * 1726s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1726s # * 1726s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1726s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1726s # * 1726s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1726s # */ 1726s # void 1726s # org_project_callable_iface_proxy_new_for_bus ( 1726s # GBusType bus_type, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GAsyncReadyCallback callback, 1726s # gpointer user_data) 1726s # { 1726s # 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); 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_proxy_new_for_bus_finish: 1726s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1726s # * 1726s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # OrgProjectCallableIface * 1726s # org_project_callable_iface_proxy_new_for_bus_finish ( 1726s # GAsyncResult *res, 1726s # GError **error) 1726s # { 1726s # GObject *ret; 1726s # GObject *source_object; 1726s # source_object = g_async_result_get_source_object (res); 1726s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1726s # g_object_unref (source_object); 1726s # if (ret != NULL) 1726s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_proxy_new_for_bus_sync: 1726s # * @bus_type: A #GBusType. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: A bus name (well-known or unique). 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1726s # * 1726s # * The calling thread is blocked until a reply is received. 1726s # * 1726s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1726s # * 1726s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # OrgProjectCallableIface * 1726s # org_project_callable_iface_proxy_new_for_bus_sync ( 1726s # GBusType bus_type, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GError **error) 1726s # { 1726s # GInitable *ret; 1726s # 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); 1726s # if (ret != NULL) 1726s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # 1726s # /* ------------------------------------------------------------------------ */ 1726s # 1726s # /** 1726s # * OrgProjectCallableIfaceSkeleton: 1726s # * 1726s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1726s # */ 1726s # 1726s # /** 1726s # * OrgProjectCallableIfaceSkeletonClass: 1726s # * @parent_class: The parent class. 1726s # * 1726s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1726s # */ 1726s # 1726s # struct _OrgProjectCallableIfaceSkeletonPrivate 1726s # { 1726s # GValue *properties; 1726s # GList *changed_properties; 1726s # GSource *changed_properties_idle_source; 1726s # GMainContext *context; 1726s # GMutex lock; 1726s # }; 1726s # 1726s # static void 1726s # _org_project_callable_iface_skeleton_handle_method_call ( 1726s # GDBusConnection *connection G_GNUC_UNUSED, 1726s # const gchar *sender G_GNUC_UNUSED, 1726s # const gchar *object_path G_GNUC_UNUSED, 1726s # const gchar *interface_name, 1726s # const gchar *method_name, 1726s # GVariant *parameters, 1726s # GDBusMethodInvocation *invocation, 1726s # gpointer user_data) 1726s # { 1726s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1726s # _ExtendedGDBusMethodInfo *info; 1726s # GVariantIter iter; 1726s # GVariant *child; 1726s # GValue *paramv; 1726s # gsize num_params; 1726s # guint num_extra; 1726s # gsize n; 1726s # guint signal_id; 1726s # GValue return_value = G_VALUE_INIT; 1726s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1726s # g_assert (info != NULL); 1726s # num_params = g_variant_n_children (parameters); 1726s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1726s # n = 0; 1726s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1726s # g_value_set_object (¶mv[n++], skeleton); 1726s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1726s # g_value_set_object (¶mv[n++], invocation); 1726s # if (info->pass_fdlist) 1726s # { 1726s # #ifdef G_OS_UNIX 1726s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1726s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1726s # #else 1726s # g_assert_not_reached (); 1726s # #endif 1726s # } 1726s # g_variant_iter_init (&iter, parameters); 1726s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1726s # { 1726s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1726s # if (arg_info->use_gvariant) 1726s # { 1726s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1726s # g_value_set_variant (¶mv[n], child); 1726s # n++; 1726s # } 1726s # else 1726s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1726s # g_variant_unref (child); 1726s # } 1726s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1726s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1726s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1726s # if (!g_value_get_boolean (&return_value)) 1726s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1726s # g_value_unset (&return_value); 1726s # for (n = 0; n < num_params + num_extra; n++) 1726s # g_value_unset (¶mv[n]); 1726s # g_free (paramv); 1726s # } 1726s # 1726s # static GVariant * 1726s # _org_project_callable_iface_skeleton_handle_get_property ( 1726s # GDBusConnection *connection G_GNUC_UNUSED, 1726s # const gchar *sender G_GNUC_UNUSED, 1726s # const gchar *object_path G_GNUC_UNUSED, 1726s # const gchar *interface_name G_GNUC_UNUSED, 1726s # const gchar *property_name, 1726s # GError **error, 1726s # gpointer user_data) 1726s # { 1726s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1726s # GValue value = G_VALUE_INIT; 1726s # GParamSpec *pspec; 1726s # _ExtendedGDBusPropertyInfo *info; 1726s # GVariant *ret; 1726s # ret = NULL; 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1726s # g_assert (info != NULL); 1726s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1726s # if (pspec == NULL) 1726s # { 1726s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1726s # } 1726s # else 1726s # { 1726s # g_value_init (&value, pspec->value_type); 1726s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1726s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1726s # g_value_unset (&value); 1726s # } 1726s # return ret; 1726s # } 1726s # 1726s # static gboolean 1726s # _org_project_callable_iface_skeleton_handle_set_property ( 1726s # GDBusConnection *connection G_GNUC_UNUSED, 1726s # const gchar *sender G_GNUC_UNUSED, 1726s # const gchar *object_path G_GNUC_UNUSED, 1726s # const gchar *interface_name G_GNUC_UNUSED, 1726s # const gchar *property_name, 1726s # GVariant *variant, 1726s # GError **error, 1726s # gpointer user_data) 1726s # { 1726s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1726s # GValue value = G_VALUE_INIT; 1726s # GParamSpec *pspec; 1726s # _ExtendedGDBusPropertyInfo *info; 1726s # gboolean ret; 1726s # ret = FALSE; 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1726s # g_assert (info != NULL); 1726s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1726s # if (pspec == NULL) 1726s # { 1726s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1726s # } 1726s # else 1726s # { 1726s # if (info->use_gvariant) 1726s # g_value_set_variant (&value, variant); 1726s # else 1726s # g_dbus_gvariant_to_gvalue (variant, &value); 1726s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1726s # g_value_unset (&value); 1726s # ret = TRUE; 1726s # } 1726s # return ret; 1726s # } 1726s # 1726s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1726s # { 1726s # _org_project_callable_iface_skeleton_handle_method_call, 1726s # _org_project_callable_iface_skeleton_handle_get_property, 1726s # _org_project_callable_iface_skeleton_handle_set_property, 1726s # {NULL} 1726s # }; 1726s # 1726s # static GDBusInterfaceInfo * 1726s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1726s # { 1726s # return org_project_callable_iface_interface_info (); 1726s # } 1726s # 1726s # static GDBusInterfaceVTable * 1726s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1726s # { 1726s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1726s # } 1726s # 1726s # static GVariant * 1726s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1726s # { 1726s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1726s # 1726s # GVariantBuilder builder; 1726s # guint n; 1726s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1726s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1726s # goto out; 1726s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1726s # { 1726s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1726s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1726s # { 1726s # GVariant *value; 1726s # 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); 1726s # if (value != NULL) 1726s # { 1726s # g_variant_take_ref (value); 1726s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1726s # g_variant_unref (value); 1726s # } 1726s # } 1726s # } 1726s # out: 1726s # return g_variant_builder_end (&builder); 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1726s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1726s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1726s # 1726s # #else 1726s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1726s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1726s # 1726s # #endif 1726s # static void 1726s # org_project_callable_iface_skeleton_finalize (GObject *object) 1726s # { 1726s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1726s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1726s # if (skeleton->priv->changed_properties_idle_source != NULL) 1726s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1726s # g_main_context_unref (skeleton->priv->context); 1726s # g_mutex_clear (&skeleton->priv->lock); 1726s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1726s # { 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1726s # #else 1726s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1726s # #endif 1726s # 1726s # g_mutex_init (&skeleton->priv->lock); 1726s # skeleton->priv->context = g_main_context_ref_thread_default (); 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1726s # { 1726s # GObjectClass *gobject_class; 1726s # GDBusInterfaceSkeletonClass *skeleton_class; 1726s # 1726s # gobject_class = G_OBJECT_CLASS (klass); 1726s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1726s # 1726s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1726s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1726s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1726s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1726s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1726s # 1726s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1726s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1726s # #endif 1726s # } 1726s # 1726s # static void 1726s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # /** 1726s # * org_project_callable_iface_skeleton_new: 1726s # * 1726s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1726s # * 1726s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1726s # */ 1726s # OrgProjectCallableIface * 1726s # org_project_callable_iface_skeleton_new (void) 1726s # { 1726s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1726s # } 1726s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1726s # tmpdir: /tmp/tmpjfi1dmfj 1726s # codegen: /usr/bin/gdbus-codegen 1726s # /tmp/tmpjfi1dmfj/tmpo1xcy411.xml: 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjfi1dmfj/tmpo1xcy411.xml', '--output', '-', '--body'] 1726s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1726s # Output: /* 1726s # * This file is generated by gdbus-codegen, do not modify it. 1726s # * 1726s # * The license of this code is the same as for the D-Bus interface description 1726s # * it was derived from. Note that it links to GLib, so must comply with the 1726s # * LGPL linking clauses. 1726s # */ 1726s # 1726s # #ifdef HAVE_CONFIG_H 1726s # # include "config.h" 1726s # #endif 1726s # 1726s # #include 1726s # #ifdef G_OS_UNIX 1726s # # include 1726s # #endif 1726s # 1726s # #ifdef G_ENABLE_DEBUG 1726s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1726s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1726s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1726s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1726s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1726s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1726s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1726s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1726s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1726s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1726s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1726s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1726s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1726s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1726s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1726s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1726s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1726s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1726s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1726s # #else /* !G_ENABLE_DEBUG */ 1726s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1726s # * Do not access GValues directly in your code. Instead, use the 1726s # * g_value_get_*() functions 1726s # */ 1726s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1726s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1726s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1726s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1726s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1726s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1726s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1726s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1726s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1726s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1726s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1726s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1726s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1726s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1726s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1726s # #endif /* !G_ENABLE_DEBUG */ 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusArgInfo parent_struct; 1726s # gboolean use_gvariant; 1726s # } _ExtendedGDBusArgInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusMethodInfo parent_struct; 1726s # const gchar *signal_name; 1726s # gboolean pass_fdlist; 1726s # } _ExtendedGDBusMethodInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusSignalInfo parent_struct; 1726s # const gchar *signal_name; 1726s # } _ExtendedGDBusSignalInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusPropertyInfo parent_struct; 1726s # const gchar *hyphen_name; 1726s # guint use_gvariant : 1; 1726s # guint emits_changed_signal : 1; 1726s # } _ExtendedGDBusPropertyInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # GDBusInterfaceInfo parent_struct; 1726s # const gchar *hyphen_name; 1726s # } _ExtendedGDBusInterfaceInfo; 1726s # 1726s # typedef struct 1726s # { 1726s # const _ExtendedGDBusPropertyInfo *info; 1726s # guint prop_id; 1726s # GValue orig_value; /* the value before the change */ 1726s # } ChangedProperty; 1726s # 1726s # static void 1726s # _changed_property_free (ChangedProperty *data) 1726s # { 1726s # g_value_unset (&data->orig_value); 1726s # g_free (data); 1726s # } 1726s # 1726s # static gboolean 1726s # _g_strv_equal0 (gchar **a, gchar **b) 1726s # { 1726s # gboolean ret = FALSE; 1726s # guint n; 1726s # if (a == NULL && b == NULL) 1726s # { 1726s # ret = TRUE; 1726s # goto out; 1726s # } 1726s # if (a == NULL || b == NULL) 1726s # goto out; 1726s # if (g_strv_length (a) != g_strv_length (b)) 1726s # goto out; 1726s # for (n = 0; a[n] != NULL; n++) 1726s # if (g_strcmp0 (a[n], b[n]) != 0) 1726s # goto out; 1726s # ret = TRUE; 1726s # out: 1726s # return ret; 1726s # } 1726s # 1726s # static gboolean 1726s # _g_variant_equal0 (GVariant *a, GVariant *b) 1726s # { 1726s # gboolean ret = FALSE; 1726s # if (a == NULL && b == NULL) 1726s # { 1726s # ret = TRUE; 1726s # goto out; 1726s # } 1726s # if (a == NULL || b == NULL) 1726s # goto out; 1726s # ret = g_variant_equal (a, b); 1726s # out: 1726s # return ret; 1726s # } 1726s # 1726s # G_GNUC_UNUSED static gboolean 1726s # _g_value_equal (const GValue *a, const GValue *b) 1726s # { 1726s # gboolean ret = FALSE; 1726s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1726s # switch (G_VALUE_TYPE (a)) 1726s # { 1726s # case G_TYPE_BOOLEAN: 1726s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1726s # break; 1726s # case G_TYPE_UCHAR: 1726s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1726s # break; 1726s # case G_TYPE_INT: 1726s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1726s # break; 1726s # case G_TYPE_UINT: 1726s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1726s # break; 1726s # case G_TYPE_INT64: 1726s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1726s # break; 1726s # case G_TYPE_UINT64: 1726s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1726s # break; 1726s # case G_TYPE_DOUBLE: 1726s # { 1726s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1726s # gdouble da = g_value_get_double (a); 1726s # gdouble db = g_value_get_double (b); 1726s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1726s # } 1726s # break; 1726s # case G_TYPE_STRING: 1726s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1726s # break; 1726s # case G_TYPE_VARIANT: 1726s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1726s # break; 1726s # default: 1726s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1726s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1726s # else 1726s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1726s # break; 1726s # } 1726s # return ret; 1726s # } 1726s # 1726s # static void 1726s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1726s # GClosure *closure, 1726s # GValue *return_value, 1726s # unsigned int n_param_values, 1726s # const GValue *param_values, 1726s # void *invocation_hint G_GNUC_UNUSED, 1726s # void *marshal_data) 1726s # { 1726s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1726s # (void *data1, 1726s # GUnixFDList *arg_fd_list, 1726s # GDBusMethodInvocation *arg_method_invocation, 1726s # const gchar *arg_greeting, 1726s # void *data2); 1726s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1726s # GCClosure *cc = (GCClosure*) closure; 1726s # void *data1, *data2; 1726s # gboolean v_return; 1726s # 1726s # g_return_if_fail (return_value != NULL); 1726s # g_return_if_fail (n_param_values == 4); 1726s # 1726s # if (G_CCLOSURE_SWAP_DATA (closure)) 1726s # { 1726s # data1 = closure->data; 1726s # data2 = g_value_peek_pointer (param_values + 0); 1726s # } 1726s # else 1726s # { 1726s # data1 = g_value_peek_pointer (param_values + 0); 1726s # data2 = closure->data; 1726s # } 1726s # 1726s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1726s # (marshal_data ? marshal_data : cc->callback); 1726s # 1726s # v_return = 1726s # callback (data1, 1726s # g_marshal_value_peek_object (param_values + 1), 1726s # g_marshal_value_peek_object (param_values + 2), 1726s # g_marshal_value_peek_string (param_values + 3), 1726s # data2); 1726s # 1726s # g_value_set_boolean (return_value, v_return); 1726s # } 1726s # 1726s # /* ------------------------------------------------------------------------ 1726s # * Code for interface test.FDPassing 1726s # * ------------------------------------------------------------------------ 1726s # */ 1726s # 1726s # /** 1726s # * SECTION:TestFDPassing 1726s # * @title: TestFDPassing 1726s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1726s # * 1726s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1726s # */ 1726s # 1726s # /* ---- Introspection data for test.FDPassing ---- */ 1726s # 1726s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "greeting", 1726s # (gchar *) "s", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1726s # { 1726s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1726s # NULL 1726s # }; 1726s # 1726s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "response", 1726s # (gchar *) "s", 1726s # NULL 1726s # }, 1726s # FALSE 1726s # }; 1726s # 1726s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1726s # { 1726s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1726s # NULL 1726s # }; 1726s # 1726s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "HelloFD", 1726s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1726s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1726s # NULL 1726s # }, 1726s # "handle-hello-fd", 1726s # TRUE 1726s # }; 1726s # 1726s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1726s # { 1726s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1726s # NULL 1726s # }; 1726s # 1726s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1726s # { 1726s # { 1726s # -1, 1726s # (gchar *) "test.FDPassing", 1726s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1726s # NULL, 1726s # NULL, 1726s # NULL 1726s # }, 1726s # "test-fdpassing", 1726s # }; 1726s # 1726s # 1726s # /** 1726s # * test_fdpassing_interface_info: 1726s # * 1726s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1726s # * 1726s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1726s # */ 1726s # GDBusInterfaceInfo * 1726s # test_fdpassing_interface_info (void) 1726s # { 1726s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_override_properties: 1726s # * @klass: The class structure for a #GObject derived class. 1726s # * @property_id_begin: The property id to assign to the first overridden property. 1726s # * 1726s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1726s # * The properties are overridden in the order they are defined. 1726s # * 1726s # * Returns: The last property id. 1726s # */ 1726s # guint 1726s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1726s # { 1726s # return property_id_begin - 1; 1726s # } 1726s # 1726s # 1726s # inline static void 1726s # test_fdpassing_method_marshal_hello_fd ( 1726s # GClosure *closure, 1726s # GValue *return_value, 1726s # unsigned int n_param_values, 1726s # const GValue *param_values, 1726s # void *invocation_hint, 1726s # void *marshal_data) 1726s # { 1726s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1726s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1726s # } 1726s # 1726s # 1726s # /** 1726s # * TestFDPassing: 1726s # * 1726s # * Abstract interface type for the D-Bus interface test.FDPassing. 1726s # */ 1726s # 1726s # /** 1726s # * TestFDPassingIface: 1726s # * @parent_iface: The parent interface. 1726s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1726s # * 1726s # * Virtual table for the D-Bus interface test.FDPassing. 1726s # */ 1726s # 1726s # typedef TestFDPassingIface TestFDPassingInterface; 1726s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1726s # 1726s # static void 1726s # test_fdpassing_default_init (TestFDPassingIface *iface) 1726s # { 1726s # /* GObject signals for incoming D-Bus method calls: */ 1726s # /** 1726s # * TestFDPassing::handle-hello-fd: 1726s # * @object: A #TestFDPassing. 1726s # * @invocation: A #GDBusMethodInvocation. 1726s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1726s # * @arg_greeting: Argument passed by remote caller. 1726s # * 1726s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1726s # * 1726s # * 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. 1726s # * 1726s # * 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. 1726s # */ 1726s # g_signal_new ("handle-hello-fd", 1726s # G_TYPE_FROM_INTERFACE (iface), 1726s # G_SIGNAL_RUN_LAST, 1726s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1726s # g_signal_accumulator_true_handled, 1726s # NULL, 1726s # test_fdpassing_method_marshal_hello_fd, 1726s # G_TYPE_BOOLEAN, 1726s # 3, 1726s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1726s # 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_call_hello_fd: 1726s # * @proxy: A #TestFDPassingProxy. 1726s # * @arg_greeting: Argument to pass with the method invocation. 1726s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1726s # * @user_data: User data to pass to @callback. 1726s # * 1726s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1726s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1726s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1726s # * 1726s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1726s # */ 1726s # void 1726s # test_fdpassing_call_hello_fd ( 1726s # TestFDPassing *proxy, 1726s # const gchar *arg_greeting, 1726s # GUnixFDList *fd_list, 1726s # GCancellable *cancellable, 1726s # GAsyncReadyCallback callback, 1726s # gpointer user_data) 1726s # { 1726s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1726s # "HelloFD", 1726s # g_variant_new ("(s)", 1726s # arg_greeting), 1726s # G_DBUS_CALL_FLAGS_NONE, 1726s # -1, 1726s # fd_list, 1726s # cancellable, 1726s # callback, 1726s # user_data); 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_call_hello_fd_finish: 1726s # * @proxy: A #TestFDPassingProxy. 1726s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1726s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1726s # * @error: Return location for error or %NULL. 1726s # * 1726s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1726s # * 1726s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1726s # */ 1726s # gboolean 1726s # test_fdpassing_call_hello_fd_finish ( 1726s # TestFDPassing *proxy, 1726s # gchar **out_response, 1726s # GUnixFDList **out_fd_list, 1726s # GAsyncResult *res, 1726s # GError **error) 1726s # { 1726s # GVariant *_ret; 1726s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1726s # if (_ret == NULL) 1726s # goto _out; 1726s # g_variant_get (_ret, 1726s # "(s)", 1726s # out_response); 1726s # g_variant_unref (_ret); 1726s # _out: 1726s # return _ret != NULL; 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_call_hello_fd_sync: 1726s # * @proxy: A #TestFDPassingProxy. 1726s # * @arg_greeting: Argument to pass with the method invocation. 1726s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1726s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1726s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @error: Return location for error or %NULL. 1726s # * 1726s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1726s # * 1726s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1726s # * 1726s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1726s # */ 1726s # gboolean 1726s # test_fdpassing_call_hello_fd_sync ( 1726s # TestFDPassing *proxy, 1726s # const gchar *arg_greeting, 1726s # GUnixFDList *fd_list, 1726s # gchar **out_response, 1726s # GUnixFDList **out_fd_list, 1726s # GCancellable *cancellable, 1726s # GError **error) 1726s # { 1726s # GVariant *_ret; 1726s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1726s # "HelloFD", 1726s # g_variant_new ("(s)", 1726s # arg_greeting), 1726s # G_DBUS_CALL_FLAGS_NONE, 1726s # -1, 1726s # fd_list, 1726s # out_fd_list, 1726s # cancellable, 1726s # error); 1726s # if (_ret == NULL) 1726s # goto _out; 1726s # g_variant_get (_ret, 1726s # "(s)", 1726s # out_response); 1726s # g_variant_unref (_ret); 1726s # _out: 1726s # return _ret != NULL; 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_complete_hello_fd: 1726s # * @object: A #TestFDPassing. 1726s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1726s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1726s # * @response: Parameter to return. 1726s # * 1726s # * 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. 1726s # * 1726s # * This method will free @invocation, you cannot use it afterwards. 1726s # */ 1726s # void 1726s # test_fdpassing_complete_hello_fd ( 1726s # TestFDPassing *object G_GNUC_UNUSED, 1726s # GDBusMethodInvocation *invocation, 1726s # GUnixFDList *fd_list, 1726s # const gchar *response) 1726s # { 1726s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1726s # g_variant_new ("(s)", 1726s # response), 1726s # fd_list); 1726s # } 1726s # 1726s # /* ------------------------------------------------------------------------ */ 1726s # 1726s # /** 1726s # * TestFDPassingProxy: 1726s # * 1726s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1726s # */ 1726s # 1726s # /** 1726s # * TestFDPassingProxyClass: 1726s # * @parent_class: The parent class. 1726s # * 1726s # * Class structure for #TestFDPassingProxy. 1726s # */ 1726s # 1726s # struct _TestFDPassingProxyPrivate 1726s # { 1726s # GData *qdata; 1726s # }; 1726s # 1726s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1726s # 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1726s # G_ADD_PRIVATE (TestFDPassingProxy) 1726s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1726s # 1726s # #else 1726s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1726s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1726s # 1726s # #endif 1726s # static void 1726s # test_fdpassing_proxy_finalize (GObject *object) 1726s # { 1726s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1726s # g_datalist_clear (&proxy->priv->qdata); 1726s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1726s # guint prop_id G_GNUC_UNUSED, 1726s # GValue *value G_GNUC_UNUSED, 1726s # GParamSpec *pspec G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1726s # guint prop_id G_GNUC_UNUSED, 1726s # const GValue *value G_GNUC_UNUSED, 1726s # GParamSpec *pspec G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1726s # const gchar *sender_name G_GNUC_UNUSED, 1726s # const gchar *signal_name, 1726s # GVariant *parameters) 1726s # { 1726s # _ExtendedGDBusSignalInfo *info; 1726s # GVariantIter iter; 1726s # GVariant *child; 1726s # GValue *paramv; 1726s # gsize num_params; 1726s # gsize n; 1726s # guint signal_id; 1726s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1726s # if (info == NULL) 1726s # return; 1726s # num_params = g_variant_n_children (parameters); 1726s # paramv = g_new0 (GValue, num_params + 1); 1726s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1726s # g_value_set_object (¶mv[0], proxy); 1726s # g_variant_iter_init (&iter, parameters); 1726s # n = 1; 1726s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1726s # { 1726s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1726s # if (arg_info->use_gvariant) 1726s # { 1726s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1726s # g_value_set_variant (¶mv[n], child); 1726s # n++; 1726s # } 1726s # else 1726s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1726s # g_variant_unref (child); 1726s # } 1726s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1726s # g_signal_emitv (paramv, signal_id, 0, NULL); 1726s # for (n = 0; n < num_params + 1; n++) 1726s # g_value_unset (¶mv[n]); 1726s # g_free (paramv); 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1726s # GVariant *changed_properties, 1726s # const gchar *const *invalidated_properties) 1726s # { 1726s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1726s # guint n; 1726s # const gchar *key; 1726s # GVariantIter *iter; 1726s # _ExtendedGDBusPropertyInfo *info; 1726s # g_variant_get (changed_properties, "a{sv}", &iter); 1726s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1726s # { 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1726s # g_datalist_remove_data (&proxy->priv->qdata, key); 1726s # if (info != NULL) 1726s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1726s # } 1726s # g_variant_iter_free (iter); 1726s # for (n = 0; invalidated_properties[n] != NULL; n++) 1726s # { 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1726s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1726s # if (info != NULL) 1726s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1726s # } 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1726s # { 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1726s # #else 1726s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1726s # #endif 1726s # 1726s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1726s # { 1726s # GObjectClass *gobject_class; 1726s # GDBusProxyClass *proxy_class; 1726s # 1726s # gobject_class = G_OBJECT_CLASS (klass); 1726s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1726s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1726s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1726s # 1726s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1726s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1726s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1726s # 1726s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1726s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1726s # #endif 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_proxy_new: 1726s # * @connection: A #GDBusConnection. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1726s # * @user_data: User data to pass to @callback. 1726s # * 1726s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1726s # * 1726s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1726s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1726s # * 1726s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1726s # */ 1726s # void 1726s # test_fdpassing_proxy_new ( 1726s # GDBusConnection *connection, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GAsyncReadyCallback callback, 1726s # gpointer user_data) 1726s # { 1726s # 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); 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_proxy_new_finish: 1726s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Finishes an operation started with test_fdpassing_proxy_new(). 1726s # * 1726s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # TestFDPassing * 1726s # test_fdpassing_proxy_new_finish ( 1726s # GAsyncResult *res, 1726s # GError **error) 1726s # { 1726s # GObject *ret; 1726s # GObject *source_object; 1726s # source_object = g_async_result_get_source_object (res); 1726s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1726s # g_object_unref (source_object); 1726s # if (ret != NULL) 1726s # return TEST_FDPASSING (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_proxy_new_sync: 1726s # * @connection: A #GDBusConnection. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1726s # * 1726s # * The calling thread is blocked until a reply is received. 1726s # * 1726s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1726s # * 1726s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # TestFDPassing * 1726s # test_fdpassing_proxy_new_sync ( 1726s # GDBusConnection *connection, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GError **error) 1726s # { 1726s # GInitable *ret; 1726s # 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); 1726s # if (ret != NULL) 1726s # return TEST_FDPASSING (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # 1726s # /** 1726s # * test_fdpassing_proxy_new_for_bus: 1726s # * @bus_type: A #GBusType. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: A bus name (well-known or unique). 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1726s # * @user_data: User data to pass to @callback. 1726s # * 1726s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1726s # * 1726s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1726s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1726s # * 1726s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1726s # */ 1726s # void 1726s # test_fdpassing_proxy_new_for_bus ( 1726s # GBusType bus_type, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GAsyncReadyCallback callback, 1726s # gpointer user_data) 1726s # { 1726s # 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); 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_proxy_new_for_bus_finish: 1726s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1726s # * 1726s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # TestFDPassing * 1726s # test_fdpassing_proxy_new_for_bus_finish ( 1726s # GAsyncResult *res, 1726s # GError **error) 1726s # { 1726s # GObject *ret; 1726s # GObject *source_object; 1726s # source_object = g_async_result_get_source_object (res); 1726s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1726s # g_object_unref (source_object); 1726s # if (ret != NULL) 1726s # return TEST_FDPASSING (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_proxy_new_for_bus_sync: 1726s # * @bus_type: A #GBusType. 1726s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1726s # * @name: A bus name (well-known or unique). 1726s # * @object_path: An object path. 1726s # * @cancellable: (nullable): A #GCancellable or %NULL. 1726s # * @error: Return location for error or %NULL 1726s # * 1726s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1726s # * 1726s # * The calling thread is blocked until a reply is received. 1726s # * 1726s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1726s # * 1726s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1726s # */ 1726s # TestFDPassing * 1726s # test_fdpassing_proxy_new_for_bus_sync ( 1726s # GBusType bus_type, 1726s # GDBusProxyFlags flags, 1726s # const gchar *name, 1726s # const gchar *object_path, 1726s # GCancellable *cancellable, 1726s # GError **error) 1726s # { 1726s # GInitable *ret; 1726s # 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); 1726s # if (ret != NULL) 1726s # return TEST_FDPASSING (ret); 1726s # else 1726s # return NULL; 1726s # } 1726s # 1726s # 1726s # /* ------------------------------------------------------------------------ */ 1726s # 1726s # /** 1726s # * TestFDPassingSkeleton: 1726s # * 1726s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1726s # */ 1726s # 1726s # /** 1726s # * TestFDPassingSkeletonClass: 1726s # * @parent_class: The parent class. 1726s # * 1726s # * Class structure for #TestFDPassingSkeleton. 1726s # */ 1726s # 1726s # struct _TestFDPassingSkeletonPrivate 1726s # { 1726s # GValue *properties; 1726s # GList *changed_properties; 1726s # GSource *changed_properties_idle_source; 1726s # GMainContext *context; 1726s # GMutex lock; 1726s # }; 1726s # 1726s # static void 1726s # _test_fdpassing_skeleton_handle_method_call ( 1726s # GDBusConnection *connection G_GNUC_UNUSED, 1726s # const gchar *sender G_GNUC_UNUSED, 1726s # const gchar *object_path G_GNUC_UNUSED, 1726s # const gchar *interface_name, 1726s # const gchar *method_name, 1726s # GVariant *parameters, 1726s # GDBusMethodInvocation *invocation, 1726s # gpointer user_data) 1726s # { 1726s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1726s # _ExtendedGDBusMethodInfo *info; 1726s # GVariantIter iter; 1726s # GVariant *child; 1726s # GValue *paramv; 1726s # gsize num_params; 1726s # guint num_extra; 1726s # gsize n; 1726s # guint signal_id; 1726s # GValue return_value = G_VALUE_INIT; 1726s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1726s # g_assert (info != NULL); 1726s # num_params = g_variant_n_children (parameters); 1726s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1726s # n = 0; 1726s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1726s # g_value_set_object (¶mv[n++], skeleton); 1726s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1726s # g_value_set_object (¶mv[n++], invocation); 1726s # if (info->pass_fdlist) 1726s # { 1726s # #ifdef G_OS_UNIX 1726s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1726s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1726s # #else 1726s # g_assert_not_reached (); 1726s # #endif 1726s # } 1726s # g_variant_iter_init (&iter, parameters); 1726s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1726s # { 1726s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1726s # if (arg_info->use_gvariant) 1726s # { 1726s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1726s # g_value_set_variant (¶mv[n], child); 1726s # n++; 1726s # } 1726s # else 1726s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1726s # g_variant_unref (child); 1726s # } 1726s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1726s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1726s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1726s # if (!g_value_get_boolean (&return_value)) 1726s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1726s # g_value_unset (&return_value); 1726s # for (n = 0; n < num_params + num_extra; n++) 1726s # g_value_unset (¶mv[n]); 1726s # g_free (paramv); 1726s # } 1726s # 1726s # static GVariant * 1726s # _test_fdpassing_skeleton_handle_get_property ( 1726s # GDBusConnection *connection G_GNUC_UNUSED, 1726s # const gchar *sender G_GNUC_UNUSED, 1726s # const gchar *object_path G_GNUC_UNUSED, 1726s # const gchar *interface_name G_GNUC_UNUSED, 1726s # const gchar *property_name, 1726s # GError **error, 1726s # gpointer user_data) 1726s # { 1726s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1726s # GValue value = G_VALUE_INIT; 1726s # GParamSpec *pspec; 1726s # _ExtendedGDBusPropertyInfo *info; 1726s # GVariant *ret; 1726s # ret = NULL; 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1726s # g_assert (info != NULL); 1726s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1726s # if (pspec == NULL) 1726s # { 1726s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1726s # } 1726s # else 1726s # { 1726s # g_value_init (&value, pspec->value_type); 1726s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1726s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1726s # g_value_unset (&value); 1726s # } 1726s # return ret; 1726s # } 1726s # 1726s # static gboolean 1726s # _test_fdpassing_skeleton_handle_set_property ( 1726s # GDBusConnection *connection G_GNUC_UNUSED, 1726s # const gchar *sender G_GNUC_UNUSED, 1726s # const gchar *object_path G_GNUC_UNUSED, 1726s # const gchar *interface_name G_GNUC_UNUSED, 1726s # const gchar *property_name, 1726s # GVariant *variant, 1726s # GError **error, 1726s # gpointer user_data) 1726s # { 1726s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1726s # GValue value = G_VALUE_INIT; 1726s # GParamSpec *pspec; 1726s # _ExtendedGDBusPropertyInfo *info; 1726s # gboolean ret; 1726s # ret = FALSE; 1726s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1726s # g_assert (info != NULL); 1726s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1726s # if (pspec == NULL) 1726s # { 1726s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1726s # } 1726s # else 1726s # { 1726s # if (info->use_gvariant) 1726s # g_value_set_variant (&value, variant); 1726s # else 1726s # g_dbus_gvariant_to_gvalue (variant, &value); 1726s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1726s # g_value_unset (&value); 1726s # ret = TRUE; 1726s # } 1726s # return ret; 1726s # } 1726s # 1726s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1726s # { 1726s # _test_fdpassing_skeleton_handle_method_call, 1726s # _test_fdpassing_skeleton_handle_get_property, 1726s # _test_fdpassing_skeleton_handle_set_property, 1726s # {NULL} 1726s # }; 1726s # 1726s # static GDBusInterfaceInfo * 1726s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1726s # { 1726s # return test_fdpassing_interface_info (); 1726s # } 1726s # 1726s # static GDBusInterfaceVTable * 1726s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1726s # { 1726s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1726s # } 1726s # 1726s # static GVariant * 1726s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1726s # { 1726s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1726s # 1726s # GVariantBuilder builder; 1726s # guint n; 1726s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1726s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1726s # goto out; 1726s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1726s # { 1726s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1726s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1726s # { 1726s # GVariant *value; 1726s # 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); 1726s # if (value != NULL) 1726s # { 1726s # g_variant_take_ref (value); 1726s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1726s # g_variant_unref (value); 1726s # } 1726s # } 1726s # } 1726s # out: 1726s # return g_variant_builder_end (&builder); 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1726s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1726s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1726s # 1726s # #else 1726s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1726s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1726s # 1726s # #endif 1726s # static void 1726s # test_fdpassing_skeleton_finalize (GObject *object) 1726s # { 1726s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1726s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1726s # if (skeleton->priv->changed_properties_idle_source != NULL) 1726s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1726s # g_main_context_unref (skeleton->priv->context); 1726s # g_mutex_clear (&skeleton->priv->lock); 1726s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1726s # { 1726s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1726s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1726s # #else 1726s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1726s # #endif 1726s # 1726s # g_mutex_init (&skeleton->priv->lock); 1726s # skeleton->priv->context = g_main_context_ref_thread_default (); 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1726s # { 1726s # GObjectClass *gobject_class; 1726s # GDBusInterfaceSkeletonClass *skeleton_class; 1726s # 1726s # gobject_class = G_OBJECT_CLASS (klass); 1726s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1726s # 1726s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1726s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1726s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1726s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1726s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1726s # 1726s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1726s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1726s # #endif 1726s # } 1726s # 1726s # static void 1726s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1726s # { 1726s # } 1726s # 1726s # /** 1726s # * test_fdpassing_skeleton_new: 1726s # * 1726s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1726s # * 1726s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1726s # */ 1726s # TestFDPassing * 1726s # test_fdpassing_skeleton_new (void) 1726s # { 1726s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1726s # } 1726s ok 15 __main__.TestCodegen.test_generate_rst 1726s # tmpdir: /tmp/tmpo3xsbqnw 1726s # codegen: /usr/bin/gdbus-codegen 1726s # /tmp/tmpo3xsbqnw/tmpfch8mvln.xml: 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo3xsbqnw/tmpfch8mvln.xml', '--generate-rst', 'test'] 1726s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1726s # Output: 1726s ok 16 __main__.TestCodegen.test_generate_rst_method 1726s # tmpdir: /tmp/tmp68y2auhv 1726s # codegen: /usr/bin/gdbus-codegen 1726s # /tmp/tmp68y2auhv/tmpklk8nrhn.xml: 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp68y2auhv/tmpklk8nrhn.xml', '--generate-rst', 'test'] 1726s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1726s # Output: 1726s ok 17 __main__.TestCodegen.test_generate_rst_property 1726s # tmpdir: /tmp/tmpnp5ixwqe 1726s # codegen: /usr/bin/gdbus-codegen 1726s # /tmp/tmpnp5ixwqe/tmposp9qogq.xml: 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # 1726s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnp5ixwqe/tmposp9qogq.xml', '--generate-rst', 'test'] 1726s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1726s # Output: 1727s ok 18 __main__.TestCodegen.test_generate_rst_signal 1727s # tmpdir: /tmp/tmpl_7fzm5w 1727s # codegen: /usr/bin/gdbus-codegen 1727s # /tmp/tmpl_7fzm5w/tmp4h8oyr9b.xml: 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl_7fzm5w/tmp4h8oyr9b.xml', '--generate-rst', 'test'] 1727s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1727s # Output: 1727s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1727s # tmpdir: /tmp/tmp4a9aowuj 1727s # codegen: /usr/bin/gdbus-codegen 1727s # /tmp/tmp4a9aowuj/tmp7h3cy73j.xml: 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4a9aowuj/tmp7h3cy73j.xml', '--output', '-', '--body'] 1727s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1727s # Output: /* 1727s # * This file is generated by gdbus-codegen, do not modify it. 1727s # * 1727s # * The license of this code is the same as for the D-Bus interface description 1727s # * it was derived from. Note that it links to GLib, so must comply with the 1727s # * LGPL linking clauses. 1727s # */ 1727s # 1727s # #ifdef HAVE_CONFIG_H 1727s # # include "config.h" 1727s # #endif 1727s # 1727s # #include 1727s # #ifdef G_OS_UNIX 1727s # # include 1727s # #endif 1727s # 1727s # #ifdef G_ENABLE_DEBUG 1727s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1727s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1727s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1727s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1727s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1727s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1727s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1727s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1727s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1727s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1727s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1727s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1727s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1727s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1727s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1727s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1727s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1727s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1727s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1727s # #else /* !G_ENABLE_DEBUG */ 1727s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1727s # * Do not access GValues directly in your code. Instead, use the 1727s # * g_value_get_*() functions 1727s # */ 1727s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1727s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1727s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1727s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1727s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1727s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1727s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1727s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1727s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1727s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1727s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1727s # #endif /* !G_ENABLE_DEBUG */ 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusArgInfo parent_struct; 1727s # gboolean use_gvariant; 1727s # } _ExtendedGDBusArgInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusMethodInfo parent_struct; 1727s # const gchar *signal_name; 1727s # gboolean pass_fdlist; 1727s # } _ExtendedGDBusMethodInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusSignalInfo parent_struct; 1727s # const gchar *signal_name; 1727s # } _ExtendedGDBusSignalInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusPropertyInfo parent_struct; 1727s # const gchar *hyphen_name; 1727s # guint use_gvariant : 1; 1727s # guint emits_changed_signal : 1; 1727s # } _ExtendedGDBusPropertyInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusInterfaceInfo parent_struct; 1727s # const gchar *hyphen_name; 1727s # } _ExtendedGDBusInterfaceInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # const _ExtendedGDBusPropertyInfo *info; 1727s # guint prop_id; 1727s # GValue orig_value; /* the value before the change */ 1727s # } ChangedProperty; 1727s # 1727s # static void 1727s # _changed_property_free (ChangedProperty *data) 1727s # { 1727s # g_value_unset (&data->orig_value); 1727s # g_free (data); 1727s # } 1727s # 1727s # static gboolean 1727s # _g_strv_equal0 (gchar **a, gchar **b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # guint n; 1727s # if (a == NULL && b == NULL) 1727s # { 1727s # ret = TRUE; 1727s # goto out; 1727s # } 1727s # if (a == NULL || b == NULL) 1727s # goto out; 1727s # if (g_strv_length (a) != g_strv_length (b)) 1727s # goto out; 1727s # for (n = 0; a[n] != NULL; n++) 1727s # if (g_strcmp0 (a[n], b[n]) != 0) 1727s # goto out; 1727s # ret = TRUE; 1727s # out: 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _g_variant_equal0 (GVariant *a, GVariant *b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # if (a == NULL && b == NULL) 1727s # { 1727s # ret = TRUE; 1727s # goto out; 1727s # } 1727s # if (a == NULL || b == NULL) 1727s # goto out; 1727s # ret = g_variant_equal (a, b); 1727s # out: 1727s # return ret; 1727s # } 1727s # 1727s # G_GNUC_UNUSED static gboolean 1727s # _g_value_equal (const GValue *a, const GValue *b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1727s # switch (G_VALUE_TYPE (a)) 1727s # { 1727s # case G_TYPE_BOOLEAN: 1727s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1727s # break; 1727s # case G_TYPE_UCHAR: 1727s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1727s # break; 1727s # case G_TYPE_INT: 1727s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1727s # break; 1727s # case G_TYPE_UINT: 1727s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1727s # break; 1727s # case G_TYPE_INT64: 1727s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1727s # break; 1727s # case G_TYPE_UINT64: 1727s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1727s # break; 1727s # case G_TYPE_DOUBLE: 1727s # { 1727s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1727s # gdouble da = g_value_get_double (a); 1727s # gdouble db = g_value_get_double (b); 1727s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1727s # } 1727s # break; 1727s # case G_TYPE_STRING: 1727s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1727s # break; 1727s # case G_TYPE_VARIANT: 1727s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1727s # break; 1727s # default: 1727s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1727s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1727s # else 1727s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1727s # break; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static void 1727s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1727s # GClosure *closure, 1727s # GValue *return_value G_GNUC_UNUSED, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint G_GNUC_UNUSED, 1727s # void *marshal_data) 1727s # { 1727s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1727s # (void *data1, 1727s # gboolean arg_an_b, 1727s # guchar arg_an_y, 1727s # gint16 arg_an_n, 1727s # guint16 arg_an_q, 1727s # gint arg_an_i, 1727s # guint arg_an_u, 1727s # gint64 arg_an_x, 1727s # guint64 arg_an_t, 1727s # gdouble arg_an_d, 1727s # const gchar *arg_an_s, 1727s # const gchar *arg_an_o, 1727s # const gchar *arg_an_g, 1727s # GVariant *arg_an_h, 1727s # const gchar *arg_an_ay, 1727s # const gchar *const *arg_an_as, 1727s # const gchar *const *arg_an_ao, 1727s # const gchar *const *arg_an_aay, 1727s # GVariant *arg_an_asv, 1727s # void *data2); 1727s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1727s # GCClosure *cc = (GCClosure*) closure; 1727s # void *data1, *data2; 1727s # 1727s # g_return_if_fail (n_param_values == 19); 1727s # 1727s # if (G_CCLOSURE_SWAP_DATA (closure)) 1727s # { 1727s # data1 = closure->data; 1727s # data2 = g_value_peek_pointer (param_values + 0); 1727s # } 1727s # else 1727s # { 1727s # data1 = g_value_peek_pointer (param_values + 0); 1727s # data2 = closure->data; 1727s # } 1727s # 1727s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1727s # (marshal_data ? marshal_data : cc->callback); 1727s # 1727s # callback (data1, 1727s # g_marshal_value_peek_boolean (param_values + 1), 1727s # g_marshal_value_peek_uchar (param_values + 2), 1727s # g_marshal_value_peek_int (param_values + 3), 1727s # g_marshal_value_peek_uint (param_values + 4), 1727s # g_marshal_value_peek_int (param_values + 5), 1727s # g_marshal_value_peek_uint (param_values + 6), 1727s # g_marshal_value_peek_int64 (param_values + 7), 1727s # g_marshal_value_peek_uint64 (param_values + 8), 1727s # g_marshal_value_peek_double (param_values + 9), 1727s # g_marshal_value_peek_string (param_values + 10), 1727s # g_marshal_value_peek_string (param_values + 11), 1727s # g_marshal_value_peek_string (param_values + 12), 1727s # g_marshal_value_peek_variant (param_values + 13), 1727s # g_marshal_value_peek_string (param_values + 14), 1727s # g_marshal_value_peek_boxed (param_values + 15), 1727s # g_marshal_value_peek_boxed (param_values + 16), 1727s # g_marshal_value_peek_boxed (param_values + 17), 1727s # g_marshal_value_peek_variant (param_values + 18), 1727s # data2); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ 1727s # * Code for interface org.project.SignalingIface 1727s # * ------------------------------------------------------------------------ 1727s # */ 1727s # 1727s # /** 1727s # * SECTION:OrgProjectSignalingIface 1727s # * @title: OrgProjectSignalingIface 1727s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1727s # * 1727s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1727s # */ 1727s # 1727s # enum 1727s # { 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1727s # }; 1727s # 1727s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1727s # 1727s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_b", 1727s # (gchar *) "b", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_y", 1727s # (gchar *) "y", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_n", 1727s # (gchar *) "n", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_q", 1727s # (gchar *) "q", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_i", 1727s # (gchar *) "i", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_u", 1727s # (gchar *) "u", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_x", 1727s # (gchar *) "x", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_t", 1727s # (gchar *) "t", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_d", 1727s # (gchar *) "d", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_s", 1727s # (gchar *) "s", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_o", 1727s # (gchar *) "o", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_g", 1727s # (gchar *) "g", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_h", 1727s # (gchar *) "h", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_ay", 1727s # (gchar *) "ay", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_as", 1727s # (gchar *) "as", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_ao", 1727s # (gchar *) "ao", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_aay", 1727s # (gchar *) "aay", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_asv", 1727s # (gchar *) "a{sv}", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SignalWithManyArgs", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "signal-with-many-args" 1727s # }; 1727s # 1727s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "org.project.SignalingIface", 1727s # NULL, 1727s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "org-project-signaling-iface", 1727s # }; 1727s # 1727s # 1727s # /** 1727s # * org_project_signaling_iface_interface_info: 1727s # * 1727s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1727s # * 1727s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1727s # */ 1727s # GDBusInterfaceInfo * 1727s # org_project_signaling_iface_interface_info (void) 1727s # { 1727s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_override_properties: 1727s # * @klass: The class structure for a #GObject derived class. 1727s # * @property_id_begin: The property id to assign to the first overridden property. 1727s # * 1727s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1727s # * The properties are overridden in the order they are defined. 1727s # * 1727s # * Returns: The last property id. 1727s # */ 1727s # guint 1727s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1727s # { 1727s # return property_id_begin - 1; 1727s # } 1727s # 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface: 1727s # * 1727s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceIface: 1727s # * @parent_iface: The parent interface. 1727s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1727s # * 1727s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1727s # */ 1727s # 1727s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1727s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1727s # 1727s # static void 1727s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1727s # { 1727s # /* GObject signals for received D-Bus signals: */ 1727s # /** 1727s # * OrgProjectSignalingIface::signal-with-many-args: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_b: Argument. 1727s # * @arg_an_y: Argument. 1727s # * @arg_an_n: Argument. 1727s # * @arg_an_q: Argument. 1727s # * @arg_an_i: Argument. 1727s # * @arg_an_u: Argument. 1727s # * @arg_an_x: Argument. 1727s # * @arg_an_t: Argument. 1727s # * @arg_an_d: Argument. 1727s # * @arg_an_s: Argument. 1727s # * @arg_an_o: Argument. 1727s # * @arg_an_g: Argument. 1727s # * @arg_an_h: Argument. 1727s # * @arg_an_ay: Argument. 1727s # * @arg_an_as: Argument. 1727s # * @arg_an_ao: Argument. 1727s # * @arg_an_aay: Argument. 1727s # * @arg_an_asv: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1727s # g_signal_new ("signal-with-many-args", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1727s # G_TYPE_NONE, 1727s # 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); 1727s # 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_signal_with_many_args: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_b: Argument to pass with the signal. 1727s # * @arg_an_y: Argument to pass with the signal. 1727s # * @arg_an_n: Argument to pass with the signal. 1727s # * @arg_an_q: Argument to pass with the signal. 1727s # * @arg_an_i: Argument to pass with the signal. 1727s # * @arg_an_u: Argument to pass with the signal. 1727s # * @arg_an_x: Argument to pass with the signal. 1727s # * @arg_an_t: Argument to pass with the signal. 1727s # * @arg_an_d: Argument to pass with the signal. 1727s # * @arg_an_s: Argument to pass with the signal. 1727s # * @arg_an_o: Argument to pass with the signal. 1727s # * @arg_an_g: Argument to pass with the signal. 1727s # * @arg_an_h: Argument to pass with the signal. 1727s # * @arg_an_ay: Argument to pass with the signal. 1727s # * @arg_an_as: Argument to pass with the signal. 1727s # * @arg_an_ao: Argument to pass with the signal. 1727s # * @arg_an_aay: Argument to pass with the signal. 1727s # * @arg_an_asv: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SignalWithManyArgs" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_signal_with_many_args ( 1727s # OrgProjectSignalingIface *object, 1727s # gboolean arg_an_b, 1727s # guchar arg_an_y, 1727s # gint16 arg_an_n, 1727s # guint16 arg_an_q, 1727s # gint arg_an_i, 1727s # guint arg_an_u, 1727s # gint64 arg_an_x, 1727s # guint64 arg_an_t, 1727s # gdouble arg_an_d, 1727s # const gchar *arg_an_s, 1727s # const gchar *arg_an_o, 1727s # const gchar *arg_an_g, 1727s # GVariant *arg_an_h, 1727s # const gchar *arg_an_ay, 1727s # const gchar *const *arg_an_as, 1727s # const gchar *const *arg_an_ao, 1727s # const gchar *const *arg_an_aay, 1727s # GVariant *arg_an_asv) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceProxy: 1727s # * 1727s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceProxyClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectSignalingIfaceProxy. 1727s # */ 1727s # 1727s # struct _OrgProjectSignalingIfaceProxyPrivate 1727s # { 1727s # GData *qdata; 1727s # }; 1727s # 1727s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_signaling_iface_proxy_finalize (GObject *object) 1727s # { 1727s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1727s # g_datalist_clear (&proxy->priv->qdata); 1727s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # const GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1727s # const gchar *sender_name G_GNUC_UNUSED, 1727s # const gchar *signal_name, 1727s # GVariant *parameters) 1727s # { 1727s # _ExtendedGDBusSignalInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # gsize n; 1727s # guint signal_id; 1727s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1727s # if (info == NULL) 1727s # return; 1727s # num_params = g_variant_n_children (parameters); 1727s # paramv = g_new0 (GValue, num_params + 1); 1727s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_value_set_object (¶mv[0], proxy); 1727s # g_variant_iter_init (&iter, parameters); 1727s # n = 1; 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_signal_emitv (paramv, signal_id, 0, NULL); 1727s # for (n = 0; n < num_params + 1; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1727s # GVariant *changed_properties, 1727s # const gchar *const *invalidated_properties) 1727s # { 1727s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1727s # guint n; 1727s # const gchar *key; 1727s # GVariantIter *iter; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # g_variant_get (changed_properties, "a{sv}", &iter); 1727s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1727s # g_datalist_remove_data (&proxy->priv->qdata, key); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # g_variant_iter_free (iter); 1727s # for (n = 0; invalidated_properties[n] != NULL; n++) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1727s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1727s # #else 1727s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1727s # #endif 1727s # 1727s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusProxyClass *proxy_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1727s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1727s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1727s # 1727s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1727s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1727s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_proxy_new ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_sync: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_sync ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_for_bus: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_proxy_new_for_bus ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceSkeleton: 1727s # * 1727s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceSkeletonClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1727s # */ 1727s # 1727s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1727s # { 1727s # GValue *properties; 1727s # GList *changed_properties; 1727s # GSource *changed_properties_idle_source; 1727s # GMainContext *context; 1727s # GMutex lock; 1727s # }; 1727s # 1727s # static void 1727s # _org_project_signaling_iface_skeleton_handle_method_call ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name, 1727s # const gchar *method_name, 1727s # GVariant *parameters, 1727s # GDBusMethodInvocation *invocation, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1727s # _ExtendedGDBusMethodInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # guint num_extra; 1727s # gsize n; 1727s # guint signal_id; 1727s # GValue return_value = G_VALUE_INIT; 1727s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1727s # g_assert (info != NULL); 1727s # num_params = g_variant_n_children (parameters); 1727s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1727s # n = 0; 1727s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_value_set_object (¶mv[n++], skeleton); 1727s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1727s # g_value_set_object (¶mv[n++], invocation); 1727s # if (info->pass_fdlist) 1727s # { 1727s # #ifdef G_OS_UNIX 1727s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1727s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1727s # #else 1727s # g_assert_not_reached (); 1727s # #endif 1727s # } 1727s # g_variant_iter_init (&iter, parameters); 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1727s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1727s # if (!g_value_get_boolean (&return_value)) 1727s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1727s # g_value_unset (&return_value); 1727s # for (n = 0; n < num_params + num_extra; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static GVariant * 1727s # _org_project_signaling_iface_skeleton_handle_get_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # GVariant *ret; 1727s # ret = NULL; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # g_value_init (&value, pspec->value_type); 1727s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1727s # g_value_unset (&value); 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _org_project_signaling_iface_skeleton_handle_set_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GVariant *variant, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # gboolean ret; 1727s # ret = FALSE; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # if (info->use_gvariant) 1727s # g_value_set_variant (&value, variant); 1727s # else 1727s # g_dbus_gvariant_to_gvalue (variant, &value); 1727s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # g_value_unset (&value); 1727s # ret = TRUE; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1727s # { 1727s # _org_project_signaling_iface_skeleton_handle_method_call, 1727s # _org_project_signaling_iface_skeleton_handle_get_property, 1727s # _org_project_signaling_iface_skeleton_handle_set_property, 1727s # {NULL} 1727s # }; 1727s # 1727s # static GDBusInterfaceInfo * 1727s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return org_project_signaling_iface_interface_info (); 1727s # } 1727s # 1727s # static GDBusInterfaceVTable * 1727s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1727s # } 1727s # 1727s # static GVariant * 1727s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1727s # 1727s # GVariantBuilder builder; 1727s # guint n; 1727s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1727s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1727s # goto out; 1727s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1727s # { 1727s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1727s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1727s # { 1727s # GVariant *value; 1727s # 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); 1727s # if (value != NULL) 1727s # { 1727s # g_variant_take_ref (value); 1727s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1727s # g_variant_unref (value); 1727s # } 1727s # } 1727s # } 1727s # out: 1727s # return g_variant_builder_end (&builder); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1727s # OrgProjectSignalingIface *object, 1727s # gboolean arg_an_b, 1727s # guchar arg_an_y, 1727s # gint16 arg_an_n, 1727s # guint16 arg_an_q, 1727s # gint arg_an_i, 1727s # guint arg_an_u, 1727s # gint64 arg_an_x, 1727s # guint64 arg_an_t, 1727s # gdouble arg_an_d, 1727s # const gchar *arg_an_s, 1727s # const gchar *arg_an_o, 1727s # const gchar *arg_an_g, 1727s # GVariant *arg_an_h, 1727s # const gchar *arg_an_ay, 1727s # const gchar *const *arg_an_as, 1727s # const gchar *const *arg_an_ao, 1727s # const gchar *const *arg_an_aay, 1727s # GVariant *arg_an_asv) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1727s # arg_an_b, 1727s # arg_an_y, 1727s # arg_an_n, 1727s # arg_an_q, 1727s # arg_an_i, 1727s # arg_an_u, 1727s # arg_an_x, 1727s # arg_an_t, 1727s # arg_an_d, 1727s # arg_an_s, 1727s # arg_an_o, 1727s # arg_an_g, 1727s # arg_an_h, 1727s # arg_an_ay, 1727s # arg_an_as, 1727s # arg_an_ao, 1727s # arg_an_aay, 1727s # arg_an_asv)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1727s # if (skeleton->priv->changed_properties_idle_source != NULL) 1727s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1727s # g_main_context_unref (skeleton->priv->context); 1727s # g_mutex_clear (&skeleton->priv->lock); 1727s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1727s # #else 1727s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1727s # #endif 1727s # 1727s # g_mutex_init (&skeleton->priv->lock); 1727s # skeleton->priv->context = g_main_context_ref_thread_default (); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusInterfaceSkeletonClass *skeleton_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1727s # 1727s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1727s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1727s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1727s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1727s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1727s # { 1727s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_skeleton_new: 1727s # * 1727s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_skeleton_new (void) 1727s # { 1727s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1727s # } 1727s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1727s # tmpdir: /tmp/tmpwwt5k73d 1727s # codegen: /usr/bin/gdbus-codegen 1727s # /tmp/tmpwwt5k73d/tmp725geagp.xml: 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwwt5k73d/tmp725geagp.xml', '--output', '-', '--body'] 1727s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1727s # Output: /* 1727s # * This file is generated by gdbus-codegen, do not modify it. 1727s # * 1727s # * The license of this code is the same as for the D-Bus interface description 1727s # * it was derived from. Note that it links to GLib, so must comply with the 1727s # * LGPL linking clauses. 1727s # */ 1727s # 1727s # #ifdef HAVE_CONFIG_H 1727s # # include "config.h" 1727s # #endif 1727s # 1727s # #include 1727s # #ifdef G_OS_UNIX 1727s # # include 1727s # #endif 1727s # 1727s # #ifdef G_ENABLE_DEBUG 1727s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1727s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1727s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1727s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1727s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1727s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1727s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1727s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1727s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1727s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1727s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1727s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1727s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1727s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1727s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1727s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1727s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1727s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1727s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1727s # #else /* !G_ENABLE_DEBUG */ 1727s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1727s # * Do not access GValues directly in your code. Instead, use the 1727s # * g_value_get_*() functions 1727s # */ 1727s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1727s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1727s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1727s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1727s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1727s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1727s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1727s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1727s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1727s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1727s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1727s # #endif /* !G_ENABLE_DEBUG */ 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusArgInfo parent_struct; 1727s # gboolean use_gvariant; 1727s # } _ExtendedGDBusArgInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusMethodInfo parent_struct; 1727s # const gchar *signal_name; 1727s # gboolean pass_fdlist; 1727s # } _ExtendedGDBusMethodInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusSignalInfo parent_struct; 1727s # const gchar *signal_name; 1727s # } _ExtendedGDBusSignalInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusPropertyInfo parent_struct; 1727s # const gchar *hyphen_name; 1727s # guint use_gvariant : 1; 1727s # guint emits_changed_signal : 1; 1727s # } _ExtendedGDBusPropertyInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusInterfaceInfo parent_struct; 1727s # const gchar *hyphen_name; 1727s # } _ExtendedGDBusInterfaceInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # const _ExtendedGDBusPropertyInfo *info; 1727s # guint prop_id; 1727s # GValue orig_value; /* the value before the change */ 1727s # } ChangedProperty; 1727s # 1727s # static void 1727s # _changed_property_free (ChangedProperty *data) 1727s # { 1727s # g_value_unset (&data->orig_value); 1727s # g_free (data); 1727s # } 1727s # 1727s # static gboolean 1727s # _g_strv_equal0 (gchar **a, gchar **b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # guint n; 1727s # if (a == NULL && b == NULL) 1727s # { 1727s # ret = TRUE; 1727s # goto out; 1727s # } 1727s # if (a == NULL || b == NULL) 1727s # goto out; 1727s # if (g_strv_length (a) != g_strv_length (b)) 1727s # goto out; 1727s # for (n = 0; a[n] != NULL; n++) 1727s # if (g_strcmp0 (a[n], b[n]) != 0) 1727s # goto out; 1727s # ret = TRUE; 1727s # out: 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _g_variant_equal0 (GVariant *a, GVariant *b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # if (a == NULL && b == NULL) 1727s # { 1727s # ret = TRUE; 1727s # goto out; 1727s # } 1727s # if (a == NULL || b == NULL) 1727s # goto out; 1727s # ret = g_variant_equal (a, b); 1727s # out: 1727s # return ret; 1727s # } 1727s # 1727s # G_GNUC_UNUSED static gboolean 1727s # _g_value_equal (const GValue *a, const GValue *b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1727s # switch (G_VALUE_TYPE (a)) 1727s # { 1727s # case G_TYPE_BOOLEAN: 1727s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1727s # break; 1727s # case G_TYPE_UCHAR: 1727s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1727s # break; 1727s # case G_TYPE_INT: 1727s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1727s # break; 1727s # case G_TYPE_UINT: 1727s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1727s # break; 1727s # case G_TYPE_INT64: 1727s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1727s # break; 1727s # case G_TYPE_UINT64: 1727s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1727s # break; 1727s # case G_TYPE_DOUBLE: 1727s # { 1727s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1727s # gdouble da = g_value_get_double (a); 1727s # gdouble db = g_value_get_double (b); 1727s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1727s # } 1727s # break; 1727s # case G_TYPE_STRING: 1727s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1727s # break; 1727s # case G_TYPE_VARIANT: 1727s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1727s # break; 1727s # default: 1727s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1727s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1727s # else 1727s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1727s # break; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static void 1727s # _g_dbus_codegen_marshal_VOID__INT64 ( 1727s # GClosure *closure, 1727s # GValue *return_value G_GNUC_UNUSED, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint G_GNUC_UNUSED, 1727s # void *marshal_data) 1727s # { 1727s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1727s # (void *data1, 1727s # gint64 arg_an_x, 1727s # void *data2); 1727s # _GDbusCodegenMarshalVoid_Int64Func callback; 1727s # GCClosure *cc = (GCClosure*) closure; 1727s # void *data1, *data2; 1727s # 1727s # g_return_if_fail (n_param_values == 2); 1727s # 1727s # if (G_CCLOSURE_SWAP_DATA (closure)) 1727s # { 1727s # data1 = closure->data; 1727s # data2 = g_value_peek_pointer (param_values + 0); 1727s # } 1727s # else 1727s # { 1727s # data1 = g_value_peek_pointer (param_values + 0); 1727s # data2 = closure->data; 1727s # } 1727s # 1727s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1727s # (marshal_data ? marshal_data : cc->callback); 1727s # 1727s # callback (data1, 1727s # g_marshal_value_peek_int64 (param_values + 1), 1727s # data2); 1727s # } 1727s # 1727s # static void 1727s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1727s # GClosure *closure, 1727s # GValue *return_value G_GNUC_UNUSED, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint G_GNUC_UNUSED, 1727s # void *marshal_data) 1727s # { 1727s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1727s # (void *data1, 1727s # guint64 arg_an_t, 1727s # void *data2); 1727s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1727s # GCClosure *cc = (GCClosure*) closure; 1727s # void *data1, *data2; 1727s # 1727s # g_return_if_fail (n_param_values == 2); 1727s # 1727s # if (G_CCLOSURE_SWAP_DATA (closure)) 1727s # { 1727s # data1 = closure->data; 1727s # data2 = g_value_peek_pointer (param_values + 0); 1727s # } 1727s # else 1727s # { 1727s # data1 = g_value_peek_pointer (param_values + 0); 1727s # data2 = closure->data; 1727s # } 1727s # 1727s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1727s # (marshal_data ? marshal_data : cc->callback); 1727s # 1727s # callback (data1, 1727s # g_marshal_value_peek_uint64 (param_values + 1), 1727s # data2); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ 1727s # * Code for interface org.project.SignalingIface 1727s # * ------------------------------------------------------------------------ 1727s # */ 1727s # 1727s # /** 1727s # * SECTION:OrgProjectSignalingIface 1727s # * @title: OrgProjectSignalingIface 1727s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1727s # * 1727s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1727s # */ 1727s # 1727s # enum 1727s # { 1727s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1727s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1727s # }; 1727s # 1727s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1727s # 1727s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "NoArgSignal", 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "no-arg-signal" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_b", 1727s # (gchar *) "b", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalB", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-b" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_y", 1727s # (gchar *) "y", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalY", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-y" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_n", 1727s # (gchar *) "n", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalN", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-n" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_q", 1727s # (gchar *) "q", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalQ", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-q" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_i", 1727s # (gchar *) "i", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalI", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-i" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_u", 1727s # (gchar *) "u", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalU", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-u" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_x", 1727s # (gchar *) "x", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalX", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-x" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_t", 1727s # (gchar *) "t", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalT", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-t" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_d", 1727s # (gchar *) "d", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalD", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-d" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_s", 1727s # (gchar *) "s", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalS", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-s" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_o", 1727s # (gchar *) "o", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalO", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-o" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_g", 1727s # (gchar *) "g", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalG", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-g" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_h", 1727s # (gchar *) "h", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalH", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-h" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_ay", 1727s # (gchar *) "ay", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalAY", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-ay" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_as", 1727s # (gchar *) "as", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalAS", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-as" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_ao", 1727s # (gchar *) "ao", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalAO", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-ao" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_aay", 1727s # (gchar *) "aay", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalAAY", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-aay" 1727s # }; 1727s # 1727s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "an_asv", 1727s # (gchar *) "a{sv}", 1727s # NULL 1727s # }, 1727s # FALSE 1727s # }; 1727s # 1727s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SingleArgSignalASV", 1727s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1727s # NULL 1727s # }, 1727s # "single-arg-signal-asv" 1727s # }; 1727s # 1727s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1727s # { 1727s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1727s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "org.project.SignalingIface", 1727s # NULL, 1727s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "org-project-signaling-iface", 1727s # }; 1727s # 1727s # 1727s # /** 1727s # * org_project_signaling_iface_interface_info: 1727s # * 1727s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1727s # * 1727s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1727s # */ 1727s # GDBusInterfaceInfo * 1727s # org_project_signaling_iface_interface_info (void) 1727s # { 1727s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_override_properties: 1727s # * @klass: The class structure for a #GObject derived class. 1727s # * @property_id_begin: The property id to assign to the first overridden property. 1727s # * 1727s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1727s # * The properties are overridden in the order they are defined. 1727s # * 1727s # * Returns: The last property id. 1727s # */ 1727s # guint 1727s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1727s # { 1727s # return property_id_begin - 1; 1727s # } 1727s # 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__VOID (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__UCHAR (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__INT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__UINT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__INT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__UINT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__DOUBLE (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__STRING (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__STRING (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__STRING (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__VARIANT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__STRING (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__BOXED (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__BOXED (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__BOXED (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # inline static void 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__VARIANT (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface: 1727s # * 1727s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceIface: 1727s # * @parent_iface: The parent interface. 1727s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1727s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1727s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1727s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1727s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1727s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1727s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1727s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1727s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1727s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1727s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1727s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1727s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1727s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1727s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1727s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1727s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1727s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1727s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1727s # * 1727s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1727s # */ 1727s # 1727s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1727s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1727s # 1727s # static void 1727s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1727s # { 1727s # /* GObject signals for received D-Bus signals: */ 1727s # /** 1727s # * OrgProjectSignalingIface::no-arg-signal: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1727s # g_signal_new ("no-arg-signal", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1727s # G_TYPE_NONE, 1727s # 0); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-b: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_b: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1727s # g_signal_new ("single-arg-signal-b", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_BOOLEAN); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-y: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_y: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1727s # g_signal_new ("single-arg-signal-y", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_UCHAR); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-n: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_n: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1727s # g_signal_new ("single-arg-signal-n", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_INT); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-q: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_q: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1727s # g_signal_new ("single-arg-signal-q", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_UINT); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-i: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_i: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1727s # g_signal_new ("single-arg-signal-i", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_INT); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-u: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_u: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1727s # g_signal_new ("single-arg-signal-u", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_UINT); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-x: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_x: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1727s # g_signal_new ("single-arg-signal-x", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_INT64); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-t: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_t: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1727s # g_signal_new ("single-arg-signal-t", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_UINT64); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-d: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_d: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1727s # g_signal_new ("single-arg-signal-d", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_DOUBLE); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-s: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_s: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1727s # g_signal_new ("single-arg-signal-s", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRING); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-o: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_o: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1727s # g_signal_new ("single-arg-signal-o", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRING); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-g: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_g: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1727s # g_signal_new ("single-arg-signal-g", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRING); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-h: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_h: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1727s # g_signal_new ("single-arg-signal-h", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_VARIANT); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-ay: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_ay: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1727s # g_signal_new ("single-arg-signal-ay", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRING); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-as: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_as: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1727s # g_signal_new ("single-arg-signal-as", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRV); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-ao: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_ao: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1727s # g_signal_new ("single-arg-signal-ao", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRV); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-aay: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_aay: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1727s # g_signal_new ("single-arg-signal-aay", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_STRV); 1727s # 1727s # /** 1727s # * OrgProjectSignalingIface::single-arg-signal-asv: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_asv: Argument. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1727s # g_signal_new ("single-arg-signal-asv", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1727s # NULL, 1727s # NULL, 1727s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1727s # G_TYPE_NONE, 1727s # 1, G_TYPE_VARIANT); 1727s # 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_no_arg_signal: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * 1727s # * Emits the "NoArgSignal" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_no_arg_signal ( 1727s # OrgProjectSignalingIface *object) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_b: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_b: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalB" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_b ( 1727s # OrgProjectSignalingIface *object, 1727s # gboolean arg_an_b) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_y: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_y: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalY" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_y ( 1727s # OrgProjectSignalingIface *object, 1727s # guchar arg_an_y) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_n: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_n: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalN" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_n ( 1727s # OrgProjectSignalingIface *object, 1727s # gint16 arg_an_n) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_q: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_q: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalQ" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_q ( 1727s # OrgProjectSignalingIface *object, 1727s # guint16 arg_an_q) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_i: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_i: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalI" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_i ( 1727s # OrgProjectSignalingIface *object, 1727s # gint arg_an_i) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_u: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_u: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalU" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_u ( 1727s # OrgProjectSignalingIface *object, 1727s # guint arg_an_u) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_x: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_x: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalX" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_x ( 1727s # OrgProjectSignalingIface *object, 1727s # gint64 arg_an_x) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_t: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_t: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalT" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_t ( 1727s # OrgProjectSignalingIface *object, 1727s # guint64 arg_an_t) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_d: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_d: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalD" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_d ( 1727s # OrgProjectSignalingIface *object, 1727s # gdouble arg_an_d) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_s: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_s: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalS" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_s ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_s) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_o: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_o: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalO" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_o ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_o) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_g: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_g: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalG" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_g ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_g) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_h: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_h: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalH" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_h ( 1727s # OrgProjectSignalingIface *object, 1727s # GVariant *arg_an_h) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_ay: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalAY" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_ay) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_as: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_as: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalAS" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_as ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *const *arg_an_as) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_ao: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalAO" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *const *arg_an_ao) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_aay: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *const *arg_an_aay) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1727s # * @object: A #OrgProjectSignalingIface. 1727s # * @arg_an_asv: Argument to pass with the signal. 1727s # * 1727s # * Emits the "SingleArgSignalASV" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1727s # OrgProjectSignalingIface *object, 1727s # GVariant *arg_an_asv) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceProxy: 1727s # * 1727s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceProxyClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectSignalingIfaceProxy. 1727s # */ 1727s # 1727s # struct _OrgProjectSignalingIfaceProxyPrivate 1727s # { 1727s # GData *qdata; 1727s # }; 1727s # 1727s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_signaling_iface_proxy_finalize (GObject *object) 1727s # { 1727s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1727s # g_datalist_clear (&proxy->priv->qdata); 1727s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # const GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1727s # const gchar *sender_name G_GNUC_UNUSED, 1727s # const gchar *signal_name, 1727s # GVariant *parameters) 1727s # { 1727s # _ExtendedGDBusSignalInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # gsize n; 1727s # guint signal_id; 1727s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1727s # if (info == NULL) 1727s # return; 1727s # num_params = g_variant_n_children (parameters); 1727s # paramv = g_new0 (GValue, num_params + 1); 1727s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_value_set_object (¶mv[0], proxy); 1727s # g_variant_iter_init (&iter, parameters); 1727s # n = 1; 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_signal_emitv (paramv, signal_id, 0, NULL); 1727s # for (n = 0; n < num_params + 1; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1727s # GVariant *changed_properties, 1727s # const gchar *const *invalidated_properties) 1727s # { 1727s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1727s # guint n; 1727s # const gchar *key; 1727s # GVariantIter *iter; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # g_variant_get (changed_properties, "a{sv}", &iter); 1727s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1727s # g_datalist_remove_data (&proxy->priv->qdata, key); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # g_variant_iter_free (iter); 1727s # for (n = 0; invalidated_properties[n] != NULL; n++) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1727s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1727s # #else 1727s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1727s # #endif 1727s # 1727s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusProxyClass *proxy_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1727s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1727s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1727s # 1727s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1727s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1727s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_proxy_new ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_sync: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_sync ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_for_bus: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_signaling_iface_proxy_new_for_bus ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceSkeleton: 1727s # * 1727s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectSignalingIfaceSkeletonClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1727s # */ 1727s # 1727s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1727s # { 1727s # GValue *properties; 1727s # GList *changed_properties; 1727s # GSource *changed_properties_idle_source; 1727s # GMainContext *context; 1727s # GMutex lock; 1727s # }; 1727s # 1727s # static void 1727s # _org_project_signaling_iface_skeleton_handle_method_call ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name, 1727s # const gchar *method_name, 1727s # GVariant *parameters, 1727s # GDBusMethodInvocation *invocation, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1727s # _ExtendedGDBusMethodInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # guint num_extra; 1727s # gsize n; 1727s # guint signal_id; 1727s # GValue return_value = G_VALUE_INIT; 1727s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1727s # g_assert (info != NULL); 1727s # num_params = g_variant_n_children (parameters); 1727s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1727s # n = 0; 1727s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_value_set_object (¶mv[n++], skeleton); 1727s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1727s # g_value_set_object (¶mv[n++], invocation); 1727s # if (info->pass_fdlist) 1727s # { 1727s # #ifdef G_OS_UNIX 1727s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1727s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1727s # #else 1727s # g_assert_not_reached (); 1727s # #endif 1727s # } 1727s # g_variant_iter_init (&iter, parameters); 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1727s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1727s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1727s # if (!g_value_get_boolean (&return_value)) 1727s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1727s # g_value_unset (&return_value); 1727s # for (n = 0; n < num_params + num_extra; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static GVariant * 1727s # _org_project_signaling_iface_skeleton_handle_get_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # GVariant *ret; 1727s # ret = NULL; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # g_value_init (&value, pspec->value_type); 1727s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1727s # g_value_unset (&value); 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _org_project_signaling_iface_skeleton_handle_set_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GVariant *variant, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # gboolean ret; 1727s # ret = FALSE; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # if (info->use_gvariant) 1727s # g_value_set_variant (&value, variant); 1727s # else 1727s # g_dbus_gvariant_to_gvalue (variant, &value); 1727s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # g_value_unset (&value); 1727s # ret = TRUE; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1727s # { 1727s # _org_project_signaling_iface_skeleton_handle_method_call, 1727s # _org_project_signaling_iface_skeleton_handle_get_property, 1727s # _org_project_signaling_iface_skeleton_handle_set_property, 1727s # {NULL} 1727s # }; 1727s # 1727s # static GDBusInterfaceInfo * 1727s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return org_project_signaling_iface_interface_info (); 1727s # } 1727s # 1727s # static GDBusInterfaceVTable * 1727s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1727s # } 1727s # 1727s # static GVariant * 1727s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1727s # 1727s # GVariantBuilder builder; 1727s # guint n; 1727s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1727s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1727s # goto out; 1727s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1727s # { 1727s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1727s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1727s # { 1727s # GVariant *value; 1727s # 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); 1727s # if (value != NULL) 1727s # { 1727s # g_variant_take_ref (value); 1727s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1727s # g_variant_unref (value); 1727s # } 1727s # } 1727s # } 1727s # out: 1727s # return g_variant_builder_end (&builder); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1727s # OrgProjectSignalingIface *object) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1727s # OrgProjectSignalingIface *object, 1727s # gboolean arg_an_b) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1727s # arg_an_b)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1727s # OrgProjectSignalingIface *object, 1727s # guchar arg_an_y) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1727s # arg_an_y)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1727s # OrgProjectSignalingIface *object, 1727s # gint16 arg_an_n) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1727s # arg_an_n)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1727s # OrgProjectSignalingIface *object, 1727s # guint16 arg_an_q) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1727s # arg_an_q)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1727s # OrgProjectSignalingIface *object, 1727s # gint arg_an_i) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1727s # arg_an_i)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1727s # OrgProjectSignalingIface *object, 1727s # guint arg_an_u) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1727s # arg_an_u)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1727s # OrgProjectSignalingIface *object, 1727s # gint64 arg_an_x) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1727s # arg_an_x)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1727s # OrgProjectSignalingIface *object, 1727s # guint64 arg_an_t) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1727s # arg_an_t)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1727s # OrgProjectSignalingIface *object, 1727s # gdouble arg_an_d) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1727s # arg_an_d)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_s) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1727s # arg_an_s)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_o) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1727s # arg_an_o)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_g) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1727s # arg_an_g)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1727s # OrgProjectSignalingIface *object, 1727s # GVariant *arg_an_h) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1727s # arg_an_h)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *arg_an_ay) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1727s # arg_an_ay)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *const *arg_an_as) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1727s # arg_an_as)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *const *arg_an_ao) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1727s # arg_an_ao)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1727s # OrgProjectSignalingIface *object, 1727s # const gchar *const *arg_an_aay) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1727s # arg_an_aay)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void 1727s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1727s # OrgProjectSignalingIface *object, 1727s # GVariant *arg_an_asv) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1727s # arg_an_asv)); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1727s # { 1727s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1727s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1727s # if (skeleton->priv->changed_properties_idle_source != NULL) 1727s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1727s # g_main_context_unref (skeleton->priv->context); 1727s # g_mutex_clear (&skeleton->priv->lock); 1727s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1727s # #else 1727s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1727s # #endif 1727s # 1727s # g_mutex_init (&skeleton->priv->lock); 1727s # skeleton->priv->context = g_main_context_ref_thread_default (); 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusInterfaceSkeletonClass *skeleton_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1727s # 1727s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1727s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1727s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1727s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1727s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1727s # { 1727s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1727s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1727s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1727s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1727s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1727s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1727s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1727s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1727s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1727s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1727s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1727s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1727s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1727s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1727s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1727s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1727s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1727s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1727s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1727s # } 1727s # 1727s # /** 1727s # * org_project_signaling_iface_skeleton_new: 1727s # * 1727s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1727s # */ 1727s # OrgProjectSignalingIface * 1727s # org_project_signaling_iface_skeleton_new (void) 1727s # { 1727s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1727s # } 1727s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1727s # tmpdir: /tmp/tmp34b1cf1q 1727s # codegen: /usr/bin/gdbus-codegen 1727s # /tmp/tmp34b1cf1q/tmphvnhbts1.xml: 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # 1727s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp34b1cf1q/tmphvnhbts1.xml', '--output', '-', '--body'] 1727s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1727s # Output: /* 1727s # * This file is generated by gdbus-codegen, do not modify it. 1727s # * 1727s # * The license of this code is the same as for the D-Bus interface description 1727s # * it was derived from. Note that it links to GLib, so must comply with the 1727s # * LGPL linking clauses. 1727s # */ 1727s # 1727s # #ifdef HAVE_CONFIG_H 1727s # # include "config.h" 1727s # #endif 1727s # 1727s # #include 1727s # #ifdef G_OS_UNIX 1727s # # include 1727s # #endif 1727s # 1727s # #ifdef G_ENABLE_DEBUG 1727s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1727s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1727s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1727s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1727s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1727s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1727s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1727s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1727s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1727s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1727s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1727s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1727s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1727s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1727s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1727s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1727s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1727s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1727s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1727s # #else /* !G_ENABLE_DEBUG */ 1727s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1727s # * Do not access GValues directly in your code. Instead, use the 1727s # * g_value_get_*() functions 1727s # */ 1727s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1727s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1727s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1727s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1727s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1727s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1727s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1727s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1727s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1727s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1727s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1727s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1727s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1727s # #endif /* !G_ENABLE_DEBUG */ 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusArgInfo parent_struct; 1727s # gboolean use_gvariant; 1727s # } _ExtendedGDBusArgInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusMethodInfo parent_struct; 1727s # const gchar *signal_name; 1727s # gboolean pass_fdlist; 1727s # } _ExtendedGDBusMethodInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusSignalInfo parent_struct; 1727s # const gchar *signal_name; 1727s # } _ExtendedGDBusSignalInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusPropertyInfo parent_struct; 1727s # const gchar *hyphen_name; 1727s # guint use_gvariant : 1; 1727s # guint emits_changed_signal : 1; 1727s # } _ExtendedGDBusPropertyInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # GDBusInterfaceInfo parent_struct; 1727s # const gchar *hyphen_name; 1727s # } _ExtendedGDBusInterfaceInfo; 1727s # 1727s # typedef struct 1727s # { 1727s # const _ExtendedGDBusPropertyInfo *info; 1727s # guint prop_id; 1727s # GValue orig_value; /* the value before the change */ 1727s # } ChangedProperty; 1727s # 1727s # static void 1727s # _changed_property_free (ChangedProperty *data) 1727s # { 1727s # g_value_unset (&data->orig_value); 1727s # g_free (data); 1727s # } 1727s # 1727s # static gboolean 1727s # _g_strv_equal0 (gchar **a, gchar **b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # guint n; 1727s # if (a == NULL && b == NULL) 1727s # { 1727s # ret = TRUE; 1727s # goto out; 1727s # } 1727s # if (a == NULL || b == NULL) 1727s # goto out; 1727s # if (g_strv_length (a) != g_strv_length (b)) 1727s # goto out; 1727s # for (n = 0; a[n] != NULL; n++) 1727s # if (g_strcmp0 (a[n], b[n]) != 0) 1727s # goto out; 1727s # ret = TRUE; 1727s # out: 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _g_variant_equal0 (GVariant *a, GVariant *b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # if (a == NULL && b == NULL) 1727s # { 1727s # ret = TRUE; 1727s # goto out; 1727s # } 1727s # if (a == NULL || b == NULL) 1727s # goto out; 1727s # ret = g_variant_equal (a, b); 1727s # out: 1727s # return ret; 1727s # } 1727s # 1727s # G_GNUC_UNUSED static gboolean 1727s # _g_value_equal (const GValue *a, const GValue *b) 1727s # { 1727s # gboolean ret = FALSE; 1727s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1727s # switch (G_VALUE_TYPE (a)) 1727s # { 1727s # case G_TYPE_BOOLEAN: 1727s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1727s # break; 1727s # case G_TYPE_UCHAR: 1727s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1727s # break; 1727s # case G_TYPE_INT: 1727s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1727s # break; 1727s # case G_TYPE_UINT: 1727s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1727s # break; 1727s # case G_TYPE_INT64: 1727s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1727s # break; 1727s # case G_TYPE_UINT64: 1727s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1727s # break; 1727s # case G_TYPE_DOUBLE: 1727s # { 1727s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1727s # gdouble da = g_value_get_double (a); 1727s # gdouble db = g_value_get_double (b); 1727s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1727s # } 1727s # break; 1727s # case G_TYPE_STRING: 1727s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1727s # break; 1727s # case G_TYPE_VARIANT: 1727s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1727s # break; 1727s # default: 1727s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1727s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1727s # else 1727s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1727s # break; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ 1727s # * Code for interface org.project.UsefulInterface 1727s # * ------------------------------------------------------------------------ 1727s # */ 1727s # 1727s # /** 1727s # * SECTION:OrgProjectUsefulInterface 1727s # * @title: OrgProjectUsefulInterface 1727s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1727s # * 1727s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1727s # */ 1727s # 1727s # enum 1727s # { 1727s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1727s # }; 1727s # 1727s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1727s # 1727s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SimpleSignal", 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "simple-signal" 1727s # }; 1727s # 1727s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1727s # { 1727s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "org.project.UsefulInterface", 1727s # NULL, 1727s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "org-project-useful-interface", 1727s # }; 1727s # 1727s # 1727s # /** 1727s # * org_project_useful_interface_interface_info: 1727s # * 1727s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1727s # * 1727s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1727s # */ 1727s # GDBusInterfaceInfo * 1727s # org_project_useful_interface_interface_info (void) 1727s # { 1727s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_override_properties: 1727s # * @klass: The class structure for a #GObject derived class. 1727s # * @property_id_begin: The property id to assign to the first overridden property. 1727s # * 1727s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1727s # * The properties are overridden in the order they are defined. 1727s # * 1727s # * Returns: The last property id. 1727s # */ 1727s # guint 1727s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1727s # { 1727s # return property_id_begin - 1; 1727s # } 1727s # 1727s # 1727s # inline static void 1727s # org_project_useful_interface_signal_marshal_simple_signal ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__VOID (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # 1727s # /** 1727s # * OrgProjectUsefulInterface: 1727s # * 1727s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectUsefulInterfaceIface: 1727s # * @parent_iface: The parent interface. 1727s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1727s # * 1727s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1727s # */ 1727s # 1727s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1727s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1727s # 1727s # static void 1727s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1727s # { 1727s # /* GObject signals for received D-Bus signals: */ 1727s # /** 1727s # * OrgProjectUsefulInterface::simple-signal: 1727s # * @object: A #OrgProjectUsefulInterface. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1727s # g_signal_new ("simple-signal", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1727s # NULL, 1727s # NULL, 1727s # org_project_useful_interface_signal_marshal_simple_signal, 1727s # G_TYPE_NONE, 1727s # 0); 1727s # 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_emit_simple_signal: 1727s # * @object: A #OrgProjectUsefulInterface. 1727s # * 1727s # * Emits the "SimpleSignal" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_useful_interface_emit_simple_signal ( 1727s # OrgProjectUsefulInterface *object) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectUsefulInterfaceProxy: 1727s # * 1727s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectUsefulInterfaceProxyClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1727s # */ 1727s # 1727s # struct _OrgProjectUsefulInterfaceProxyPrivate 1727s # { 1727s # GData *qdata; 1727s # }; 1727s # 1727s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_useful_interface_proxy_finalize (GObject *object) 1727s # { 1727s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1727s # g_datalist_clear (&proxy->priv->qdata); 1727s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # const GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1727s # const gchar *sender_name G_GNUC_UNUSED, 1727s # const gchar *signal_name, 1727s # GVariant *parameters) 1727s # { 1727s # _ExtendedGDBusSignalInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # gsize n; 1727s # guint signal_id; 1727s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1727s # if (info == NULL) 1727s # return; 1727s # num_params = g_variant_n_children (parameters); 1727s # paramv = g_new0 (GValue, num_params + 1); 1727s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1727s # g_value_set_object (¶mv[0], proxy); 1727s # g_variant_iter_init (&iter, parameters); 1727s # n = 1; 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1727s # g_signal_emitv (paramv, signal_id, 0, NULL); 1727s # for (n = 0; n < num_params + 1; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1727s # GVariant *changed_properties, 1727s # const gchar *const *invalidated_properties) 1727s # { 1727s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1727s # guint n; 1727s # const gchar *key; 1727s # GVariantIter *iter; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # g_variant_get (changed_properties, "a{sv}", &iter); 1727s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1727s # g_datalist_remove_data (&proxy->priv->qdata, key); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # g_variant_iter_free (iter); 1727s # for (n = 0; invalidated_properties[n] != NULL; n++) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1727s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1727s # #else 1727s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1727s # #endif 1727s # 1727s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusProxyClass *proxy_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1727s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1727s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1727s # 1727s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1727s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1727s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_proxy_new: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_useful_interface_proxy_new ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # g_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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_proxy_new_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectUsefulInterface * 1727s # org_project_useful_interface_proxy_new_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_proxy_new_sync: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectUsefulInterface * 1727s # org_project_useful_interface_proxy_new_sync ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /** 1727s # * org_project_useful_interface_proxy_new_for_bus: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_useful_interface_proxy_new_for_bus ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # g_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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_proxy_new_for_bus_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectUsefulInterface * 1727s # org_project_useful_interface_proxy_new_for_bus_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_proxy_new_for_bus_sync: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectUsefulInterface * 1727s # org_project_useful_interface_proxy_new_for_bus_sync ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectUsefulInterfaceSkeleton: 1727s # * 1727s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectUsefulInterfaceSkeletonClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1727s # */ 1727s # 1727s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1727s # { 1727s # GValue *properties; 1727s # GList *changed_properties; 1727s # GSource *changed_properties_idle_source; 1727s # GMainContext *context; 1727s # GMutex lock; 1727s # }; 1727s # 1727s # static void 1727s # _org_project_useful_interface_skeleton_handle_method_call ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name, 1727s # const gchar *method_name, 1727s # GVariant *parameters, 1727s # GDBusMethodInvocation *invocation, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1727s # _ExtendedGDBusMethodInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # guint num_extra; 1727s # gsize n; 1727s # guint signal_id; 1727s # GValue return_value = G_VALUE_INIT; 1727s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1727s # g_assert (info != NULL); 1727s # num_params = g_variant_n_children (parameters); 1727s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1727s # n = 0; 1727s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1727s # g_value_set_object (¶mv[n++], skeleton); 1727s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1727s # g_value_set_object (¶mv[n++], invocation); 1727s # if (info->pass_fdlist) 1727s # { 1727s # #ifdef G_OS_UNIX 1727s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1727s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1727s # #else 1727s # g_assert_not_reached (); 1727s # #endif 1727s # } 1727s # g_variant_iter_init (&iter, parameters); 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1727s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1727s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1727s # if (!g_value_get_boolean (&return_value)) 1727s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1727s # g_value_unset (&return_value); 1727s # for (n = 0; n < num_params + num_extra; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static GVariant * 1727s # _org_project_useful_interface_skeleton_handle_get_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # GVariant *ret; 1727s # ret = NULL; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # g_value_init (&value, pspec->value_type); 1727s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1727s # g_value_unset (&value); 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _org_project_useful_interface_skeleton_handle_set_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GVariant *variant, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # gboolean ret; 1727s # ret = FALSE; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # if (info->use_gvariant) 1727s # g_value_set_variant (&value, variant); 1727s # else 1727s # g_dbus_gvariant_to_gvalue (variant, &value); 1727s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # g_value_unset (&value); 1727s # ret = TRUE; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1727s # { 1727s # _org_project_useful_interface_skeleton_handle_method_call, 1727s # _org_project_useful_interface_skeleton_handle_get_property, 1727s # _org_project_useful_interface_skeleton_handle_set_property, 1727s # {NULL} 1727s # }; 1727s # 1727s # static GDBusInterfaceInfo * 1727s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return org_project_useful_interface_interface_info (); 1727s # } 1727s # 1727s # static GDBusInterfaceVTable * 1727s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1727s # } 1727s # 1727s # static GVariant * 1727s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1727s # { 1727s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1727s # 1727s # GVariantBuilder builder; 1727s # guint n; 1727s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1727s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1727s # goto out; 1727s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1727s # { 1727s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1727s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1727s # { 1727s # GVariant *value; 1727s # 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); 1727s # if (value != NULL) 1727s # { 1727s # g_variant_take_ref (value); 1727s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1727s # g_variant_unref (value); 1727s # } 1727s # } 1727s # } 1727s # out: 1727s # return g_variant_builder_end (&builder); 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # _org_project_useful_interface_on_signal_simple_signal ( 1727s # OrgProjectUsefulInterface *object) 1727s # { 1727s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_useful_interface_skeleton_finalize (GObject *object) 1727s # { 1727s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1727s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1727s # if (skeleton->priv->changed_properties_idle_source != NULL) 1727s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1727s # g_main_context_unref (skeleton->priv->context); 1727s # g_mutex_clear (&skeleton->priv->lock); 1727s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1727s # #else 1727s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1727s # #endif 1727s # 1727s # g_mutex_init (&skeleton->priv->lock); 1727s # skeleton->priv->context = g_main_context_ref_thread_default (); 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusInterfaceSkeletonClass *skeleton_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1727s # 1727s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1727s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1727s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1727s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1727s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1727s # { 1727s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1727s # } 1727s # 1727s # /** 1727s # * org_project_useful_interface_skeleton_new: 1727s # * 1727s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1727s # */ 1727s # OrgProjectUsefulInterface * 1727s # org_project_useful_interface_skeleton_new (void) 1727s # { 1727s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ 1727s # * Code for interface org.project.OtherIface 1727s # * ------------------------------------------------------------------------ 1727s # */ 1727s # 1727s # /** 1727s # * SECTION:OrgProjectOtherIface 1727s # * @title: OrgProjectOtherIface 1727s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1727s # * 1727s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1727s # */ 1727s # 1727s # enum 1727s # { 1727s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1727s # }; 1727s # 1727s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1727s # 1727s # /* ---- Introspection data for org.project.OtherIface ---- */ 1727s # 1727s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "SimpleSignal", 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "simple-signal" 1727s # }; 1727s # 1727s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1727s # { 1727s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1727s # NULL 1727s # }; 1727s # 1727s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1727s # { 1727s # { 1727s # -1, 1727s # (gchar *) "org.project.OtherIface", 1727s # NULL, 1727s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1727s # NULL, 1727s # NULL 1727s # }, 1727s # "org-project-other-iface", 1727s # }; 1727s # 1727s # 1727s # /** 1727s # * org_project_other_iface_interface_info: 1727s # * 1727s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1727s # * 1727s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1727s # */ 1727s # GDBusInterfaceInfo * 1727s # org_project_other_iface_interface_info (void) 1727s # { 1727s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_override_properties: 1727s # * @klass: The class structure for a #GObject derived class. 1727s # * @property_id_begin: The property id to assign to the first overridden property. 1727s # * 1727s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1727s # * The properties are overridden in the order they are defined. 1727s # * 1727s # * Returns: The last property id. 1727s # */ 1727s # guint 1727s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1727s # { 1727s # return property_id_begin - 1; 1727s # } 1727s # 1727s # 1727s # inline static void 1727s # org_project_other_iface_signal_marshal_simple_signal ( 1727s # GClosure *closure, 1727s # GValue *return_value, 1727s # unsigned int n_param_values, 1727s # const GValue *param_values, 1727s # void *invocation_hint, 1727s # void *marshal_data) 1727s # { 1727s # g_cclosure_marshal_VOID__VOID (closure, 1727s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1727s # } 1727s # 1727s # 1727s # /** 1727s # * OrgProjectOtherIface: 1727s # * 1727s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectOtherIfaceIface: 1727s # * @parent_iface: The parent interface. 1727s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1727s # * 1727s # * Virtual table for the D-Bus interface org.project.OtherIface. 1727s # */ 1727s # 1727s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1727s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1727s # 1727s # static void 1727s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1727s # { 1727s # /* GObject signals for received D-Bus signals: */ 1727s # /** 1727s # * OrgProjectOtherIface::simple-signal: 1727s # * @object: A #OrgProjectOtherIface. 1727s # * 1727s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1727s # * 1727s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1727s # */ 1727s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1727s # g_signal_new ("simple-signal", 1727s # G_TYPE_FROM_INTERFACE (iface), 1727s # G_SIGNAL_RUN_LAST, 1727s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1727s # NULL, 1727s # NULL, 1727s # org_project_other_iface_signal_marshal_simple_signal, 1727s # G_TYPE_NONE, 1727s # 0); 1727s # 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_emit_simple_signal: 1727s # * @object: A #OrgProjectOtherIface. 1727s # * 1727s # * Emits the "SimpleSignal" D-Bus signal. 1727s # */ 1727s # void 1727s # org_project_other_iface_emit_simple_signal ( 1727s # OrgProjectOtherIface *object) 1727s # { 1727s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1727s # } 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectOtherIfaceProxy: 1727s # * 1727s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectOtherIfaceProxyClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectOtherIfaceProxy. 1727s # */ 1727s # 1727s # struct _OrgProjectOtherIfaceProxyPrivate 1727s # { 1727s # GData *qdata; 1727s # }; 1727s # 1727s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_other_iface_proxy_finalize (GObject *object) 1727s # { 1727s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1727s # g_datalist_clear (&proxy->priv->qdata); 1727s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1727s # guint prop_id G_GNUC_UNUSED, 1727s # const GValue *value G_GNUC_UNUSED, 1727s # GParamSpec *pspec G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1727s # const gchar *sender_name G_GNUC_UNUSED, 1727s # const gchar *signal_name, 1727s # GVariant *parameters) 1727s # { 1727s # _ExtendedGDBusSignalInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # gsize n; 1727s # guint signal_id; 1727s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1727s # if (info == NULL) 1727s # return; 1727s # num_params = g_variant_n_children (parameters); 1727s # paramv = g_new0 (GValue, num_params + 1); 1727s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1727s # g_value_set_object (¶mv[0], proxy); 1727s # g_variant_iter_init (&iter, parameters); 1727s # n = 1; 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1727s # g_signal_emitv (paramv, signal_id, 0, NULL); 1727s # for (n = 0; n < num_params + 1; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1727s # GVariant *changed_properties, 1727s # const gchar *const *invalidated_properties) 1727s # { 1727s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1727s # guint n; 1727s # const gchar *key; 1727s # GVariantIter *iter; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # g_variant_get (changed_properties, "a{sv}", &iter); 1727s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1727s # g_datalist_remove_data (&proxy->priv->qdata, key); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # g_variant_iter_free (iter); 1727s # for (n = 0; invalidated_properties[n] != NULL; n++) 1727s # { 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1727s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1727s # if (info != NULL) 1727s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1727s # } 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1727s # #else 1727s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1727s # #endif 1727s # 1727s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusProxyClass *proxy_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1727s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1727s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1727s # 1727s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1727s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1727s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_proxy_new: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_other_iface_proxy_new ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_proxy_new_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectOtherIface * 1727s # org_project_other_iface_proxy_new_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_OTHER_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_proxy_new_sync: 1727s # * @connection: A #GDBusConnection. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectOtherIface * 1727s # org_project_other_iface_proxy_new_sync ( 1727s # GDBusConnection *connection, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_OTHER_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /** 1727s # * org_project_other_iface_proxy_new_for_bus: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1727s # * @user_data: User data to pass to @callback. 1727s # * 1727s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1727s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1727s # * 1727s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1727s # */ 1727s # void 1727s # org_project_other_iface_proxy_new_for_bus ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GAsyncReadyCallback callback, 1727s # gpointer user_data) 1727s # { 1727s # 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); 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_proxy_new_for_bus_finish: 1727s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectOtherIface * 1727s # org_project_other_iface_proxy_new_for_bus_finish ( 1727s # GAsyncResult *res, 1727s # GError **error) 1727s # { 1727s # GObject *ret; 1727s # GObject *source_object; 1727s # source_object = g_async_result_get_source_object (res); 1727s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1727s # g_object_unref (source_object); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_OTHER_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_proxy_new_for_bus_sync: 1727s # * @bus_type: A #GBusType. 1727s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1727s # * @name: A bus name (well-known or unique). 1727s # * @object_path: An object path. 1727s # * @cancellable: (nullable): A #GCancellable or %NULL. 1727s # * @error: Return location for error or %NULL 1727s # * 1727s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1727s # * 1727s # * The calling thread is blocked until a reply is received. 1727s # * 1727s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1727s # */ 1727s # OrgProjectOtherIface * 1727s # org_project_other_iface_proxy_new_for_bus_sync ( 1727s # GBusType bus_type, 1727s # GDBusProxyFlags flags, 1727s # const gchar *name, 1727s # const gchar *object_path, 1727s # GCancellable *cancellable, 1727s # GError **error) 1727s # { 1727s # GInitable *ret; 1727s # 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); 1727s # if (ret != NULL) 1727s # return ORG_PROJECT_OTHER_IFACE (ret); 1727s # else 1727s # return NULL; 1727s # } 1727s # 1727s # 1727s # /* ------------------------------------------------------------------------ */ 1727s # 1727s # /** 1727s # * OrgProjectOtherIfaceSkeleton: 1727s # * 1727s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1727s # */ 1727s # 1727s # /** 1727s # * OrgProjectOtherIfaceSkeletonClass: 1727s # * @parent_class: The parent class. 1727s # * 1727s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1727s # */ 1727s # 1727s # struct _OrgProjectOtherIfaceSkeletonPrivate 1727s # { 1727s # GValue *properties; 1727s # GList *changed_properties; 1727s # GSource *changed_properties_idle_source; 1727s # GMainContext *context; 1727s # GMutex lock; 1727s # }; 1727s # 1727s # static void 1727s # _org_project_other_iface_skeleton_handle_method_call ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name, 1727s # const gchar *method_name, 1727s # GVariant *parameters, 1727s # GDBusMethodInvocation *invocation, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1727s # _ExtendedGDBusMethodInfo *info; 1727s # GVariantIter iter; 1727s # GVariant *child; 1727s # GValue *paramv; 1727s # gsize num_params; 1727s # guint num_extra; 1727s # gsize n; 1727s # guint signal_id; 1727s # GValue return_value = G_VALUE_INIT; 1727s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1727s # g_assert (info != NULL); 1727s # num_params = g_variant_n_children (parameters); 1727s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1727s # n = 0; 1727s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1727s # g_value_set_object (¶mv[n++], skeleton); 1727s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1727s # g_value_set_object (¶mv[n++], invocation); 1727s # if (info->pass_fdlist) 1727s # { 1727s # #ifdef G_OS_UNIX 1727s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1727s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1727s # #else 1727s # g_assert_not_reached (); 1727s # #endif 1727s # } 1727s # g_variant_iter_init (&iter, parameters); 1727s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1727s # { 1727s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1727s # if (arg_info->use_gvariant) 1727s # { 1727s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1727s # g_value_set_variant (¶mv[n], child); 1727s # n++; 1727s # } 1727s # else 1727s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1727s # g_variant_unref (child); 1727s # } 1727s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1727s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1727s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1727s # if (!g_value_get_boolean (&return_value)) 1727s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1727s # g_value_unset (&return_value); 1727s # for (n = 0; n < num_params + num_extra; n++) 1727s # g_value_unset (¶mv[n]); 1727s # g_free (paramv); 1727s # } 1727s # 1727s # static GVariant * 1727s # _org_project_other_iface_skeleton_handle_get_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # GVariant *ret; 1727s # ret = NULL; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # g_value_init (&value, pspec->value_type); 1727s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1727s # g_value_unset (&value); 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static gboolean 1727s # _org_project_other_iface_skeleton_handle_set_property ( 1727s # GDBusConnection *connection G_GNUC_UNUSED, 1727s # const gchar *sender G_GNUC_UNUSED, 1727s # const gchar *object_path G_GNUC_UNUSED, 1727s # const gchar *interface_name G_GNUC_UNUSED, 1727s # const gchar *property_name, 1727s # GVariant *variant, 1727s # GError **error, 1727s # gpointer user_data) 1727s # { 1727s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1727s # GValue value = G_VALUE_INIT; 1727s # GParamSpec *pspec; 1727s # _ExtendedGDBusPropertyInfo *info; 1727s # gboolean ret; 1727s # ret = FALSE; 1727s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1727s # g_assert (info != NULL); 1727s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1727s # if (pspec == NULL) 1727s # { 1727s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1727s # } 1727s # else 1727s # { 1727s # if (info->use_gvariant) 1727s # g_value_set_variant (&value, variant); 1727s # else 1727s # g_dbus_gvariant_to_gvalue (variant, &value); 1727s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1727s # g_value_unset (&value); 1727s # ret = TRUE; 1727s # } 1727s # return ret; 1727s # } 1727s # 1727s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1727s # { 1727s # _org_project_other_iface_skeleton_handle_method_call, 1727s # _org_project_other_iface_skeleton_handle_get_property, 1727s # _org_project_other_iface_skeleton_handle_set_property, 1727s # {NULL} 1727s # }; 1727s # 1727s # static GDBusInterfaceInfo * 1727s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return org_project_other_iface_interface_info (); 1727s # } 1727s # 1727s # static GDBusInterfaceVTable * 1727s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1727s # { 1727s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1727s # } 1727s # 1727s # static GVariant * 1727s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1727s # { 1727s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1727s # 1727s # GVariantBuilder builder; 1727s # guint n; 1727s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1727s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1727s # goto out; 1727s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1727s # { 1727s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1727s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1727s # { 1727s # GVariant *value; 1727s # 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); 1727s # if (value != NULL) 1727s # { 1727s # g_variant_take_ref (value); 1727s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1727s # g_variant_unref (value); 1727s # } 1727s # } 1727s # } 1727s # out: 1727s # return g_variant_builder_end (&builder); 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1727s # { 1727s # } 1727s # 1727s # static void 1727s # _org_project_other_iface_on_signal_simple_signal ( 1727s # OrgProjectOtherIface *object) 1727s # { 1727s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1727s # 1727s # GList *connections, *l; 1727s # GVariant *signal_variant; 1727s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1727s # 1727s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1727s # for (l = connections; l != NULL; l = l->next) 1727s # { 1727s # GDBusConnection *connection = l->data; 1727s # g_dbus_connection_emit_signal (connection, 1727s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1727s # signal_variant, NULL); 1727s # } 1727s # g_variant_unref (signal_variant); 1727s # g_list_free_full (connections, g_object_unref); 1727s # } 1727s # 1727s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1727s # 1727s # #else 1727s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1727s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1727s # 1727s # #endif 1727s # static void 1727s # org_project_other_iface_skeleton_finalize (GObject *object) 1727s # { 1727s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1727s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1727s # if (skeleton->priv->changed_properties_idle_source != NULL) 1727s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1727s # g_main_context_unref (skeleton->priv->context); 1727s # g_mutex_clear (&skeleton->priv->lock); 1727s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1727s # { 1727s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1727s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1727s # #else 1727s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1727s # #endif 1727s # 1727s # g_mutex_init (&skeleton->priv->lock); 1727s # skeleton->priv->context = g_main_context_ref_thread_default (); 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1727s # { 1727s # GObjectClass *gobject_class; 1727s # GDBusInterfaceSkeletonClass *skeleton_class; 1727s # 1727s # gobject_class = G_OBJECT_CLASS (klass); 1727s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1727s # 1727s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1727s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1727s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1727s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1727s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1727s # 1727s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1727s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1727s # #endif 1727s # } 1727s # 1727s # static void 1727s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1727s # { 1727s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1727s # } 1727s # 1727s # /** 1727s # * org_project_other_iface_skeleton_new: 1727s # * 1727s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1727s # * 1727s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1727s # */ 1727s # OrgProjectOtherIface * 1727s # org_project_other_iface_skeleton_new (void) 1727s # { 1727s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1727s # } 1728s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1728s # tmpdir: /tmp/tmpgav04co6 1728s # codegen: /usr/bin/gdbus-codegen 1728s # /tmp/tmpgav04co6/tmp_652exgc.xml: 1728s # 1728s # 1728s # 1728s # 1728s # 1728s # 1728s # 1728s # 1728s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgav04co6/tmp_652exgc.xml', '--output', '-', '--body'] 1728s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1728s # Output: /* 1728s # * This file is generated by gdbus-codegen, do not modify it. 1728s # * 1728s # * The license of this code is the same as for the D-Bus interface description 1728s # * it was derived from. Note that it links to GLib, so must comply with the 1728s # * LGPL linking clauses. 1728s # */ 1728s # 1728s # #ifdef HAVE_CONFIG_H 1728s # # include "config.h" 1728s # #endif 1728s # 1728s # #include 1728s # #ifdef G_OS_UNIX 1728s # # include 1728s # #endif 1728s # 1728s # #ifdef G_ENABLE_DEBUG 1728s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1728s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1728s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1728s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1728s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1728s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1728s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1728s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1728s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1728s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1728s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1728s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1728s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1728s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1728s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1728s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1728s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1728s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1728s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1728s # #else /* !G_ENABLE_DEBUG */ 1728s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1728s # * Do not access GValues directly in your code. Instead, use the 1728s # * g_value_get_*() functions 1728s # */ 1728s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1728s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1728s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1728s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1728s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1728s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1728s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1728s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1728s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1728s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1728s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1728s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1728s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1728s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1728s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1728s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1728s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1728s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1728s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1728s # #endif /* !G_ENABLE_DEBUG */ 1728s # 1728s # typedef struct 1728s # { 1728s # GDBusArgInfo parent_struct; 1728s # gboolean use_gvariant; 1728s # } _ExtendedGDBusArgInfo; 1728s # 1728s # typedef struct 1728s # { 1728s # GDBusMethodInfo parent_struct; 1728s # const gchar *signal_name; 1728s # gboolean pass_fdlist; 1728s # } _ExtendedGDBusMethodInfo; 1728s # 1728s # typedef struct 1728s # { 1728s # GDBusSignalInfo parent_struct; 1728s # const gchar *signal_name; 1728s # } _ExtendedGDBusSignalInfo; 1728s # 1728s # typedef struct 1728s # { 1728s # GDBusPropertyInfo parent_struct; 1728s # const gchar *hyphen_name; 1728s # guint use_gvariant : 1; 1728s # guint emits_changed_signal : 1; 1728s # } _ExtendedGDBusPropertyInfo; 1728s # 1728s # typedef struct 1728s # { 1728s # GDBusInterfaceInfo parent_struct; 1728s # const gchar *hyphen_name; 1728s # } _ExtendedGDBusInterfaceInfo; 1728s # 1728s # typedef struct 1728s # { 1728s # const _ExtendedGDBusPropertyInfo *info; 1728s # guint prop_id; 1728s # GValue orig_value; /* the value before the change */ 1728s # } ChangedProperty; 1728s # 1728s # static void 1728s # _changed_property_free (ChangedProperty *data) 1728s # { 1728s # g_value_unset (&data->orig_value); 1728s # g_free (data); 1728s # } 1728s # 1728s # static gboolean 1728s # _g_strv_equal0 (gchar **a, gchar **b) 1728s # { 1728s # gboolean ret = FALSE; 1728s # guint n; 1728s # if (a == NULL && b == NULL) 1728s # { 1728s # ret = TRUE; 1728s # goto out; 1728s # } 1728s # if (a == NULL || b == NULL) 1728s # goto out; 1728s # if (g_strv_length (a) != g_strv_length (b)) 1728s # goto out; 1728s # for (n = 0; a[n] != NULL; n++) 1728s # if (g_strcmp0 (a[n], b[n]) != 0) 1728s # goto out; 1728s # ret = TRUE; 1728s # out: 1728s # return ret; 1728s # } 1728s # 1728s # static gboolean 1728s # _g_variant_equal0 (GVariant *a, GVariant *b) 1728s # { 1728s # gboolean ret = FALSE; 1728s # if (a == NULL && b == NULL) 1728s # { 1728s # ret = TRUE; 1728s # goto out; 1728s # } 1728s # if (a == NULL || b == NULL) 1728s # goto out; 1728s # ret = g_variant_equal (a, b); 1728s # out: 1728s # return ret; 1728s # } 1728s # 1728s # G_GNUC_UNUSED static gboolean 1728s # _g_value_equal (const GValue *a, const GValue *b) 1728s # { 1728s # gboolean ret = FALSE; 1728s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1728s # switch (G_VALUE_TYPE (a)) 1728s # { 1728s # case G_TYPE_BOOLEAN: 1728s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1728s # break; 1728s # case G_TYPE_UCHAR: 1728s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1728s # break; 1728s # case G_TYPE_INT: 1728s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1728s # break; 1728s # case G_TYPE_UINT: 1728s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1728s # break; 1728s # case G_TYPE_INT64: 1728s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1728s # break; 1728s # case G_TYPE_UINT64: 1728s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1728s # break; 1728s # case G_TYPE_DOUBLE: 1728s # { 1728s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1728s # gdouble da = g_value_get_double (a); 1728s # gdouble db = g_value_get_double (b); 1728s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1728s # } 1728s # break; 1728s # case G_TYPE_STRING: 1728s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1728s # break; 1728s # case G_TYPE_VARIANT: 1728s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1728s # break; 1728s # default: 1728s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1728s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1728s # else 1728s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1728s # break; 1728s # } 1728s # return ret; 1728s # } 1728s # 1728s # /* ------------------------------------------------------------------------ 1728s # * Code for interface org.project.SignalingIface 1728s # * ------------------------------------------------------------------------ 1728s # */ 1728s # 1728s # /** 1728s # * SECTION:OrgProjectSignalingIface 1728s # * @title: OrgProjectSignalingIface 1728s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1728s # * 1728s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1728s # */ 1728s # 1728s # enum 1728s # { 1728s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1728s # }; 1728s # 1728s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1728s # 1728s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1728s # 1728s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1728s # { 1728s # { 1728s # -1, 1728s # (gchar *) "SimpleSignal", 1728s # NULL, 1728s # NULL 1728s # }, 1728s # "simple-signal" 1728s # }; 1728s # 1728s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1728s # { 1728s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1728s # NULL 1728s # }; 1728s # 1728s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1728s # { 1728s # { 1728s # -1, 1728s # (gchar *) "org.project.SignalingIface", 1728s # NULL, 1728s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1728s # NULL, 1728s # NULL 1728s # }, 1728s # "org-project-signaling-iface", 1728s # }; 1728s # 1728s # 1728s # /** 1728s # * org_project_signaling_iface_interface_info: 1728s # * 1728s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1728s # * 1728s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1728s # */ 1728s # GDBusInterfaceInfo * 1728s # org_project_signaling_iface_interface_info (void) 1728s # { 1728s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_override_properties: 1728s # * @klass: The class structure for a #GObject derived class. 1728s # * @property_id_begin: The property id to assign to the first overridden property. 1728s # * 1728s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1728s # * The properties are overridden in the order they are defined. 1728s # * 1728s # * Returns: The last property id. 1728s # */ 1728s # guint 1728s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1728s # { 1728s # return property_id_begin - 1; 1728s # } 1728s # 1728s # 1728s # inline static void 1728s # org_project_signaling_iface_signal_marshal_simple_signal ( 1728s # GClosure *closure, 1728s # GValue *return_value, 1728s # unsigned int n_param_values, 1728s # const GValue *param_values, 1728s # void *invocation_hint, 1728s # void *marshal_data) 1728s # { 1728s # g_cclosure_marshal_VOID__VOID (closure, 1728s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1728s # } 1728s # 1728s # 1728s # /** 1728s # * OrgProjectSignalingIface: 1728s # * 1728s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1728s # */ 1728s # 1728s # /** 1728s # * OrgProjectSignalingIfaceIface: 1728s # * @parent_iface: The parent interface. 1728s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1728s # * 1728s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1728s # */ 1728s # 1728s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1728s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1728s # 1728s # static void 1728s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1728s # { 1728s # /* GObject signals for received D-Bus signals: */ 1728s # /** 1728s # * OrgProjectSignalingIface::simple-signal: 1728s # * @object: A #OrgProjectSignalingIface. 1728s # * 1728s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1728s # * 1728s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1728s # */ 1728s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1728s # g_signal_new ("simple-signal", 1728s # G_TYPE_FROM_INTERFACE (iface), 1728s # G_SIGNAL_RUN_LAST, 1728s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1728s # NULL, 1728s # NULL, 1728s # org_project_signaling_iface_signal_marshal_simple_signal, 1728s # G_TYPE_NONE, 1728s # 0); 1728s # 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_emit_simple_signal: 1728s # * @object: A #OrgProjectSignalingIface. 1728s # * 1728s # * Emits the "SimpleSignal" D-Bus signal. 1728s # */ 1728s # void 1728s # org_project_signaling_iface_emit_simple_signal ( 1728s # OrgProjectSignalingIface *object) 1728s # { 1728s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1728s # } 1728s # 1728s # /* ------------------------------------------------------------------------ */ 1728s # 1728s # /** 1728s # * OrgProjectSignalingIfaceProxy: 1728s # * 1728s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1728s # */ 1728s # 1728s # /** 1728s # * OrgProjectSignalingIfaceProxyClass: 1728s # * @parent_class: The parent class. 1728s # * 1728s # * Class structure for #OrgProjectSignalingIfaceProxy. 1728s # */ 1728s # 1728s # struct _OrgProjectSignalingIfaceProxyPrivate 1728s # { 1728s # GData *qdata; 1728s # }; 1728s # 1728s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1728s # 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1728s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1728s # 1728s # #else 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1728s # 1728s # #endif 1728s # static void 1728s # org_project_signaling_iface_proxy_finalize (GObject *object) 1728s # { 1728s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1728s # g_datalist_clear (&proxy->priv->qdata); 1728s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1728s # guint prop_id G_GNUC_UNUSED, 1728s # GValue *value G_GNUC_UNUSED, 1728s # GParamSpec *pspec G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1728s # guint prop_id G_GNUC_UNUSED, 1728s # const GValue *value G_GNUC_UNUSED, 1728s # GParamSpec *pspec G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1728s # const gchar *sender_name G_GNUC_UNUSED, 1728s # const gchar *signal_name, 1728s # GVariant *parameters) 1728s # { 1728s # _ExtendedGDBusSignalInfo *info; 1728s # GVariantIter iter; 1728s # GVariant *child; 1728s # GValue *paramv; 1728s # gsize num_params; 1728s # gsize n; 1728s # guint signal_id; 1728s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1728s # if (info == NULL) 1728s # return; 1728s # num_params = g_variant_n_children (parameters); 1728s # paramv = g_new0 (GValue, num_params + 1); 1728s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1728s # g_value_set_object (¶mv[0], proxy); 1728s # g_variant_iter_init (&iter, parameters); 1728s # n = 1; 1728s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1728s # { 1728s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1728s # if (arg_info->use_gvariant) 1728s # { 1728s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1728s # g_value_set_variant (¶mv[n], child); 1728s # n++; 1728s # } 1728s # else 1728s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1728s # g_variant_unref (child); 1728s # } 1728s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1728s # g_signal_emitv (paramv, signal_id, 0, NULL); 1728s # for (n = 0; n < num_params + 1; n++) 1728s # g_value_unset (¶mv[n]); 1728s # g_free (paramv); 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1728s # GVariant *changed_properties, 1728s # const gchar *const *invalidated_properties) 1728s # { 1728s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1728s # guint n; 1728s # const gchar *key; 1728s # GVariantIter *iter; 1728s # _ExtendedGDBusPropertyInfo *info; 1728s # g_variant_get (changed_properties, "a{sv}", &iter); 1728s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1728s # { 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1728s # g_datalist_remove_data (&proxy->priv->qdata, key); 1728s # if (info != NULL) 1728s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1728s # } 1728s # g_variant_iter_free (iter); 1728s # for (n = 0; invalidated_properties[n] != NULL; n++) 1728s # { 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1728s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1728s # if (info != NULL) 1728s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1728s # } 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1728s # { 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1728s # #else 1728s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1728s # #endif 1728s # 1728s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1728s # { 1728s # GObjectClass *gobject_class; 1728s # GDBusProxyClass *proxy_class; 1728s # 1728s # gobject_class = G_OBJECT_CLASS (klass); 1728s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1728s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1728s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1728s # 1728s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1728s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1728s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1728s # 1728s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1728s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1728s # #endif 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_proxy_new: 1728s # * @connection: A #GDBusConnection. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1728s # * @user_data: User data to pass to @callback. 1728s # * 1728s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1728s # * 1728s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1728s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1728s # * 1728s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1728s # */ 1728s # void 1728s # org_project_signaling_iface_proxy_new ( 1728s # GDBusConnection *connection, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GAsyncReadyCallback callback, 1728s # gpointer user_data) 1728s # { 1728s # 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); 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_proxy_new_finish: 1728s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectSignalingIface * 1728s # org_project_signaling_iface_proxy_new_finish ( 1728s # GAsyncResult *res, 1728s # GError **error) 1728s # { 1728s # GObject *ret; 1728s # GObject *source_object; 1728s # source_object = g_async_result_get_source_object (res); 1728s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1728s # g_object_unref (source_object); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_proxy_new_sync: 1728s # * @connection: A #GDBusConnection. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1728s # * 1728s # * The calling thread is blocked until a reply is received. 1728s # * 1728s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectSignalingIface * 1728s # org_project_signaling_iface_proxy_new_sync ( 1728s # GDBusConnection *connection, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GError **error) 1728s # { 1728s # GInitable *ret; 1728s # 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); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # 1728s # /** 1728s # * org_project_signaling_iface_proxy_new_for_bus: 1728s # * @bus_type: A #GBusType. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: A bus name (well-known or unique). 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1728s # * @user_data: User data to pass to @callback. 1728s # * 1728s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1728s # * 1728s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1728s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1728s # * 1728s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1728s # */ 1728s # void 1728s # org_project_signaling_iface_proxy_new_for_bus ( 1728s # GBusType bus_type, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GAsyncReadyCallback callback, 1728s # gpointer user_data) 1728s # { 1728s # 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); 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1728s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectSignalingIface * 1728s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1728s # GAsyncResult *res, 1728s # GError **error) 1728s # { 1728s # GObject *ret; 1728s # GObject *source_object; 1728s # source_object = g_async_result_get_source_object (res); 1728s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1728s # g_object_unref (source_object); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1728s # * @bus_type: A #GBusType. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: A bus name (well-known or unique). 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1728s # * 1728s # * The calling thread is blocked until a reply is received. 1728s # * 1728s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectSignalingIface * 1728s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1728s # GBusType bus_type, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GError **error) 1728s # { 1728s # GInitable *ret; 1728s # 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); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # 1728s # /* ------------------------------------------------------------------------ */ 1728s # 1728s # /** 1728s # * OrgProjectSignalingIfaceSkeleton: 1728s # * 1728s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1728s # */ 1728s # 1728s # /** 1728s # * OrgProjectSignalingIfaceSkeletonClass: 1728s # * @parent_class: The parent class. 1728s # * 1728s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1728s # */ 1728s # 1728s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1728s # { 1728s # GValue *properties; 1728s # GList *changed_properties; 1728s # GSource *changed_properties_idle_source; 1728s # GMainContext *context; 1728s # GMutex lock; 1728s # }; 1728s # 1728s # static void 1728s # _org_project_signaling_iface_skeleton_handle_method_call ( 1728s # GDBusConnection *connection G_GNUC_UNUSED, 1728s # const gchar *sender G_GNUC_UNUSED, 1728s # const gchar *object_path G_GNUC_UNUSED, 1728s # const gchar *interface_name, 1728s # const gchar *method_name, 1728s # GVariant *parameters, 1728s # GDBusMethodInvocation *invocation, 1728s # gpointer user_data) 1728s # { 1728s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1728s # _ExtendedGDBusMethodInfo *info; 1728s # GVariantIter iter; 1728s # GVariant *child; 1728s # GValue *paramv; 1728s # gsize num_params; 1728s # guint num_extra; 1728s # gsize n; 1728s # guint signal_id; 1728s # GValue return_value = G_VALUE_INIT; 1728s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1728s # g_assert (info != NULL); 1728s # num_params = g_variant_n_children (parameters); 1728s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1728s # n = 0; 1728s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1728s # g_value_set_object (¶mv[n++], skeleton); 1728s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1728s # g_value_set_object (¶mv[n++], invocation); 1728s # if (info->pass_fdlist) 1728s # { 1728s # #ifdef G_OS_UNIX 1728s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1728s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1728s # #else 1728s # g_assert_not_reached (); 1728s # #endif 1728s # } 1728s # g_variant_iter_init (&iter, parameters); 1728s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1728s # { 1728s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1728s # if (arg_info->use_gvariant) 1728s # { 1728s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1728s # g_value_set_variant (¶mv[n], child); 1728s # n++; 1728s # } 1728s # else 1728s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1728s # g_variant_unref (child); 1728s # } 1728s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1728s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1728s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1728s # if (!g_value_get_boolean (&return_value)) 1728s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1728s # g_value_unset (&return_value); 1728s # for (n = 0; n < num_params + num_extra; n++) 1728s # g_value_unset (¶mv[n]); 1728s # g_free (paramv); 1728s # } 1728s # 1728s # static GVariant * 1728s # _org_project_signaling_iface_skeleton_handle_get_property ( 1728s # GDBusConnection *connection G_GNUC_UNUSED, 1728s # const gchar *sender G_GNUC_UNUSED, 1728s # const gchar *object_path G_GNUC_UNUSED, 1728s # const gchar *interface_name G_GNUC_UNUSED, 1728s # const gchar *property_name, 1728s # GError **error, 1728s # gpointer user_data) 1728s # { 1728s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1728s # GValue value = G_VALUE_INIT; 1728s # GParamSpec *pspec; 1728s # _ExtendedGDBusPropertyInfo *info; 1728s # GVariant *ret; 1728s # ret = NULL; 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1728s # g_assert (info != NULL); 1728s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1728s # if (pspec == NULL) 1728s # { 1728s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1728s # } 1728s # else 1728s # { 1728s # g_value_init (&value, pspec->value_type); 1728s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1728s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1728s # g_value_unset (&value); 1728s # } 1728s # return ret; 1728s # } 1728s # 1728s # static gboolean 1728s # _org_project_signaling_iface_skeleton_handle_set_property ( 1728s # GDBusConnection *connection G_GNUC_UNUSED, 1728s # const gchar *sender G_GNUC_UNUSED, 1728s # const gchar *object_path G_GNUC_UNUSED, 1728s # const gchar *interface_name G_GNUC_UNUSED, 1728s # const gchar *property_name, 1728s # GVariant *variant, 1728s # GError **error, 1728s # gpointer user_data) 1728s # { 1728s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1728s # GValue value = G_VALUE_INIT; 1728s # GParamSpec *pspec; 1728s # _ExtendedGDBusPropertyInfo *info; 1728s # gboolean ret; 1728s # ret = FALSE; 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1728s # g_assert (info != NULL); 1728s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1728s # if (pspec == NULL) 1728s # { 1728s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1728s # } 1728s # else 1728s # { 1728s # if (info->use_gvariant) 1728s # g_value_set_variant (&value, variant); 1728s # else 1728s # g_dbus_gvariant_to_gvalue (variant, &value); 1728s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1728s # g_value_unset (&value); 1728s # ret = TRUE; 1728s # } 1728s # return ret; 1728s # } 1728s # 1728s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1728s # { 1728s # _org_project_signaling_iface_skeleton_handle_method_call, 1728s # _org_project_signaling_iface_skeleton_handle_get_property, 1728s # _org_project_signaling_iface_skeleton_handle_set_property, 1728s # {NULL} 1728s # }; 1728s # 1728s # static GDBusInterfaceInfo * 1728s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1728s # { 1728s # return org_project_signaling_iface_interface_info (); 1728s # } 1728s # 1728s # static GDBusInterfaceVTable * 1728s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1728s # { 1728s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1728s # } 1728s # 1728s # static GVariant * 1728s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1728s # { 1728s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1728s # 1728s # GVariantBuilder builder; 1728s # guint n; 1728s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1728s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1728s # goto out; 1728s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1728s # { 1728s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1728s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1728s # { 1728s # GVariant *value; 1728s # 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); 1728s # if (value != NULL) 1728s # { 1728s # g_variant_take_ref (value); 1728s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1728s # g_variant_unref (value); 1728s # } 1728s # } 1728s # } 1728s # out: 1728s # return g_variant_builder_end (&builder); 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # static void 1728s # _org_project_signaling_iface_on_signal_simple_signal ( 1728s # OrgProjectSignalingIface *object) 1728s # { 1728s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1728s # 1728s # GList *connections, *l; 1728s # GVariant *signal_variant; 1728s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1728s # 1728s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1728s # for (l = connections; l != NULL; l = l->next) 1728s # { 1728s # GDBusConnection *connection = l->data; 1728s # g_dbus_connection_emit_signal (connection, 1728s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1728s # signal_variant, NULL); 1728s # } 1728s # g_variant_unref (signal_variant); 1728s # g_list_free_full (connections, g_object_unref); 1728s # } 1728s # 1728s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1728s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1728s # 1728s # #else 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1728s # 1728s # #endif 1728s # static void 1728s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1728s # { 1728s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1728s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1728s # if (skeleton->priv->changed_properties_idle_source != NULL) 1728s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1728s # g_main_context_unref (skeleton->priv->context); 1728s # g_mutex_clear (&skeleton->priv->lock); 1728s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1728s # { 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1728s # #else 1728s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1728s # #endif 1728s # 1728s # g_mutex_init (&skeleton->priv->lock); 1728s # skeleton->priv->context = g_main_context_ref_thread_default (); 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1728s # { 1728s # GObjectClass *gobject_class; 1728s # GDBusInterfaceSkeletonClass *skeleton_class; 1728s # 1728s # gobject_class = G_OBJECT_CLASS (klass); 1728s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1728s # 1728s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1728s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1728s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1728s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1728s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1728s # 1728s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1728s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1728s # #endif 1728s # } 1728s # 1728s # static void 1728s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1728s # { 1728s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1728s # } 1728s # 1728s # /** 1728s # * org_project_signaling_iface_skeleton_new: 1728s # * 1728s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1728s # */ 1728s # OrgProjectSignalingIface * 1728s # org_project_signaling_iface_skeleton_new (void) 1728s # { 1728s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1728s # } 1728s # 1728s # /* ------------------------------------------------------------------------ 1728s # * Code for interface org.project.OtherSignalingIface 1728s # * ------------------------------------------------------------------------ 1728s # */ 1728s # 1728s # /** 1728s # * SECTION:OrgProjectOtherSignalingIface 1728s # * @title: OrgProjectOtherSignalingIface 1728s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1728s # * 1728s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1728s # */ 1728s # 1728s # enum 1728s # { 1728s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1728s # }; 1728s # 1728s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1728s # 1728s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1728s # 1728s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1728s # { 1728s # { 1728s # -1, 1728s # (gchar *) "SimpleSignal", 1728s # NULL, 1728s # NULL 1728s # }, 1728s # "simple-signal" 1728s # }; 1728s # 1728s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1728s # { 1728s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1728s # NULL 1728s # }; 1728s # 1728s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1728s # { 1728s # { 1728s # -1, 1728s # (gchar *) "org.project.OtherSignalingIface", 1728s # NULL, 1728s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1728s # NULL, 1728s # NULL 1728s # }, 1728s # "org-project-other-signaling-iface", 1728s # }; 1728s # 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_interface_info: 1728s # * 1728s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1728s # * 1728s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1728s # */ 1728s # GDBusInterfaceInfo * 1728s # org_project_other_signaling_iface_interface_info (void) 1728s # { 1728s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_override_properties: 1728s # * @klass: The class structure for a #GObject derived class. 1728s # * @property_id_begin: The property id to assign to the first overridden property. 1728s # * 1728s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1728s # * The properties are overridden in the order they are defined. 1728s # * 1728s # * Returns: The last property id. 1728s # */ 1728s # guint 1728s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1728s # { 1728s # return property_id_begin - 1; 1728s # } 1728s # 1728s # 1728s # inline static void 1728s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1728s # GClosure *closure, 1728s # GValue *return_value, 1728s # unsigned int n_param_values, 1728s # const GValue *param_values, 1728s # void *invocation_hint, 1728s # void *marshal_data) 1728s # { 1728s # g_cclosure_marshal_VOID__VOID (closure, 1728s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1728s # } 1728s # 1728s # 1728s # /** 1728s # * OrgProjectOtherSignalingIface: 1728s # * 1728s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1728s # */ 1728s # 1728s # /** 1728s # * OrgProjectOtherSignalingIfaceIface: 1728s # * @parent_iface: The parent interface. 1728s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1728s # * 1728s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1728s # */ 1728s # 1728s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1728s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1728s # { 1728s # /* GObject signals for received D-Bus signals: */ 1728s # /** 1728s # * OrgProjectOtherSignalingIface::simple-signal: 1728s # * @object: A #OrgProjectOtherSignalingIface. 1728s # * 1728s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1728s # * 1728s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1728s # */ 1728s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1728s # g_signal_new ("simple-signal", 1728s # G_TYPE_FROM_INTERFACE (iface), 1728s # G_SIGNAL_RUN_LAST, 1728s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1728s # NULL, 1728s # NULL, 1728s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1728s # G_TYPE_NONE, 1728s # 0); 1728s # 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_emit_simple_signal: 1728s # * @object: A #OrgProjectOtherSignalingIface. 1728s # * 1728s # * Emits the "SimpleSignal" D-Bus signal. 1728s # */ 1728s # void 1728s # org_project_other_signaling_iface_emit_simple_signal ( 1728s # OrgProjectOtherSignalingIface *object) 1728s # { 1728s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1728s # } 1728s # 1728s # /* ------------------------------------------------------------------------ */ 1728s # 1728s # /** 1728s # * OrgProjectOtherSignalingIfaceProxy: 1728s # * 1728s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1728s # */ 1728s # 1728s # /** 1728s # * OrgProjectOtherSignalingIfaceProxyClass: 1728s # * @parent_class: The parent class. 1728s # * 1728s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1728s # */ 1728s # 1728s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1728s # { 1728s # GData *qdata; 1728s # }; 1728s # 1728s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1728s # 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1728s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1728s # 1728s # #else 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1728s # 1728s # #endif 1728s # static void 1728s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1728s # { 1728s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1728s # g_datalist_clear (&proxy->priv->qdata); 1728s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1728s # guint prop_id G_GNUC_UNUSED, 1728s # GValue *value G_GNUC_UNUSED, 1728s # GParamSpec *pspec G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1728s # guint prop_id G_GNUC_UNUSED, 1728s # const GValue *value G_GNUC_UNUSED, 1728s # GParamSpec *pspec G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1728s # const gchar *sender_name G_GNUC_UNUSED, 1728s # const gchar *signal_name, 1728s # GVariant *parameters) 1728s # { 1728s # _ExtendedGDBusSignalInfo *info; 1728s # GVariantIter iter; 1728s # GVariant *child; 1728s # GValue *paramv; 1728s # gsize num_params; 1728s # gsize n; 1728s # guint signal_id; 1728s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1728s # if (info == NULL) 1728s # return; 1728s # num_params = g_variant_n_children (parameters); 1728s # paramv = g_new0 (GValue, num_params + 1); 1728s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1728s # g_value_set_object (¶mv[0], proxy); 1728s # g_variant_iter_init (&iter, parameters); 1728s # n = 1; 1728s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1728s # { 1728s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1728s # if (arg_info->use_gvariant) 1728s # { 1728s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1728s # g_value_set_variant (¶mv[n], child); 1728s # n++; 1728s # } 1728s # else 1728s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1728s # g_variant_unref (child); 1728s # } 1728s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1728s # g_signal_emitv (paramv, signal_id, 0, NULL); 1728s # for (n = 0; n < num_params + 1; n++) 1728s # g_value_unset (¶mv[n]); 1728s # g_free (paramv); 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1728s # GVariant *changed_properties, 1728s # const gchar *const *invalidated_properties) 1728s # { 1728s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1728s # guint n; 1728s # const gchar *key; 1728s # GVariantIter *iter; 1728s # _ExtendedGDBusPropertyInfo *info; 1728s # g_variant_get (changed_properties, "a{sv}", &iter); 1728s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1728s # { 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1728s # g_datalist_remove_data (&proxy->priv->qdata, key); 1728s # if (info != NULL) 1728s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1728s # } 1728s # g_variant_iter_free (iter); 1728s # for (n = 0; invalidated_properties[n] != NULL; n++) 1728s # { 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1728s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1728s # if (info != NULL) 1728s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1728s # } 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1728s # { 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1728s # #else 1728s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1728s # #endif 1728s # 1728s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1728s # { 1728s # GObjectClass *gobject_class; 1728s # GDBusProxyClass *proxy_class; 1728s # 1728s # gobject_class = G_OBJECT_CLASS (klass); 1728s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1728s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1728s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1728s # 1728s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1728s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1728s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1728s # 1728s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1728s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1728s # #endif 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_proxy_new: 1728s # * @connection: A #GDBusConnection. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1728s # * @user_data: User data to pass to @callback. 1728s # * 1728s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1728s # * 1728s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1728s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1728s # * 1728s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1728s # */ 1728s # void 1728s # org_project_other_signaling_iface_proxy_new ( 1728s # GDBusConnection *connection, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GAsyncReadyCallback callback, 1728s # gpointer user_data) 1728s # { 1728s # 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); 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_proxy_new_finish: 1728s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectOtherSignalingIface * 1728s # org_project_other_signaling_iface_proxy_new_finish ( 1728s # GAsyncResult *res, 1728s # GError **error) 1728s # { 1728s # GObject *ret; 1728s # GObject *source_object; 1728s # source_object = g_async_result_get_source_object (res); 1728s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1728s # g_object_unref (source_object); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_proxy_new_sync: 1728s # * @connection: A #GDBusConnection. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1728s # * 1728s # * The calling thread is blocked until a reply is received. 1728s # * 1728s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectOtherSignalingIface * 1728s # org_project_other_signaling_iface_proxy_new_sync ( 1728s # GDBusConnection *connection, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GError **error) 1728s # { 1728s # GInitable *ret; 1728s # 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); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_proxy_new_for_bus: 1728s # * @bus_type: A #GBusType. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: A bus name (well-known or unique). 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1728s # * @user_data: User data to pass to @callback. 1728s # * 1728s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1728s # * 1728s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1728s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1728s # * 1728s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1728s # */ 1728s # void 1728s # org_project_other_signaling_iface_proxy_new_for_bus ( 1728s # GBusType bus_type, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GAsyncReadyCallback callback, 1728s # gpointer user_data) 1728s # { 1728s # 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); 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1728s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectOtherSignalingIface * 1728s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1728s # GAsyncResult *res, 1728s # GError **error) 1728s # { 1728s # GObject *ret; 1728s # GObject *source_object; 1728s # source_object = g_async_result_get_source_object (res); 1728s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1728s # g_object_unref (source_object); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1728s # * @bus_type: A #GBusType. 1728s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1728s # * @name: A bus name (well-known or unique). 1728s # * @object_path: An object path. 1728s # * @cancellable: (nullable): A #GCancellable or %NULL. 1728s # * @error: Return location for error or %NULL 1728s # * 1728s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1728s # * 1728s # * The calling thread is blocked until a reply is received. 1728s # * 1728s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1728s # */ 1728s # OrgProjectOtherSignalingIface * 1728s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1728s # GBusType bus_type, 1728s # GDBusProxyFlags flags, 1728s # const gchar *name, 1728s # const gchar *object_path, 1728s # GCancellable *cancellable, 1728s # GError **error) 1728s # { 1728s # GInitable *ret; 1728s # 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); 1728s # if (ret != NULL) 1728s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1728s # else 1728s # return NULL; 1728s # } 1728s # 1728s # 1728s # /* ------------------------------------------------------------------------ */ 1728s # 1728s # /** 1728s # * OrgProjectOtherSignalingIfaceSkeleton: 1728s # * 1728s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1728s # */ 1728s # 1728s # /** 1728s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1728s # * @parent_class: The parent class. 1728s # * 1728s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1728s # */ 1728s # 1728s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1728s # { 1728s # GValue *properties; 1728s # GList *changed_properties; 1728s # GSource *changed_properties_idle_source; 1728s # GMainContext *context; 1728s # GMutex lock; 1728s # }; 1728s # 1728s # static void 1728s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1728s # GDBusConnection *connection G_GNUC_UNUSED, 1728s # const gchar *sender G_GNUC_UNUSED, 1728s # const gchar *object_path G_GNUC_UNUSED, 1728s # const gchar *interface_name, 1728s # const gchar *method_name, 1728s # GVariant *parameters, 1728s # GDBusMethodInvocation *invocation, 1728s # gpointer user_data) 1728s # { 1728s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1728s # _ExtendedGDBusMethodInfo *info; 1728s # GVariantIter iter; 1728s # GVariant *child; 1728s # GValue *paramv; 1728s # gsize num_params; 1728s # guint num_extra; 1728s # gsize n; 1728s # guint signal_id; 1728s # GValue return_value = G_VALUE_INIT; 1728s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1728s # g_assert (info != NULL); 1728s # num_params = g_variant_n_children (parameters); 1728s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1728s # n = 0; 1728s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1728s # g_value_set_object (¶mv[n++], skeleton); 1728s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1728s # g_value_set_object (¶mv[n++], invocation); 1728s # if (info->pass_fdlist) 1728s # { 1728s # #ifdef G_OS_UNIX 1728s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1728s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1728s # #else 1728s # g_assert_not_reached (); 1728s # #endif 1728s # } 1728s # g_variant_iter_init (&iter, parameters); 1728s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1728s # { 1728s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1728s # if (arg_info->use_gvariant) 1728s # { 1728s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1728s # g_value_set_variant (¶mv[n], child); 1728s # n++; 1728s # } 1728s # else 1728s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1728s # g_variant_unref (child); 1728s # } 1728s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1728s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1728s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1728s # if (!g_value_get_boolean (&return_value)) 1728s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1728s # g_value_unset (&return_value); 1728s # for (n = 0; n < num_params + num_extra; n++) 1728s # g_value_unset (¶mv[n]); 1728s # g_free (paramv); 1728s # } 1728s # 1728s # static GVariant * 1728s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1728s # GDBusConnection *connection G_GNUC_UNUSED, 1728s # const gchar *sender G_GNUC_UNUSED, 1728s # const gchar *object_path G_GNUC_UNUSED, 1728s # const gchar *interface_name G_GNUC_UNUSED, 1728s # const gchar *property_name, 1728s # GError **error, 1728s # gpointer user_data) 1728s # { 1728s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1728s # GValue value = G_VALUE_INIT; 1728s # GParamSpec *pspec; 1728s # _ExtendedGDBusPropertyInfo *info; 1728s # GVariant *ret; 1728s # ret = NULL; 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1728s # g_assert (info != NULL); 1728s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1728s # if (pspec == NULL) 1728s # { 1728s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1728s # } 1728s # else 1728s # { 1728s # g_value_init (&value, pspec->value_type); 1728s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1728s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1728s # g_value_unset (&value); 1728s # } 1728s # return ret; 1728s # } 1728s # 1728s # static gboolean 1728s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1728s # GDBusConnection *connection G_GNUC_UNUSED, 1728s # const gchar *sender G_GNUC_UNUSED, 1728s # const gchar *object_path G_GNUC_UNUSED, 1728s # const gchar *interface_name G_GNUC_UNUSED, 1728s # const gchar *property_name, 1728s # GVariant *variant, 1728s # GError **error, 1728s # gpointer user_data) 1728s # { 1728s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1728s # GValue value = G_VALUE_INIT; 1728s # GParamSpec *pspec; 1728s # _ExtendedGDBusPropertyInfo *info; 1728s # gboolean ret; 1728s # ret = FALSE; 1728s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1728s # g_assert (info != NULL); 1728s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1728s # if (pspec == NULL) 1728s # { 1728s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1728s # } 1728s # else 1728s # { 1728s # if (info->use_gvariant) 1728s # g_value_set_variant (&value, variant); 1728s # else 1728s # g_dbus_gvariant_to_gvalue (variant, &value); 1728s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1728s # g_value_unset (&value); 1728s # ret = TRUE; 1728s # } 1728s # return ret; 1728s # } 1728s # 1728s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1728s # { 1728s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1728s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1728s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1728s # {NULL} 1728s # }; 1728s # 1728s # static GDBusInterfaceInfo * 1728s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1728s # { 1728s # return org_project_other_signaling_iface_interface_info (); 1728s # } 1728s # 1728s # static GDBusInterfaceVTable * 1728s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1728s # { 1728s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1728s # } 1728s # 1728s # static GVariant * 1728s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1728s # { 1728s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1728s # 1728s # GVariantBuilder builder; 1728s # guint n; 1728s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1728s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1728s # goto out; 1728s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1728s # { 1728s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1728s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1728s # { 1728s # GVariant *value; 1728s # 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); 1728s # if (value != NULL) 1728s # { 1728s # g_variant_take_ref (value); 1728s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1728s # g_variant_unref (value); 1728s # } 1728s # } 1728s # } 1728s # out: 1728s # return g_variant_builder_end (&builder); 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1728s # { 1728s # } 1728s # 1728s # static void 1728s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1728s # OrgProjectOtherSignalingIface *object) 1728s # { 1728s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1728s # 1728s # GList *connections, *l; 1728s # GVariant *signal_variant; 1728s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1728s # 1728s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1728s # for (l = connections; l != NULL; l = l->next) 1728s # { 1728s # GDBusConnection *connection = l->data; 1728s # g_dbus_connection_emit_signal (connection, 1728s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1728s # signal_variant, NULL); 1728s # } 1728s # g_variant_unref (signal_variant); 1728s # g_list_free_full (connections, g_object_unref); 1728s # } 1728s # 1728s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1728s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1728s # 1728s # #else 1728s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1728s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1728s # 1728s # #endif 1728s # static void 1728s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1728s # { 1728s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1728s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1728s # if (skeleton->priv->changed_properties_idle_source != NULL) 1728s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1728s # g_main_context_unref (skeleton->priv->context); 1728s # g_mutex_clear (&skeleton->priv->lock); 1728s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1728s # { 1728s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1728s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1728s # #else 1728s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1728s # #endif 1728s # 1728s # g_mutex_init (&skeleton->priv->lock); 1728s # skeleton->priv->context = g_main_context_ref_thread_default (); 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1728s # { 1728s # GObjectClass *gobject_class; 1728s # GDBusInterfaceSkeletonClass *skeleton_class; 1728s # 1728s # gobject_class = G_OBJECT_CLASS (klass); 1728s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1728s # 1728s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1728s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1728s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1728s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1728s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1728s # 1728s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1728s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1728s # #endif 1728s # } 1728s # 1728s # static void 1728s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1728s # { 1728s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1728s # } 1728s # 1728s # /** 1728s # * org_project_other_signaling_iface_skeleton_new: 1728s # * 1728s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1728s # * 1728s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1728s # */ 1728s # OrgProjectOtherSignalingIface * 1728s # org_project_other_signaling_iface_skeleton_new (void) 1728s # { 1728s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1728s # } 1729s # Executing: glib/codegen.py.test 1732s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1732s # tmpdir: /tmp/tmp4qq8tqmk 1732s # codegen: /usr/bin/gdbus-codegen 1732s # /tmp/tmp4qq8tqmk/tmp6i0kz0cn.xml: 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp6i0kz0cn.xml', '--output', '-', '--body'] 1732s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1732s # Output: /* 1732s # * This file is generated by gdbus-codegen, do not modify it. 1732s # * 1732s # * The license of this code is the same as for the D-Bus interface description 1732s # * it was derived from. Note that it links to GLib, so must comply with the 1732s # * LGPL linking clauses. 1732s # */ 1732s # 1732s # #ifdef HAVE_CONFIG_H 1732s # # include "config.h" 1732s # #endif 1732s # 1732s # #include 1732s # #ifdef G_OS_UNIX 1732s # # include 1732s # #endif 1732s # 1732s # #ifdef G_ENABLE_DEBUG 1732s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1732s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1732s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1732s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1732s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1732s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1732s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1732s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1732s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1732s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1732s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1732s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1732s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1732s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1732s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1732s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1732s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1732s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1732s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1732s # #else /* !G_ENABLE_DEBUG */ 1732s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1732s # * Do not access GValues directly in your code. Instead, use the 1732s # * g_value_get_*() functions 1732s # */ 1732s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1732s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1732s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1732s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1732s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1732s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1732s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1732s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1732s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1732s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1732s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1732s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1732s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1732s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1732s # #endif /* !G_ENABLE_DEBUG */ 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusArgInfo parent_struct; 1732s # gboolean use_gvariant; 1732s # } _ExtendedGDBusArgInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusMethodInfo parent_struct; 1732s # const gchar *signal_name; 1732s # gboolean pass_fdlist; 1732s # } _ExtendedGDBusMethodInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusSignalInfo parent_struct; 1732s # const gchar *signal_name; 1732s # } _ExtendedGDBusSignalInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusPropertyInfo parent_struct; 1732s # const gchar *hyphen_name; 1732s # guint use_gvariant : 1; 1732s # guint emits_changed_signal : 1; 1732s # } _ExtendedGDBusPropertyInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusInterfaceInfo parent_struct; 1732s # const gchar *hyphen_name; 1732s # } _ExtendedGDBusInterfaceInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # const _ExtendedGDBusPropertyInfo *info; 1732s # guint prop_id; 1732s # GValue orig_value; /* the value before the change */ 1732s # } ChangedProperty; 1732s # 1732s # static void 1732s # _changed_property_free (ChangedProperty *data) 1732s # { 1732s # g_value_unset (&data->orig_value); 1732s # g_free (data); 1732s # } 1732s # 1732s # static gboolean 1732s # _g_strv_equal0 (gchar **a, gchar **b) 1732s # { 1732s # gboolean ret = FALSE; 1732s # guint n; 1732s # if (a == NULL && b == NULL) 1732s # { 1732s # ret = TRUE; 1732s # goto out; 1732s # } 1732s # if (a == NULL || b == NULL) 1732s # goto out; 1732s # if (g_strv_length (a) != g_strv_length (b)) 1732s # goto out; 1732s # for (n = 0; a[n] != NULL; n++) 1732s # if (g_strcmp0 (a[n], b[n]) != 0) 1732s # goto out; 1732s # ret = TRUE; 1732s # out: 1732s # return ret; 1732s # } 1732s # 1732s # static gboolean 1732s # _g_variant_equal0 (GVariant *a, GVariant *b) 1732s # { 1732s # gboolean ret = FALSE; 1732s # if (a == NULL && b == NULL) 1732s # { 1732s # ret = TRUE; 1732s # goto out; 1732s # } 1732s # if (a == NULL || b == NULL) 1732s # goto out; 1732s # ret = g_variant_equal (a, b); 1732s # out: 1732s # return ret; 1732s # } 1732s # 1732s # G_GNUC_UNUSED static gboolean 1732s # _g_value_equal (const GValue *a, const GValue *b) 1732s # { 1732s # gboolean ret = FALSE; 1732s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1732s # switch (G_VALUE_TYPE (a)) 1732s # { 1732s # case G_TYPE_BOOLEAN: 1732s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1732s # break; 1732s # case G_TYPE_UCHAR: 1732s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1732s # break; 1732s # case G_TYPE_INT: 1732s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1732s # break; 1732s # case G_TYPE_UINT: 1732s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1732s # break; 1732s # case G_TYPE_INT64: 1732s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1732s # break; 1732s # case G_TYPE_UINT64: 1732s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1732s # break; 1732s # case G_TYPE_DOUBLE: 1732s # { 1732s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1732s # gdouble da = g_value_get_double (a); 1732s # gdouble db = g_value_get_double (b); 1732s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1732s # } 1732s # break; 1732s # case G_TYPE_STRING: 1732s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1732s # break; 1732s # case G_TYPE_VARIANT: 1732s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1732s # break; 1732s # default: 1732s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1732s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1732s # else 1732s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1732s # break; 1732s # } 1732s # return ret; 1732s # } 1732s # 1732s # /* ------------------------------------------------------------------------ 1732s # * Code for interface org.project.SignalingIface 1732s # * ------------------------------------------------------------------------ 1732s # */ 1732s # 1732s # /** 1732s # * SECTION:OrgProjectSignalingIface 1732s # * @title: OrgProjectSignalingIface 1732s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1732s # * 1732s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1732s # */ 1732s # 1732s # enum 1732s # { 1732s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1732s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1732s # }; 1732s # 1732s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1732s # 1732s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1732s # 1732s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "SimpleSignal", 1732s # NULL, 1732s # NULL 1732s # }, 1732s # "simple-signal" 1732s # }; 1732s # 1732s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "arg_b", 1732s # (gchar *) "b", 1732s # NULL 1732s # }, 1732s # FALSE 1732s # }; 1732s # 1732s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1732s # { 1732s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1732s # NULL 1732s # }; 1732s # 1732s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "SingleArgSignalB", 1732s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1732s # NULL 1732s # }, 1732s # "single-arg-signal-b" 1732s # }; 1732s # 1732s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1732s # { 1732s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1732s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1732s # NULL 1732s # }; 1732s # 1732s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "org.project.SignalingIface", 1732s # NULL, 1732s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1732s # NULL, 1732s # NULL 1732s # }, 1732s # "org-project-signaling-iface", 1732s # }; 1732s # 1732s # 1732s # /** 1732s # * org_project_signaling_iface_interface_info: 1732s # * 1732s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1732s # * 1732s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1732s # */ 1732s # GDBusInterfaceInfo * 1732s # org_project_signaling_iface_interface_info (void) 1732s # { 1732s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_override_properties: 1732s # * @klass: The class structure for a #GObject derived class. 1732s # * @property_id_begin: The property id to assign to the first overridden property. 1732s # * 1732s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1732s # * The properties are overridden in the order they are defined. 1732s # * 1732s # * Returns: The last property id. 1732s # */ 1732s # guint 1732s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1732s # { 1732s # return property_id_begin - 1; 1732s # } 1732s # 1732s # 1732s # inline static void 1732s # org_project_signaling_iface_signal_marshal_simple_signal ( 1732s # GClosure *closure, 1732s # GValue *return_value, 1732s # unsigned int n_param_values, 1732s # const GValue *param_values, 1732s # void *invocation_hint, 1732s # void *marshal_data) 1732s # { 1732s # g_cclosure_marshal_VOID__VOID (closure, 1732s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1732s # } 1732s # 1732s # inline static void 1732s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1732s # GClosure *closure, 1732s # GValue *return_value, 1732s # unsigned int n_param_values, 1732s # const GValue *param_values, 1732s # void *invocation_hint, 1732s # void *marshal_data) 1732s # { 1732s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1732s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1732s # } 1732s # 1732s # 1732s # /** 1732s # * OrgProjectSignalingIface: 1732s # * 1732s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1732s # */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceIface: 1732s # * @parent_iface: The parent interface. 1732s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1732s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1732s # * 1732s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1732s # */ 1732s # 1732s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1732s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1732s # 1732s # static void 1732s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1732s # { 1732s # /* GObject signals for received D-Bus signals: */ 1732s # /** 1732s # * OrgProjectSignalingIface::simple-signal: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * 1732s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1732s # * 1732s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1732s # */ 1732s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1732s # g_signal_new ("simple-signal", 1732s # G_TYPE_FROM_INTERFACE (iface), 1732s # G_SIGNAL_RUN_LAST, 1732s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1732s # NULL, 1732s # NULL, 1732s # org_project_signaling_iface_signal_marshal_simple_signal, 1732s # G_TYPE_NONE, 1732s # 0); 1732s # 1732s # /** 1732s # * OrgProjectSignalingIface::single-arg-signal-b: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * @arg_arg_b: Argument. 1732s # * 1732s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1732s # * 1732s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1732s # */ 1732s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1732s # g_signal_new ("single-arg-signal-b", 1732s # G_TYPE_FROM_INTERFACE (iface), 1732s # G_SIGNAL_RUN_LAST, 1732s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1732s # NULL, 1732s # NULL, 1732s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1732s # G_TYPE_NONE, 1732s # 1, G_TYPE_BOOLEAN); 1732s # 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_emit_simple_signal: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * 1732s # * Emits the "SimpleSignal" D-Bus signal. 1732s # */ 1732s # void 1732s # org_project_signaling_iface_emit_simple_signal ( 1732s # OrgProjectSignalingIface *object) 1732s # { 1732s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_emit_single_arg_signal_b: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * @arg_arg_b: Argument to pass with the signal. 1732s # * 1732s # * Emits the "SingleArgSignalB" D-Bus signal. 1732s # */ 1732s # void 1732s # org_project_signaling_iface_emit_single_arg_signal_b ( 1732s # OrgProjectSignalingIface *object, 1732s # gboolean arg_arg_b) 1732s # { 1732s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1732s # } 1732s # 1732s # /* ------------------------------------------------------------------------ */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceProxy: 1732s # * 1732s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1732s # */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceProxyClass: 1732s # * @parent_class: The parent class. 1732s # * 1732s # * Class structure for #OrgProjectSignalingIfaceProxy. 1732s # */ 1732s # 1732s # struct _OrgProjectSignalingIfaceProxyPrivate 1732s # { 1732s # GData *qdata; 1732s # }; 1732s # 1732s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1732s # 1732s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1732s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1732s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1732s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1732s # 1732s # #else 1732s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1732s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1732s # 1732s # #endif 1732s # static void 1732s # org_project_signaling_iface_proxy_finalize (GObject *object) 1732s # { 1732s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1732s # g_datalist_clear (&proxy->priv->qdata); 1732s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1732s # guint prop_id G_GNUC_UNUSED, 1732s # GValue *value G_GNUC_UNUSED, 1732s # GParamSpec *pspec G_GNUC_UNUSED) 1732s # { 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1732s # guint prop_id G_GNUC_UNUSED, 1732s # const GValue *value G_GNUC_UNUSED, 1732s # GParamSpec *pspec G_GNUC_UNUSED) 1732s # { 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1732s # const gchar *sender_name G_GNUC_UNUSED, 1732s # const gchar *signal_name, 1732s # GVariant *parameters) 1732s # { 1732s # _ExtendedGDBusSignalInfo *info; 1732s # GVariantIter iter; 1732s # GVariant *child; 1732s # GValue *paramv; 1732s # gsize num_params; 1732s # gsize n; 1732s # guint signal_id; 1732s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1732s # if (info == NULL) 1732s # return; 1732s # num_params = g_variant_n_children (parameters); 1732s # paramv = g_new0 (GValue, num_params + 1); 1732s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1732s # g_value_set_object (¶mv[0], proxy); 1732s # g_variant_iter_init (&iter, parameters); 1732s # n = 1; 1732s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1732s # { 1732s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1732s # if (arg_info->use_gvariant) 1732s # { 1732s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1732s # g_value_set_variant (¶mv[n], child); 1732s # n++; 1732s # } 1732s # else 1732s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1732s # g_variant_unref (child); 1732s # } 1732s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1732s # g_signal_emitv (paramv, signal_id, 0, NULL); 1732s # for (n = 0; n < num_params + 1; n++) 1732s # g_value_unset (¶mv[n]); 1732s # g_free (paramv); 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1732s # GVariant *changed_properties, 1732s # const gchar *const *invalidated_properties) 1732s # { 1732s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1732s # guint n; 1732s # const gchar *key; 1732s # GVariantIter *iter; 1732s # _ExtendedGDBusPropertyInfo *info; 1732s # g_variant_get (changed_properties, "a{sv}", &iter); 1732s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1732s # { 1732s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1732s # g_datalist_remove_data (&proxy->priv->qdata, key); 1732s # if (info != NULL) 1732s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1732s # } 1732s # g_variant_iter_free (iter); 1732s # for (n = 0; invalidated_properties[n] != NULL; n++) 1732s # { 1732s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1732s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1732s # if (info != NULL) 1732s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1732s # } 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1732s # { 1732s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1732s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1732s # #else 1732s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1732s # #endif 1732s # 1732s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1732s # { 1732s # GObjectClass *gobject_class; 1732s # GDBusProxyClass *proxy_class; 1732s # 1732s # gobject_class = G_OBJECT_CLASS (klass); 1732s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1732s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1732s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1732s # 1732s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1732s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1732s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1732s # 1732s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1732s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1732s # #endif 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1732s # { 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_proxy_new: 1732s # * @connection: A #GDBusConnection. 1732s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1732s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1732s # * @object_path: An object path. 1732s # * @cancellable: (nullable): A #GCancellable or %NULL. 1732s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1732s # * @user_data: User data to pass to @callback. 1732s # * 1732s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1732s # * 1732s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1732s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1732s # * 1732s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1732s # */ 1732s # void 1732s # org_project_signaling_iface_proxy_new ( 1732s # GDBusConnection *connection, 1732s # GDBusProxyFlags flags, 1732s # const gchar *name, 1732s # const gchar *object_path, 1732s # GCancellable *cancellable, 1732s # GAsyncReadyCallback callback, 1732s # gpointer user_data) 1732s # { 1732s # 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); 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_proxy_new_finish: 1732s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1732s # * @error: Return location for error or %NULL 1732s # * 1732s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1732s # * 1732s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1732s # */ 1732s # OrgProjectSignalingIface * 1732s # org_project_signaling_iface_proxy_new_finish ( 1732s # GAsyncResult *res, 1732s # GError **error) 1732s # { 1732s # GObject *ret; 1732s # GObject *source_object; 1732s # source_object = g_async_result_get_source_object (res); 1732s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1732s # g_object_unref (source_object); 1732s # if (ret != NULL) 1732s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1732s # else 1732s # return NULL; 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_proxy_new_sync: 1732s # * @connection: A #GDBusConnection. 1732s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1732s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1732s # * @object_path: An object path. 1732s # * @cancellable: (nullable): A #GCancellable or %NULL. 1732s # * @error: Return location for error or %NULL 1732s # * 1732s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1732s # * 1732s # * The calling thread is blocked until a reply is received. 1732s # * 1732s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1732s # * 1732s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1732s # */ 1732s # OrgProjectSignalingIface * 1732s # org_project_signaling_iface_proxy_new_sync ( 1732s # GDBusConnection *connection, 1732s # GDBusProxyFlags flags, 1732s # const gchar *name, 1732s # const gchar *object_path, 1732s # GCancellable *cancellable, 1732s # GError **error) 1732s # { 1732s # GInitable *ret; 1732s # 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); 1732s # if (ret != NULL) 1732s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1732s # else 1732s # return NULL; 1732s # } 1732s # 1732s # 1732s # /** 1732s # * org_project_signaling_iface_proxy_new_for_bus: 1732s # * @bus_type: A #GBusType. 1732s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1732s # * @name: A bus name (well-known or unique). 1732s # * @object_path: An object path. 1732s # * @cancellable: (nullable): A #GCancellable or %NULL. 1732s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1732s # * @user_data: User data to pass to @callback. 1732s # * 1732s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1732s # * 1732s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1732s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1732s # * 1732s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1732s # */ 1732s # void 1732s # org_project_signaling_iface_proxy_new_for_bus ( 1732s # GBusType bus_type, 1732s # GDBusProxyFlags flags, 1732s # const gchar *name, 1732s # const gchar *object_path, 1732s # GCancellable *cancellable, 1732s # GAsyncReadyCallback callback, 1732s # gpointer user_data) 1732s # { 1732s # 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); 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1732s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1732s # * @error: Return location for error or %NULL 1732s # * 1732s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1732s # * 1732s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1732s # */ 1732s # OrgProjectSignalingIface * 1732s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1732s # GAsyncResult *res, 1732s # GError **error) 1732s # { 1732s # GObject *ret; 1732s # GObject *source_object; 1732s # source_object = g_async_result_get_source_object (res); 1732s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1732s # g_object_unref (source_object); 1732s # if (ret != NULL) 1732s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1732s # else 1732s # return NULL; 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1732s # * @bus_type: A #GBusType. 1732s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1732s # * @name: A bus name (well-known or unique). 1732s # * @object_path: An object path. 1732s # * @cancellable: (nullable): A #GCancellable or %NULL. 1732s # * @error: Return location for error or %NULL 1732s # * 1732s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1732s # * 1732s # * The calling thread is blocked until a reply is received. 1732s # * 1732s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1732s # * 1732s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1732s # */ 1732s # OrgProjectSignalingIface * 1732s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1732s # GBusType bus_type, 1732s # GDBusProxyFlags flags, 1732s # const gchar *name, 1732s # const gchar *object_path, 1732s # GCancellable *cancellable, 1732s # GError **error) 1732s # { 1732s # GInitable *ret; 1732s # 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); 1732s # if (ret != NULL) 1732s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1732s # else 1732s # return NULL; 1732s # } 1732s # 1732s # 1732s # /* ------------------------------------------------------------------------ */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceSkeleton: 1732s # * 1732s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1732s # */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceSkeletonClass: 1732s # * @parent_class: The parent class. 1732s # * 1732s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1732s # */ 1732s # 1732s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1732s # { 1732s # GValue *properties; 1732s # GList *changed_properties; 1732s # GSource *changed_properties_idle_source; 1732s # GMainContext *context; 1732s # GMutex lock; 1732s # }; 1732s # 1732s # static void 1732s # _org_project_signaling_iface_skeleton_handle_method_call ( 1732s # GDBusConnection *connection G_GNUC_UNUSED, 1732s # const gchar *sender G_GNUC_UNUSED, 1732s # const gchar *object_path G_GNUC_UNUSED, 1732s # const gchar *interface_name, 1732s # const gchar *method_name, 1732s # GVariant *parameters, 1732s # GDBusMethodInvocation *invocation, 1732s # gpointer user_data) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1732s # _ExtendedGDBusMethodInfo *info; 1732s # GVariantIter iter; 1732s # GVariant *child; 1732s # GValue *paramv; 1732s # gsize num_params; 1732s # guint num_extra; 1732s # gsize n; 1732s # guint signal_id; 1732s # GValue return_value = G_VALUE_INIT; 1732s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1732s # g_assert (info != NULL); 1732s # num_params = g_variant_n_children (parameters); 1732s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1732s # n = 0; 1732s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1732s # g_value_set_object (¶mv[n++], skeleton); 1732s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1732s # g_value_set_object (¶mv[n++], invocation); 1732s # if (info->pass_fdlist) 1732s # { 1732s # #ifdef G_OS_UNIX 1732s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1732s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1732s # #else 1732s # g_assert_not_reached (); 1732s # #endif 1732s # } 1732s # g_variant_iter_init (&iter, parameters); 1732s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1732s # { 1732s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1732s # if (arg_info->use_gvariant) 1732s # { 1732s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1732s # g_value_set_variant (¶mv[n], child); 1732s # n++; 1732s # } 1732s # else 1732s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1732s # g_variant_unref (child); 1732s # } 1732s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1732s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1732s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1732s # if (!g_value_get_boolean (&return_value)) 1732s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1732s # g_value_unset (&return_value); 1732s # for (n = 0; n < num_params + num_extra; n++) 1732s # g_value_unset (¶mv[n]); 1732s # g_free (paramv); 1732s # } 1732s # 1732s # static GVariant * 1732s # _org_project_signaling_iface_skeleton_handle_get_property ( 1732s # GDBusConnection *connection G_GNUC_UNUSED, 1732s # const gchar *sender G_GNUC_UNUSED, 1732s # const gchar *object_path G_GNUC_UNUSED, 1732s # const gchar *interface_name G_GNUC_UNUSED, 1732s # const gchar *property_name, 1732s # GError **error, 1732s # gpointer user_data) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1732s # GValue value = G_VALUE_INIT; 1732s # GParamSpec *pspec; 1732s # _ExtendedGDBusPropertyInfo *info; 1732s # GVariant *ret; 1732s # ret = NULL; 1732s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1732s # g_assert (info != NULL); 1732s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1732s # if (pspec == NULL) 1732s # { 1732s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1732s # } 1732s # else 1732s # { 1732s # g_value_init (&value, pspec->value_type); 1732s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1732s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1732s # g_value_unset (&value); 1732s # } 1732s # return ret; 1732s # } 1732s # 1732s # static gboolean 1732s # _org_project_signaling_iface_skeleton_handle_set_property ( 1732s # GDBusConnection *connection G_GNUC_UNUSED, 1732s # const gchar *sender G_GNUC_UNUSED, 1732s # const gchar *object_path G_GNUC_UNUSED, 1732s # const gchar *interface_name G_GNUC_UNUSED, 1732s # const gchar *property_name, 1732s # GVariant *variant, 1732s # GError **error, 1732s # gpointer user_data) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1732s # GValue value = G_VALUE_INIT; 1732s # GParamSpec *pspec; 1732s # _ExtendedGDBusPropertyInfo *info; 1732s # gboolean ret; 1732s # ret = FALSE; 1732s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1732s # g_assert (info != NULL); 1732s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1732s # if (pspec == NULL) 1732s # { 1732s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1732s # } 1732s # else 1732s # { 1732s # if (info->use_gvariant) 1732s # g_value_set_variant (&value, variant); 1732s # else 1732s # g_dbus_gvariant_to_gvalue (variant, &value); 1732s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1732s # g_value_unset (&value); 1732s # ret = TRUE; 1732s # } 1732s # return ret; 1732s # } 1732s # 1732s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1732s # { 1732s # _org_project_signaling_iface_skeleton_handle_method_call, 1732s # _org_project_signaling_iface_skeleton_handle_get_property, 1732s # _org_project_signaling_iface_skeleton_handle_set_property, 1732s # {NULL} 1732s # }; 1732s # 1732s # static GDBusInterfaceInfo * 1732s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1732s # { 1732s # return org_project_signaling_iface_interface_info (); 1732s # } 1732s # 1732s # static GDBusInterfaceVTable * 1732s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1732s # { 1732s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1732s # } 1732s # 1732s # static GVariant * 1732s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1732s # 1732s # GVariantBuilder builder; 1732s # guint n; 1732s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1732s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1732s # goto out; 1732s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1732s # { 1732s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1732s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1732s # { 1732s # GVariant *value; 1732s # 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); 1732s # if (value != NULL) 1732s # { 1732s # g_variant_take_ref (value); 1732s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1732s # g_variant_unref (value); 1732s # } 1732s # } 1732s # } 1732s # out: 1732s # return g_variant_builder_end (&builder); 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1732s # { 1732s # } 1732s # 1732s # static void 1732s # _org_project_signaling_iface_on_signal_simple_signal ( 1732s # OrgProjectSignalingIface *object) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1732s # 1732s # GList *connections, *l; 1732s # GVariant *signal_variant; 1732s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1732s # 1732s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1732s # for (l = connections; l != NULL; l = l->next) 1732s # { 1732s # GDBusConnection *connection = l->data; 1732s # g_dbus_connection_emit_signal (connection, 1732s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1732s # signal_variant, NULL); 1732s # } 1732s # g_variant_unref (signal_variant); 1732s # g_list_free_full (connections, g_object_unref); 1732s # } 1732s # 1732s # static void 1732s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1732s # OrgProjectSignalingIface *object, 1732s # gboolean arg_arg_b) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1732s # 1732s # GList *connections, *l; 1732s # GVariant *signal_variant; 1732s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1732s # 1732s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1732s # arg_arg_b)); 1732s # for (l = connections; l != NULL; l = l->next) 1732s # { 1732s # GDBusConnection *connection = l->data; 1732s # g_dbus_connection_emit_signal (connection, 1732s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1732s # signal_variant, NULL); 1732s # } 1732s # g_variant_unref (signal_variant); 1732s # g_list_free_full (connections, g_object_unref); 1732s # } 1732s # 1732s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1732s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1732s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1732s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1732s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1732s # 1732s # #else 1732s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1732s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1732s # 1732s # #endif 1732s # static void 1732s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1732s # { 1732s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1732s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1732s # if (skeleton->priv->changed_properties_idle_source != NULL) 1732s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1732s # g_main_context_unref (skeleton->priv->context); 1732s # g_mutex_clear (&skeleton->priv->lock); 1732s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1732s # { 1732s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1732s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1732s # #else 1732s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1732s # #endif 1732s # 1732s # g_mutex_init (&skeleton->priv->lock); 1732s # skeleton->priv->context = g_main_context_ref_thread_default (); 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1732s # { 1732s # GObjectClass *gobject_class; 1732s # GDBusInterfaceSkeletonClass *skeleton_class; 1732s # 1732s # gobject_class = G_OBJECT_CLASS (klass); 1732s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1732s # 1732s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1732s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1732s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1732s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1732s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1732s # 1732s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1732s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1732s # #endif 1732s # } 1732s # 1732s # static void 1732s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1732s # { 1732s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1732s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_skeleton_new: 1732s # * 1732s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1732s # * 1732s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1732s # */ 1732s # OrgProjectSignalingIface * 1732s # org_project_signaling_iface_skeleton_new (void) 1732s # { 1732s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1732s # } 1732s # /tmp/tmp4qq8tqmk/tmptutcvpou.xml: 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # 1732s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmptutcvpou.xml', '--output', '-', '--body'] 1732s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1732s # Output: /* 1732s # * This file is generated by gdbus-codegen, do not modify it. 1732s # * 1732s # * The license of this code is the same as for the D-Bus interface description 1732s # * it was derived from. Note that it links to GLib, so must comply with the 1732s # * LGPL linking clauses. 1732s # */ 1732s # 1732s # #ifdef HAVE_CONFIG_H 1732s # # include "config.h" 1732s # #endif 1732s # 1732s # #include 1732s # #ifdef G_OS_UNIX 1732s # # include 1732s # #endif 1732s # 1732s # #ifdef G_ENABLE_DEBUG 1732s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1732s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1732s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1732s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1732s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1732s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1732s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1732s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1732s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1732s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1732s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1732s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1732s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1732s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1732s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1732s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1732s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1732s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1732s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1732s # #else /* !G_ENABLE_DEBUG */ 1732s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1732s # * Do not access GValues directly in your code. Instead, use the 1732s # * g_value_get_*() functions 1732s # */ 1732s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1732s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1732s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1732s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1732s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1732s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1732s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1732s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1732s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1732s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1732s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1732s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1732s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1732s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1732s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1732s # #endif /* !G_ENABLE_DEBUG */ 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusArgInfo parent_struct; 1732s # gboolean use_gvariant; 1732s # } _ExtendedGDBusArgInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusMethodInfo parent_struct; 1732s # const gchar *signal_name; 1732s # gboolean pass_fdlist; 1732s # } _ExtendedGDBusMethodInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusSignalInfo parent_struct; 1732s # const gchar *signal_name; 1732s # } _ExtendedGDBusSignalInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusPropertyInfo parent_struct; 1732s # const gchar *hyphen_name; 1732s # guint use_gvariant : 1; 1732s # guint emits_changed_signal : 1; 1732s # } _ExtendedGDBusPropertyInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # GDBusInterfaceInfo parent_struct; 1732s # const gchar *hyphen_name; 1732s # } _ExtendedGDBusInterfaceInfo; 1732s # 1732s # typedef struct 1732s # { 1732s # const _ExtendedGDBusPropertyInfo *info; 1732s # guint prop_id; 1732s # GValue orig_value; /* the value before the change */ 1732s # } ChangedProperty; 1732s # 1732s # static void 1732s # _changed_property_free (ChangedProperty *data) 1732s # { 1732s # g_value_unset (&data->orig_value); 1732s # g_free (data); 1732s # } 1732s # 1732s # static gboolean 1732s # _g_strv_equal0 (gchar **a, gchar **b) 1732s # { 1732s # gboolean ret = FALSE; 1732s # guint n; 1732s # if (a == NULL && b == NULL) 1732s # { 1732s # ret = TRUE; 1732s # goto out; 1732s # } 1732s # if (a == NULL || b == NULL) 1732s # goto out; 1732s # if (g_strv_length (a) != g_strv_length (b)) 1732s # goto out; 1732s # for (n = 0; a[n] != NULL; n++) 1732s # if (g_strcmp0 (a[n], b[n]) != 0) 1732s # goto out; 1732s # ret = TRUE; 1732s # out: 1732s # return ret; 1732s # } 1732s # 1732s # static gboolean 1732s # _g_variant_equal0 (GVariant *a, GVariant *b) 1732s # { 1732s # gboolean ret = FALSE; 1732s # if (a == NULL && b == NULL) 1732s # { 1732s # ret = TRUE; 1732s # goto out; 1732s # } 1732s # if (a == NULL || b == NULL) 1732s # goto out; 1732s # ret = g_variant_equal (a, b); 1732s # out: 1732s # return ret; 1732s # } 1732s # 1732s # G_GNUC_UNUSED static gboolean 1732s # _g_value_equal (const GValue *a, const GValue *b) 1732s # { 1732s # gboolean ret = FALSE; 1732s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1732s # switch (G_VALUE_TYPE (a)) 1732s # { 1732s # case G_TYPE_BOOLEAN: 1732s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1732s # break; 1732s # case G_TYPE_UCHAR: 1732s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1732s # break; 1732s # case G_TYPE_INT: 1732s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1732s # break; 1732s # case G_TYPE_UINT: 1732s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1732s # break; 1732s # case G_TYPE_INT64: 1732s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1732s # break; 1732s # case G_TYPE_UINT64: 1732s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1732s # break; 1732s # case G_TYPE_DOUBLE: 1732s # { 1732s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1732s # gdouble da = g_value_get_double (a); 1732s # gdouble db = g_value_get_double (b); 1732s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1732s # } 1732s # break; 1732s # case G_TYPE_STRING: 1732s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1732s # break; 1732s # case G_TYPE_VARIANT: 1732s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1732s # break; 1732s # default: 1732s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1732s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1732s # else 1732s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1732s # break; 1732s # } 1732s # return ret; 1732s # } 1732s # 1732s # /* ------------------------------------------------------------------------ 1732s # * Code for interface org.project.SignalingIface 1732s # * ------------------------------------------------------------------------ 1732s # */ 1732s # 1732s # /** 1732s # * SECTION:OrgProjectSignalingIface 1732s # * @title: OrgProjectSignalingIface 1732s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1732s # * 1732s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1732s # */ 1732s # 1732s # enum 1732s # { 1732s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1732s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1732s # }; 1732s # 1732s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1732s # 1732s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1732s # 1732s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "SimpleSignal", 1732s # NULL, 1732s # NULL 1732s # }, 1732s # "simple-signal" 1732s # }; 1732s # 1732s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "arg_y", 1732s # (gchar *) "y", 1732s # NULL 1732s # }, 1732s # FALSE 1732s # }; 1732s # 1732s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1732s # { 1732s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1732s # NULL 1732s # }; 1732s # 1732s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "SingleArgSignalY", 1732s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1732s # NULL 1732s # }, 1732s # "single-arg-signal-y" 1732s # }; 1732s # 1732s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1732s # { 1732s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1732s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1732s # NULL 1732s # }; 1732s # 1732s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1732s # { 1732s # { 1732s # -1, 1732s # (gchar *) "org.project.SignalingIface", 1732s # NULL, 1732s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1732s # NULL, 1732s # NULL 1732s # }, 1732s # "org-project-signaling-iface", 1732s # }; 1732s # 1732s # 1732s # /** 1732s # * org_project_signaling_iface_interface_info: 1732s # * 1732s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1732s # * 1732s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1732s # */ 1732s # GDBusInterfaceInfo * 1732s # org_project_signaling_iface_interface_info (void) 1732s # { 1732s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_override_properties: 1732s # * @klass: The class structure for a #GObject derived class. 1732s # * @property_id_begin: The property id to assign to the first overridden property. 1732s # * 1732s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1732s # * The properties are overridden in the order they are defined. 1732s # * 1732s # * Returns: The last property id. 1732s # */ 1732s # guint 1732s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1732s # { 1732s # return property_id_begin - 1; 1732s # } 1732s # 1732s # 1732s # inline static void 1732s # org_project_signaling_iface_signal_marshal_simple_signal ( 1732s # GClosure *closure, 1732s # GValue *return_value, 1732s # unsigned int n_param_values, 1732s # const GValue *param_values, 1732s # void *invocation_hint, 1732s # void *marshal_data) 1732s # { 1732s # g_cclosure_marshal_VOID__VOID (closure, 1732s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1732s # } 1732s # 1732s # inline static void 1732s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1732s # GClosure *closure, 1732s # GValue *return_value, 1732s # unsigned int n_param_values, 1732s # const GValue *param_values, 1732s # void *invocation_hint, 1732s # void *marshal_data) 1732s # { 1732s # g_cclosure_marshal_VOID__UCHAR (closure, 1732s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1732s # } 1732s # 1732s # 1732s # /** 1732s # * OrgProjectSignalingIface: 1732s # * 1732s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1732s # */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceIface: 1732s # * @parent_iface: The parent interface. 1732s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1732s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1732s # * 1732s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1732s # */ 1732s # 1732s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1732s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1732s # 1732s # static void 1732s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1732s # { 1732s # /* GObject signals for received D-Bus signals: */ 1732s # /** 1732s # * OrgProjectSignalingIface::simple-signal: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * 1732s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1732s # * 1732s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1732s # */ 1732s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1732s # g_signal_new ("simple-signal", 1732s # G_TYPE_FROM_INTERFACE (iface), 1732s # G_SIGNAL_RUN_LAST, 1732s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1732s # NULL, 1732s # NULL, 1732s # org_project_signaling_iface_signal_marshal_simple_signal, 1732s # G_TYPE_NONE, 1732s # 0); 1732s # 1732s # /** 1732s # * OrgProjectSignalingIface::single-arg-signal-y: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * @arg_arg_y: Argument. 1732s # * 1732s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1732s # * 1732s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1732s # */ 1732s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1732s # g_signal_new ("single-arg-signal-y", 1732s # G_TYPE_FROM_INTERFACE (iface), 1732s # G_SIGNAL_RUN_LAST, 1732s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1732s # NULL, 1732s # NULL, 1732s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1732s # G_TYPE_NONE, 1732s # 1, G_TYPE_UCHAR); 1732s # 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_emit_simple_signal: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * 1732s # * Emits the "SimpleSignal" D-Bus signal. 1732s # */ 1732s # void 1732s # org_project_signaling_iface_emit_simple_signal ( 1732s # OrgProjectSignalingIface *object) 1732s # { 1732s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1732s # } 1732s # 1732s # /** 1732s # * org_project_signaling_iface_emit_single_arg_signal_y: 1732s # * @object: A #OrgProjectSignalingIface. 1732s # * @arg_arg_y: Argument to pass with the signal. 1732s # * 1732s # * Emits the "SingleArgSignalY" D-Bus signal. 1732s # */ 1732s # void 1732s # org_project_signaling_iface_emit_single_arg_signal_y ( 1732s # OrgProjectSignalingIface *object, 1732s # guchar arg_arg_y) 1732s # { 1732s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1732s # } 1732s # 1732s # /* ------------------------------------------------------------------------ */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceProxy: 1732s # * 1732s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1732s # */ 1732s # 1732s # /** 1732s # * OrgProjectSignalingIfaceProxyClass: 1732s # * @parent_class: The parent class. 1732s # * 1732s # * Class structure for #OrgProjectSignalingIfaceProxy. 1732s # */ 1732s # 1732s # struct _OrgProjectSignalingIfaceProxyPrivate 1732s # { 1732s # GData *qdata; 1732s # }; 1732s # 1732s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1732s # 1732s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1732s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1732s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1733s # OrgProjectSignalingIface *object, 1733s # guchar arg_arg_y) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1733s # arg_arg_y)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpbfwil080.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpbfwil080.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_n", 1733s # (gchar *) "n", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalN", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-n" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__INT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-n: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_n: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1733s # g_signal_new ("single-arg-signal-n", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_INT); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_n: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_n: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalN" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_n ( 1733s # OrgProjectSignalingIface *object, 1733s # gint16 arg_arg_n) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1733s # OrgProjectSignalingIface *object, 1733s # gint16 arg_arg_n) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1733s # arg_arg_n)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmp9ch4p_5a.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp9ch4p_5a.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_q", 1733s # (gchar *) "q", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalQ", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-q" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__UINT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-q: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_q: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1733s # g_signal_new ("single-arg-signal-q", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_UINT); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_q: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_q: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalQ" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_q ( 1733s # OrgProjectSignalingIface *object, 1733s # guint16 arg_arg_q) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1733s # OrgProjectSignalingIface *object, 1733s # guint16 arg_arg_q) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1733s # arg_arg_q)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpp_hevshq.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpp_hevshq.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_i", 1733s # (gchar *) "i", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalI", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-i" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__INT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-i: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_i: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1733s # g_signal_new ("single-arg-signal-i", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_INT); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_i: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_i: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalI" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_i ( 1733s # OrgProjectSignalingIface *object, 1733s # gint arg_arg_i) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1733s # OrgProjectSignalingIface *object, 1733s # gint arg_arg_i) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1733s # arg_arg_i)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpwz_tqxp9.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpwz_tqxp9.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_u", 1733s # (gchar *) "u", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalU", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-u" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__UINT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-u: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_u: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1733s # g_signal_new ("single-arg-signal-u", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_UINT); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_u: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_u: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalU" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_u ( 1733s # OrgProjectSignalingIface *object, 1733s # guint arg_arg_u) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1733s # OrgProjectSignalingIface *object, 1733s # guint arg_arg_u) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1733s # arg_arg_u)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpgualais7.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpgualais7.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static void 1733s # _g_dbus_codegen_marshal_VOID__INT64 ( 1733s # GClosure *closure, 1733s # GValue *return_value G_GNUC_UNUSED, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint G_GNUC_UNUSED, 1733s # void *marshal_data) 1733s # { 1733s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1733s # (void *data1, 1733s # gint64 arg_arg_x, 1733s # void *data2); 1733s # _GDbusCodegenMarshalVoid_Int64Func callback; 1733s # GCClosure *cc = (GCClosure*) closure; 1733s # void *data1, *data2; 1733s # 1733s # g_return_if_fail (n_param_values == 2); 1733s # 1733s # if (G_CCLOSURE_SWAP_DATA (closure)) 1733s # { 1733s # data1 = closure->data; 1733s # data2 = g_value_peek_pointer (param_values + 0); 1733s # } 1733s # else 1733s # { 1733s # data1 = g_value_peek_pointer (param_values + 0); 1733s # data2 = closure->data; 1733s # } 1733s # 1733s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1733s # (marshal_data ? marshal_data : cc->callback); 1733s # 1733s # callback (data1, 1733s # g_marshal_value_peek_int64 (param_values + 1), 1733s # data2); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_x", 1733s # (gchar *) "x", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalX", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-x" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-x: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_x: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1733s # g_signal_new ("single-arg-signal-x", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_INT64); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_x: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_x: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalX" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_x ( 1733s # OrgProjectSignalingIface *object, 1733s # gint64 arg_arg_x) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1733s # OrgProjectSignalingIface *object, 1733s # gint64 arg_arg_x) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1733s # arg_arg_x)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpiel8ll5x.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpiel8ll5x.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static void 1733s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1733s # GClosure *closure, 1733s # GValue *return_value G_GNUC_UNUSED, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint G_GNUC_UNUSED, 1733s # void *marshal_data) 1733s # { 1733s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1733s # (void *data1, 1733s # guint64 arg_arg_t, 1733s # void *data2); 1733s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1733s # GCClosure *cc = (GCClosure*) closure; 1733s # void *data1, *data2; 1733s # 1733s # g_return_if_fail (n_param_values == 2); 1733s # 1733s # if (G_CCLOSURE_SWAP_DATA (closure)) 1733s # { 1733s # data1 = closure->data; 1733s # data2 = g_value_peek_pointer (param_values + 0); 1733s # } 1733s # else 1733s # { 1733s # data1 = g_value_peek_pointer (param_values + 0); 1733s # data2 = closure->data; 1733s # } 1733s # 1733s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1733s # (marshal_data ? marshal_data : cc->callback); 1733s # 1733s # callback (data1, 1733s # g_marshal_value_peek_uint64 (param_values + 1), 1733s # data2); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_t", 1733s # (gchar *) "t", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalT", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-t" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-t: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_t: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1733s # g_signal_new ("single-arg-signal-t", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_UINT64); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_t: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_t: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalT" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_t ( 1733s # OrgProjectSignalingIface *object, 1733s # guint64 arg_arg_t) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1733s # OrgProjectSignalingIface *object, 1733s # guint64 arg_arg_t) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1733s # arg_arg_t)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpk852gocf.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpk852gocf.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_d", 1733s # (gchar *) "d", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalD", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-d" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__DOUBLE (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-d: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_d: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1733s # g_signal_new ("single-arg-signal-d", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_DOUBLE); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_d: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_d: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalD" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_d ( 1733s # OrgProjectSignalingIface *object, 1733s # gdouble arg_arg_d) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1733s # OrgProjectSignalingIface *object, 1733s # gdouble arg_arg_d) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1733s # arg_arg_d)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmp968qlxgb.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp968qlxgb.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_s", 1733s # (gchar *) "s", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalS", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-s" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__STRING (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-s: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_s: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1733s # g_signal_new ("single-arg-signal-s", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRING); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_s: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_s: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalS" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_s ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_s) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_s) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1733s # arg_arg_s)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmp48a91n_e.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp48a91n_e.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_o", 1733s # (gchar *) "o", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalO", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-o" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__STRING (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-o: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_o: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1733s # g_signal_new ("single-arg-signal-o", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRING); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_o: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_o: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalO" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_o ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_o) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_o) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1733s # arg_arg_o)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmp73g3m5p5.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp73g3m5p5.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_g", 1733s # (gchar *) "g", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalG", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-g" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__STRING (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-g: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_g: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1733s # g_signal_new ("single-arg-signal-g", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRING); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_g: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_g: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalG" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_g ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_g) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_g) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1733s # arg_arg_g)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpy6cr_iuh.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpy6cr_iuh.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_h", 1733s # (gchar *) "h", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalH", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-h" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VARIANT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-h: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_h: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1733s # g_signal_new ("single-arg-signal-h", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_VARIANT); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_h: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_h: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalH" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_h ( 1733s # OrgProjectSignalingIface *object, 1733s # GVariant *arg_arg_h) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1733s # OrgProjectSignalingIface *object, 1733s # GVariant *arg_arg_h) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1733s # arg_arg_h)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmp7sovvydy.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp7sovvydy.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_ay", 1733s # (gchar *) "ay", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalAy", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-ay" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__STRING (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-ay: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_ay: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1733s # g_signal_new ("single-arg-signal-ay", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRING); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_ay: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalAy" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_ay) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *arg_arg_ay) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1733s # arg_arg_ay)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmprhjheh44.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmprhjheh44.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_as", 1733s # (gchar *) "as", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalAs", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-as" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__BOXED (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-as: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_as: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1733s # g_signal_new ("single-arg-signal-as", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRV); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_as: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_as: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalAs" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_as ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *const *arg_arg_as) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *const *arg_arg_as) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1733s # arg_arg_as)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmplhh5wxm8.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmplhh5wxm8.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_ao", 1733s # (gchar *) "ao", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalAo", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-ao" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__BOXED (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-ao: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_ao: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1733s # g_signal_new ("single-arg-signal-ao", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRV); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_ao: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalAo" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *const *arg_arg_ao) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *const *arg_arg_ao) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1733s # arg_arg_ao)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmpwik47t2u.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmpwik47t2u.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_aay", 1733s # (gchar *) "aay", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalAay", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-aay" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__BOXED (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-aay: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_aay: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1733s # g_signal_new ("single-arg-signal-aay", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_STRV); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_aay: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalAay" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *const *arg_arg_aay) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1733s # OrgProjectSignalingIface *object, 1733s # const gchar *const *arg_arg_aay) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1733s # arg_arg_aay)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s # /tmp/tmp4qq8tqmk/tmp6c5dcvmu.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4qq8tqmk/tmp6c5dcvmu.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "arg_asv", 1733s # (gchar *) "a{sv}", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SingleArgSignalAsv", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "single-arg-signal-asv" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VARIANT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::single-arg-signal-asv: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_asv: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1733s # g_signal_new ("single-arg-signal-asv", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1733s # G_TYPE_NONE, 1733s # 1, G_TYPE_VARIANT); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_arg_asv: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1733s # OrgProjectSignalingIface *object, 1733s # GVariant *arg_arg_asv) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1733s # OrgProjectSignalingIface *object, 1733s # GVariant *arg_arg_asv) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1733s # arg_arg_asv)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1733s # tmpdir: /tmp/tmpiaps4ih9 1733s # codegen: /usr/bin/gdbus-codegen 1733s # /tmp/tmpiaps4ih9/tmpu0a5uhrz.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiaps4ih9/tmpu0a5uhrz.xml', '--output', '-', '--body'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: /* 1733s # * This file is generated by gdbus-codegen, do not modify it. 1733s # * 1733s # * The license of this code is the same as for the D-Bus interface description 1733s # * it was derived from. Note that it links to GLib, so must comply with the 1733s # * LGPL linking clauses. 1733s # */ 1733s # 1733s # #ifdef HAVE_CONFIG_H 1733s # # include "config.h" 1733s # #endif 1733s # 1733s # #include 1733s # #ifdef G_OS_UNIX 1733s # # include 1733s # #endif 1733s # 1733s # #ifdef G_ENABLE_DEBUG 1733s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1733s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1733s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1733s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1733s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1733s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1733s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1733s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1733s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1733s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1733s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1733s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1733s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1733s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1733s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1733s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1733s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1733s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1733s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1733s # #else /* !G_ENABLE_DEBUG */ 1733s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1733s # * Do not access GValues directly in your code. Instead, use the 1733s # * g_value_get_*() functions 1733s # */ 1733s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1733s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1733s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1733s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1733s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1733s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1733s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1733s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1733s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1733s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1733s # #endif /* !G_ENABLE_DEBUG */ 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusArgInfo parent_struct; 1733s # gboolean use_gvariant; 1733s # } _ExtendedGDBusArgInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusMethodInfo parent_struct; 1733s # const gchar *signal_name; 1733s # gboolean pass_fdlist; 1733s # } _ExtendedGDBusMethodInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusSignalInfo parent_struct; 1733s # const gchar *signal_name; 1733s # } _ExtendedGDBusSignalInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusPropertyInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # guint use_gvariant : 1; 1733s # guint emits_changed_signal : 1; 1733s # } _ExtendedGDBusPropertyInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # GDBusInterfaceInfo parent_struct; 1733s # const gchar *hyphen_name; 1733s # } _ExtendedGDBusInterfaceInfo; 1733s # 1733s # typedef struct 1733s # { 1733s # const _ExtendedGDBusPropertyInfo *info; 1733s # guint prop_id; 1733s # GValue orig_value; /* the value before the change */ 1733s # } ChangedProperty; 1733s # 1733s # static void 1733s # _changed_property_free (ChangedProperty *data) 1733s # { 1733s # g_value_unset (&data->orig_value); 1733s # g_free (data); 1733s # } 1733s # 1733s # static gboolean 1733s # _g_strv_equal0 (gchar **a, gchar **b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # guint n; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # if (g_strv_length (a) != g_strv_length (b)) 1733s # goto out; 1733s # for (n = 0; a[n] != NULL; n++) 1733s # if (g_strcmp0 (a[n], b[n]) != 0) 1733s # goto out; 1733s # ret = TRUE; 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _g_variant_equal0 (GVariant *a, GVariant *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # if (a == NULL && b == NULL) 1733s # { 1733s # ret = TRUE; 1733s # goto out; 1733s # } 1733s # if (a == NULL || b == NULL) 1733s # goto out; 1733s # ret = g_variant_equal (a, b); 1733s # out: 1733s # return ret; 1733s # } 1733s # 1733s # G_GNUC_UNUSED static gboolean 1733s # _g_value_equal (const GValue *a, const GValue *b) 1733s # { 1733s # gboolean ret = FALSE; 1733s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1733s # switch (G_VALUE_TYPE (a)) 1733s # { 1733s # case G_TYPE_BOOLEAN: 1733s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1733s # break; 1733s # case G_TYPE_UCHAR: 1733s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1733s # break; 1733s # case G_TYPE_INT: 1733s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1733s # break; 1733s # case G_TYPE_UINT: 1733s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1733s # break; 1733s # case G_TYPE_INT64: 1733s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1733s # break; 1733s # case G_TYPE_UINT64: 1733s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1733s # break; 1733s # case G_TYPE_DOUBLE: 1733s # { 1733s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1733s # gdouble da = g_value_get_double (a); 1733s # gdouble db = g_value_get_double (b); 1733s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1733s # } 1733s # break; 1733s # case G_TYPE_STRING: 1733s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1733s # break; 1733s # case G_TYPE_VARIANT: 1733s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1733s # break; 1733s # default: 1733s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1733s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1733s # else 1733s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1733s # break; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static void 1733s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1733s # GClosure *closure, 1733s # GValue *return_value G_GNUC_UNUSED, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint G_GNUC_UNUSED, 1733s # void *marshal_data) 1733s # { 1733s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1733s # (void *data1, 1733s # gboolean arg_an_b, 1733s # guchar arg_an_y, 1733s # gint16 arg_an_n, 1733s # guint16 arg_an_q, 1733s # gint arg_an_i, 1733s # guint arg_an_u, 1733s # gint64 arg_an_x, 1733s # guint64 arg_an_t, 1733s # gdouble arg_an_d, 1733s # const gchar *arg_an_s, 1733s # const gchar *arg_an_o, 1733s # const gchar *arg_an_g, 1733s # GVariant *arg_an_h, 1733s # const gchar *arg_an_ay, 1733s # const gchar *const *arg_an_as, 1733s # const gchar *const *arg_an_ao, 1733s # const gchar *const *arg_an_aay, 1733s # GVariant *arg_an_asv, 1733s # void *data2); 1733s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1733s # GCClosure *cc = (GCClosure*) closure; 1733s # void *data1, *data2; 1733s # 1733s # g_return_if_fail (n_param_values == 19); 1733s # 1733s # if (G_CCLOSURE_SWAP_DATA (closure)) 1733s # { 1733s # data1 = closure->data; 1733s # data2 = g_value_peek_pointer (param_values + 0); 1733s # } 1733s # else 1733s # { 1733s # data1 = g_value_peek_pointer (param_values + 0); 1733s # data2 = closure->data; 1733s # } 1733s # 1733s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1733s # (marshal_data ? marshal_data : cc->callback); 1733s # 1733s # callback (data1, 1733s # g_marshal_value_peek_boolean (param_values + 1), 1733s # g_marshal_value_peek_uchar (param_values + 2), 1733s # g_marshal_value_peek_int (param_values + 3), 1733s # g_marshal_value_peek_uint (param_values + 4), 1733s # g_marshal_value_peek_int (param_values + 5), 1733s # g_marshal_value_peek_uint (param_values + 6), 1733s # g_marshal_value_peek_int64 (param_values + 7), 1733s # g_marshal_value_peek_uint64 (param_values + 8), 1733s # g_marshal_value_peek_double (param_values + 9), 1733s # g_marshal_value_peek_string (param_values + 10), 1733s # g_marshal_value_peek_string (param_values + 11), 1733s # g_marshal_value_peek_string (param_values + 12), 1733s # g_marshal_value_peek_variant (param_values + 13), 1733s # g_marshal_value_peek_string (param_values + 14), 1733s # g_marshal_value_peek_boxed (param_values + 15), 1733s # g_marshal_value_peek_boxed (param_values + 16), 1733s # g_marshal_value_peek_boxed (param_values + 17), 1733s # g_marshal_value_peek_variant (param_values + 18), 1733s # data2); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ 1733s # * Code for interface org.project.SignalingIface 1733s # * ------------------------------------------------------------------------ 1733s # */ 1733s # 1733s # /** 1733s # * SECTION:OrgProjectSignalingIface 1733s # * @title: OrgProjectSignalingIface 1733s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1733s # * 1733s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1733s # */ 1733s # 1733s # enum 1733s # { 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1733s # }; 1733s # 1733s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1733s # 1733s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SimpleSignal", 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "simple-signal" 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_b", 1733s # (gchar *) "b", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_y", 1733s # (gchar *) "y", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_n", 1733s # (gchar *) "n", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_q", 1733s # (gchar *) "q", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_i", 1733s # (gchar *) "i", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_u", 1733s # (gchar *) "u", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_x", 1733s # (gchar *) "x", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_t", 1733s # (gchar *) "t", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_d", 1733s # (gchar *) "d", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_s", 1733s # (gchar *) "s", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_o", 1733s # (gchar *) "o", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_g", 1733s # (gchar *) "g", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_h", 1733s # (gchar *) "h", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_ay", 1733s # (gchar *) "ay", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_as", 1733s # (gchar *) "as", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_ao", 1733s # (gchar *) "ao", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_aay", 1733s # (gchar *) "aay", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "an_asv", 1733s # (gchar *) "a{sv}", 1733s # NULL 1733s # }, 1733s # FALSE 1733s # }; 1733s # 1733s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "SignalWithManyArgs", 1733s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1733s # NULL 1733s # }, 1733s # "signal-with-many-args" 1733s # }; 1733s # 1733s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1733s # { 1733s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1733s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1733s # NULL 1733s # }; 1733s # 1733s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1733s # { 1733s # { 1733s # -1, 1733s # (gchar *) "org.project.SignalingIface", 1733s # NULL, 1733s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1733s # NULL, 1733s # NULL 1733s # }, 1733s # "org-project-signaling-iface", 1733s # }; 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_interface_info: 1733s # * 1733s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1733s # * 1733s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1733s # */ 1733s # GDBusInterfaceInfo * 1733s # org_project_signaling_iface_interface_info (void) 1733s # { 1733s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_override_properties: 1733s # * @klass: The class structure for a #GObject derived class. 1733s # * @property_id_begin: The property id to assign to the first overridden property. 1733s # * 1733s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1733s # * The properties are overridden in the order they are defined. 1733s # * 1733s # * Returns: The last property id. 1733s # */ 1733s # guint 1733s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1733s # { 1733s # return property_id_begin - 1; 1733s # } 1733s # 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_simple_signal ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # g_cclosure_marshal_VOID__VOID (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # inline static void 1733s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1733s # GClosure *closure, 1733s # GValue *return_value, 1733s # unsigned int n_param_values, 1733s # const GValue *param_values, 1733s # void *invocation_hint, 1733s # void *marshal_data) 1733s # { 1733s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1733s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1733s # } 1733s # 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface: 1733s # * 1733s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceIface: 1733s # * @parent_iface: The parent interface. 1733s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1733s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1733s # * 1733s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1733s # */ 1733s # 1733s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1733s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1733s # 1733s # static void 1733s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # /* GObject signals for received D-Bus signals: */ 1733s # /** 1733s # * OrgProjectSignalingIface::simple-signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1733s # g_signal_new ("simple-signal", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_simple_signal, 1733s # G_TYPE_NONE, 1733s # 0); 1733s # 1733s # /** 1733s # * OrgProjectSignalingIface::signal-with-many-args: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_an_b: Argument. 1733s # * @arg_an_y: Argument. 1733s # * @arg_an_n: Argument. 1733s # * @arg_an_q: Argument. 1733s # * @arg_an_i: Argument. 1733s # * @arg_an_u: Argument. 1733s # * @arg_an_x: Argument. 1733s # * @arg_an_t: Argument. 1733s # * @arg_an_d: Argument. 1733s # * @arg_an_s: Argument. 1733s # * @arg_an_o: Argument. 1733s # * @arg_an_g: Argument. 1733s # * @arg_an_h: Argument. 1733s # * @arg_an_ay: Argument. 1733s # * @arg_an_as: Argument. 1733s # * @arg_an_ao: Argument. 1733s # * @arg_an_aay: Argument. 1733s # * @arg_an_asv: Argument. 1733s # * 1733s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1733s # * 1733s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1733s # */ 1733s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1733s # g_signal_new ("signal-with-many-args", 1733s # G_TYPE_FROM_INTERFACE (iface), 1733s # G_SIGNAL_RUN_LAST, 1733s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1733s # NULL, 1733s # NULL, 1733s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1733s # G_TYPE_NONE, 1733s # 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); 1733s # 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_simple_signal: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * 1733s # * Emits the "SimpleSignal" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_emit_signal_with_many_args: 1733s # * @object: A #OrgProjectSignalingIface. 1733s # * @arg_an_b: Argument to pass with the signal. 1733s # * @arg_an_y: Argument to pass with the signal. 1733s # * @arg_an_n: Argument to pass with the signal. 1733s # * @arg_an_q: Argument to pass with the signal. 1733s # * @arg_an_i: Argument to pass with the signal. 1733s # * @arg_an_u: Argument to pass with the signal. 1733s # * @arg_an_x: Argument to pass with the signal. 1733s # * @arg_an_t: Argument to pass with the signal. 1733s # * @arg_an_d: Argument to pass with the signal. 1733s # * @arg_an_s: Argument to pass with the signal. 1733s # * @arg_an_o: Argument to pass with the signal. 1733s # * @arg_an_g: Argument to pass with the signal. 1733s # * @arg_an_h: Argument to pass with the signal. 1733s # * @arg_an_ay: Argument to pass with the signal. 1733s # * @arg_an_as: Argument to pass with the signal. 1733s # * @arg_an_ao: Argument to pass with the signal. 1733s # * @arg_an_aay: Argument to pass with the signal. 1733s # * @arg_an_asv: Argument to pass with the signal. 1733s # * 1733s # * Emits the "SignalWithManyArgs" D-Bus signal. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_emit_signal_with_many_args ( 1733s # OrgProjectSignalingIface *object, 1733s # gboolean arg_an_b, 1733s # guchar arg_an_y, 1733s # gint16 arg_an_n, 1733s # guint16 arg_an_q, 1733s # gint arg_an_i, 1733s # guint arg_an_u, 1733s # gint64 arg_an_x, 1733s # guint64 arg_an_t, 1733s # gdouble arg_an_d, 1733s # const gchar *arg_an_s, 1733s # const gchar *arg_an_o, 1733s # const gchar *arg_an_g, 1733s # GVariant *arg_an_h, 1733s # const gchar *arg_an_ay, 1733s # const gchar *const *arg_an_as, 1733s # const gchar *const *arg_an_ao, 1733s # const gchar *const *arg_an_aay, 1733s # GVariant *arg_an_asv) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxy: 1733s # * 1733s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceProxyClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceProxy. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceProxyPrivate 1733s # { 1733s # GData *qdata; 1733s # }; 1733s # 1733s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_proxy_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1733s # g_datalist_clear (&proxy->priv->qdata); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1733s # guint prop_id G_GNUC_UNUSED, 1733s # const GValue *value G_GNUC_UNUSED, 1733s # GParamSpec *pspec G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1733s # const gchar *sender_name G_GNUC_UNUSED, 1733s # const gchar *signal_name, 1733s # GVariant *parameters) 1733s # { 1733s # _ExtendedGDBusSignalInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # gsize n; 1733s # guint signal_id; 1733s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1733s # if (info == NULL) 1733s # return; 1733s # num_params = g_variant_n_children (parameters); 1733s # paramv = g_new0 (GValue, num_params + 1); 1733s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[0], proxy); 1733s # g_variant_iter_init (&iter, parameters); 1733s # n = 1; 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_signal_emitv (paramv, signal_id, 0, NULL); 1733s # for (n = 0; n < num_params + 1; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1733s # GVariant *changed_properties, 1733s # const gchar *const *invalidated_properties) 1733s # { 1733s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1733s # guint n; 1733s # const gchar *key; 1733s # GVariantIter *iter; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # g_variant_get (changed_properties, "a{sv}", &iter); 1733s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1733s # g_datalist_remove_data (&proxy->priv->qdata, key); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # g_variant_iter_free (iter); 1733s # for (n = 0; invalidated_properties[n] != NULL; n++) 1733s # { 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1733s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1733s # if (info != NULL) 1733s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1733s # } 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1733s # #else 1733s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1733s # #endif 1733s # 1733s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusProxyClass *proxy_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1733s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1733s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1733s # 1733s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1733s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1733s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_sync: 1733s # * @connection: A #GDBusConnection. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_sync ( 1733s # GDBusConnection *connection, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1733s # * @user_data: User data to pass to @callback. 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1733s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1733s # */ 1733s # void 1733s # org_project_signaling_iface_proxy_new_for_bus ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GAsyncReadyCallback callback, 1733s # gpointer user_data) 1733s # { 1733s # 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); 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1733s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1733s # GAsyncResult *res, 1733s # GError **error) 1733s # { 1733s # GObject *ret; 1733s # GObject *source_object; 1733s # source_object = g_async_result_get_source_object (res); 1733s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1733s # g_object_unref (source_object); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1733s # * @bus_type: A #GBusType. 1733s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1733s # * @name: A bus name (well-known or unique). 1733s # * @object_path: An object path. 1733s # * @cancellable: (nullable): A #GCancellable or %NULL. 1733s # * @error: Return location for error or %NULL 1733s # * 1733s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1733s # * 1733s # * The calling thread is blocked until a reply is received. 1733s # * 1733s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1733s # GBusType bus_type, 1733s # GDBusProxyFlags flags, 1733s # const gchar *name, 1733s # const gchar *object_path, 1733s # GCancellable *cancellable, 1733s # GError **error) 1733s # { 1733s # GInitable *ret; 1733s # 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); 1733s # if (ret != NULL) 1733s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1733s # else 1733s # return NULL; 1733s # } 1733s # 1733s # 1733s # /* ------------------------------------------------------------------------ */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeleton: 1733s # * 1733s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1733s # */ 1733s # 1733s # /** 1733s # * OrgProjectSignalingIfaceSkeletonClass: 1733s # * @parent_class: The parent class. 1733s # * 1733s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1733s # */ 1733s # 1733s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1733s # { 1733s # GValue *properties; 1733s # GList *changed_properties; 1733s # GSource *changed_properties_idle_source; 1733s # GMainContext *context; 1733s # GMutex lock; 1733s # }; 1733s # 1733s # static void 1733s # _org_project_signaling_iface_skeleton_handle_method_call ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name, 1733s # const gchar *method_name, 1733s # GVariant *parameters, 1733s # GDBusMethodInvocation *invocation, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # _ExtendedGDBusMethodInfo *info; 1733s # GVariantIter iter; 1733s # GVariant *child; 1733s # GValue *paramv; 1733s # gsize num_params; 1733s # guint num_extra; 1733s # gsize n; 1733s # guint signal_id; 1733s # GValue return_value = G_VALUE_INIT; 1733s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1733s # g_assert (info != NULL); 1733s # num_params = g_variant_n_children (parameters); 1733s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1733s # n = 0; 1733s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_set_object (¶mv[n++], skeleton); 1733s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1733s # g_value_set_object (¶mv[n++], invocation); 1733s # if (info->pass_fdlist) 1733s # { 1733s # #ifdef G_OS_UNIX 1733s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1733s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1733s # #else 1733s # g_assert_not_reached (); 1733s # #endif 1733s # } 1733s # g_variant_iter_init (&iter, parameters); 1733s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1733s # { 1733s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1733s # if (arg_info->use_gvariant) 1733s # { 1733s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1733s # g_value_set_variant (¶mv[n], child); 1733s # n++; 1733s # } 1733s # else 1733s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1733s # g_variant_unref (child); 1733s # } 1733s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1733s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1733s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1733s # if (!g_value_get_boolean (&return_value)) 1733s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1733s # g_value_unset (&return_value); 1733s # for (n = 0; n < num_params + num_extra; n++) 1733s # g_value_unset (¶mv[n]); 1733s # g_free (paramv); 1733s # } 1733s # 1733s # static GVariant * 1733s # _org_project_signaling_iface_skeleton_handle_get_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # GVariant *ret; 1733s # ret = NULL; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # g_value_init (&value, pspec->value_type); 1733s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1733s # g_value_unset (&value); 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static gboolean 1733s # _org_project_signaling_iface_skeleton_handle_set_property ( 1733s # GDBusConnection *connection G_GNUC_UNUSED, 1733s # const gchar *sender G_GNUC_UNUSED, 1733s # const gchar *object_path G_GNUC_UNUSED, 1733s # const gchar *interface_name G_GNUC_UNUSED, 1733s # const gchar *property_name, 1733s # GVariant *variant, 1733s # GError **error, 1733s # gpointer user_data) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1733s # GValue value = G_VALUE_INIT; 1733s # GParamSpec *pspec; 1733s # _ExtendedGDBusPropertyInfo *info; 1733s # gboolean ret; 1733s # ret = FALSE; 1733s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1733s # g_assert (info != NULL); 1733s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1733s # if (pspec == NULL) 1733s # { 1733s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1733s # } 1733s # else 1733s # { 1733s # if (info->use_gvariant) 1733s # g_value_set_variant (&value, variant); 1733s # else 1733s # g_dbus_gvariant_to_gvalue (variant, &value); 1733s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1733s # g_value_unset (&value); 1733s # ret = TRUE; 1733s # } 1733s # return ret; 1733s # } 1733s # 1733s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1733s # { 1733s # _org_project_signaling_iface_skeleton_handle_method_call, 1733s # _org_project_signaling_iface_skeleton_handle_get_property, 1733s # _org_project_signaling_iface_skeleton_handle_set_property, 1733s # {NULL} 1733s # }; 1733s # 1733s # static GDBusInterfaceInfo * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return org_project_signaling_iface_interface_info (); 1733s # } 1733s # 1733s # static GDBusInterfaceVTable * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1733s # { 1733s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1733s # } 1733s # 1733s # static GVariant * 1733s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1733s # 1733s # GVariantBuilder builder; 1733s # guint n; 1733s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1733s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1733s # goto out; 1733s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1733s # { 1733s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1733s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1733s # { 1733s # GVariant *value; 1733s # 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); 1733s # if (value != NULL) 1733s # { 1733s # g_variant_take_ref (value); 1733s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1733s # g_variant_unref (value); 1733s # } 1733s # } 1733s # } 1733s # out: 1733s # return g_variant_builder_end (&builder); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1733s # { 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_simple_signal ( 1733s # OrgProjectSignalingIface *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void 1733s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1733s # OrgProjectSignalingIface *object, 1733s # gboolean arg_an_b, 1733s # guchar arg_an_y, 1733s # gint16 arg_an_n, 1733s # guint16 arg_an_q, 1733s # gint arg_an_i, 1733s # guint arg_an_u, 1733s # gint64 arg_an_x, 1733s # guint64 arg_an_t, 1733s # gdouble arg_an_d, 1733s # const gchar *arg_an_s, 1733s # const gchar *arg_an_o, 1733s # const gchar *arg_an_g, 1733s # GVariant *arg_an_h, 1733s # const gchar *arg_an_ay, 1733s # const gchar *const *arg_an_as, 1733s # const gchar *const *arg_an_ao, 1733s # const gchar *const *arg_an_aay, 1733s # GVariant *arg_an_asv) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # 1733s # GList *connections, *l; 1733s # GVariant *signal_variant; 1733s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1733s # 1733s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1733s # arg_an_b, 1733s # arg_an_y, 1733s # arg_an_n, 1733s # arg_an_q, 1733s # arg_an_i, 1733s # arg_an_u, 1733s # arg_an_x, 1733s # arg_an_t, 1733s # arg_an_d, 1733s # arg_an_s, 1733s # arg_an_o, 1733s # arg_an_g, 1733s # arg_an_h, 1733s # arg_an_ay, 1733s # arg_an_as, 1733s # arg_an_ao, 1733s # arg_an_aay, 1733s # arg_an_asv)); 1733s # for (l = connections; l != NULL; l = l->next) 1733s # { 1733s # GDBusConnection *connection = l->data; 1733s # g_dbus_connection_emit_signal (connection, 1733s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1733s # signal_variant, NULL); 1733s # } 1733s # g_variant_unref (signal_variant); 1733s # g_list_free_full (connections, g_object_unref); 1733s # } 1733s # 1733s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #else 1733s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1733s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1733s # 1733s # #endif 1733s # static void 1733s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1733s # { 1733s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1733s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1733s # if (skeleton->priv->changed_properties_idle_source != NULL) 1733s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1733s # g_main_context_unref (skeleton->priv->context); 1733s # g_mutex_clear (&skeleton->priv->lock); 1733s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1733s # { 1733s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1733s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1733s # #else 1733s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1733s # #endif 1733s # 1733s # g_mutex_init (&skeleton->priv->lock); 1733s # skeleton->priv->context = g_main_context_ref_thread_default (); 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1733s # { 1733s # GObjectClass *gobject_class; 1733s # GDBusInterfaceSkeletonClass *skeleton_class; 1733s # 1733s # gobject_class = G_OBJECT_CLASS (klass); 1733s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1733s # 1733s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1733s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1733s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1733s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1733s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1733s # 1733s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1733s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1733s # #endif 1733s # } 1733s # 1733s # static void 1733s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1733s # { 1733s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1733s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1733s # } 1733s # 1733s # /** 1733s # * org_project_signaling_iface_skeleton_new: 1733s # * 1733s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1733s # * 1733s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1733s # */ 1733s # OrgProjectSignalingIface * 1733s # org_project_signaling_iface_skeleton_new (void) 1733s # { 1733s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1733s # } 1733s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1733s # tmpdir: /tmp/tmpkqtib4ch 1733s # codegen: /usr/bin/gdbus-codegen 1733s # /tmp/tmpkqtib4ch/tmpq1dptacu.xml: 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkqtib4ch/tmpq1dptacu.xml', '--generate-docbook', 'test'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1733s # Output: 1733s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1733s # tmpdir: /tmp/tmpdg3xv707 1733s # codegen: /usr/bin/gdbus-codegen 1733s # /tmp/tmpdg3xv707/tmpe8nfqn9t.xml: 1733s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdg3xv707/tmpe8nfqn9t.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1733s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1734s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1734s # tmpdir: /tmp/tmp4dyli3pf 1734s # codegen: /usr/bin/gdbus-codegen 1734s # /tmp/tmp4dyli3pf/tmpo5ov9ot0.xml: 1734s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4dyli3pf/tmpo5ov9ot0.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1734s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1734s # Output: /* 1734s # * This file is generated by gdbus-codegen, do not modify it. 1734s # * 1734s # * The license of this code is the same as for the D-Bus interface description 1734s # * it was derived from. Note that it links to GLib, so must comply with the 1734s # * LGPL linking clauses. 1734s # */ 1734s # 1734s # #ifndef __STDOUT__ 1734s # #define __STDOUT__ 1734s # 1734s # #include 1734s # 1734s # G_BEGIN_DECLS 1734s # 1734s # 1734s # G_END_DECLS 1734s # 1734s # #endif /* __STDOUT__ */ 1734s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1734s # tmpdir: /tmp/tmpj2p_9tsy 1734s # codegen: /usr/bin/gdbus-codegen 1734s # /tmp/tmpj2p_9tsy/tmpyfcy3brm.xml: 1734s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj2p_9tsy/tmpyfcy3brm.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1734s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1734s # Executing: glib/codegen.py.test 1734s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1734s # tmpdir: /tmp/tmpipcb11pz 1734s # codegen: /usr/bin/gdbus-codegen 1734s # /tmp/tmpipcb11pz/tmpc2qn7i4n.xml: 1734s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpipcb11pz/tmpc2qn7i4n.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1734s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1734s # Output: /* 1734s # * This file is generated by gdbus-codegen, do not modify it. 1734s # * 1734s # * The license of this code is the same as for the D-Bus interface description 1734s # * it was derived from. Note that it links to GLib, so must comply with the 1734s # * LGPL linking clauses. 1734s # */ 1734s # 1734s # #ifndef __STDOUT__ 1734s # #define __STDOUT__ 1734s # 1734s # #include 1734s # 1734s # G_BEGIN_DECLS 1734s # 1734s # 1734s # G_END_DECLS 1734s # 1734s # #endif /* __STDOUT__ */ 1735s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1735s # tmpdir: /tmp/tmpyyrwa_w9 1735s # codegen: /usr/bin/gdbus-codegen 1735s # /tmp/tmpyyrwa_w9/tmpjbt8gdnj.xml: 1735s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyyrwa_w9/tmpjbt8gdnj.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1735s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1735s # Output: /* 1735s # * This file is generated by gdbus-codegen, do not modify it. 1735s # * 1735s # * The license of this code is the same as for the D-Bus interface description 1735s # * it was derived from. Note that it links to GLib, so must comply with the 1735s # * LGPL linking clauses. 1735s # */ 1735s # 1735s # #ifndef __STDOUT__ 1735s # #define __STDOUT__ 1735s # 1735s # #include 1735s # 1735s # G_BEGIN_DECLS 1735s # 1735s # 1735s # G_END_DECLS 1735s # 1735s # #endif /* __STDOUT__ */ 1735s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1735s # tmpdir: /tmp/tmp522o128w 1735s # codegen: /usr/bin/gdbus-codegen 1735s # /tmp/tmp522o128w/tmpsazc69dt.xml: 1735s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp522o128w/tmpsazc69dt.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1735s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1735s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1735s # tmpdir: /tmp/tmpl7u_k7jg 1735s # codegen: /usr/bin/gdbus-codegen 1735s # /tmp/tmpl7u_k7jg/tmps1ky41oj.xml: 1735s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7u_k7jg/tmps1ky41oj.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1735s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1735s # Output: /* 1735s # * This file is generated by gdbus-codegen, do not modify it. 1735s # * 1735s # * The license of this code is the same as for the D-Bus interface description 1735s # * it was derived from. Note that it links to GLib, so must comply with the 1735s # * LGPL linking clauses. 1735s # */ 1735s # 1735s # #ifndef __STDOUT__ 1735s # #define __STDOUT__ 1735s # 1735s # #include 1735s # 1735s # G_BEGIN_DECLS 1735s # 1735s # 1735s # G_END_DECLS 1735s # 1735s # #endif /* __STDOUT__ */ 1736s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1736s # tmpdir: /tmp/tmp5hk4v94f 1736s # codegen: /usr/bin/gdbus-codegen 1736s # /tmp/tmp5hk4v94f/tmp7rpoi0pm.xml: 1736s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5hk4v94f/tmp7rpoi0pm.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1736s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1736s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1736s # tmpdir: /tmp/tmpa9p108ly 1736s # codegen: /usr/bin/gdbus-codegen 1736s # /tmp/tmpa9p108ly/tmp3o2o5cg_.xml: 1736s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa9p108ly/tmp3o2o5cg_.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1736s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1736s # Output: /* 1736s # * This file is generated by gdbus-codegen, do not modify it. 1736s # * 1736s # * The license of this code is the same as for the D-Bus interface description 1736s # * it was derived from. Note that it links to GLib, so must comply with the 1736s # * LGPL linking clauses. 1736s # */ 1736s # 1736s # #ifndef __STDOUT__ 1736s # #define __STDOUT__ 1736s # 1736s # #include 1736s # 1736s # G_BEGIN_DECLS 1736s # 1736s # 1736s # G_END_DECLS 1736s # 1736s # #endif /* __STDOUT__ */ 1736s ok 35 __main__.TestCodegen.test_help 1736s # tmpdir: /tmp/tmpudxy9g85 1736s # codegen: /usr/bin/gdbus-codegen 1736s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1736s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1736s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1736s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1736s # [--c-generate-autocleanup {none,objects,all}] 1736s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1736s # [--generate-rst OUTFILES] [--pragma-once] 1736s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1736s # [--glib-min-required VERSION] 1736s # [--glib-max-allowed VERSION] 1736s # [--symbol-decorator SYMBOL_DECORATOR] 1736s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1736s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1736s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1736s # [--output FILE | --output-directory OUTDIR] 1736s # FILE [FILE ...] 1736s # 1736s # D-Bus code and documentation generator 1736s # 1736s # positional arguments: 1736s # FILE D-Bus introspection XML file 1736s # 1736s # options: 1736s # -h, --help show this help message and exit 1736s # --interface-prefix PREFIX 1736s # String to strip from D-Bus interface names for code 1736s # and docs 1736s # --c-namespace NAMESPACE 1736s # The namespace to use for generated C code 1736s # --c-generate-object-manager 1736s # Generate a GDBusObjectManagerClient subclass when 1736s # generating C code 1736s # --c-generate-autocleanup {none,objects,all} 1736s # Generate autocleanup support 1736s # --generate-docbook OUTFILES 1736s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1736s # --generate-md OUTFILES 1736s # Generate Markdown in OUTFILES-org.Project.IFace.md 1736s # --generate-rst OUTFILES 1736s # Generate reStructuredText in OUTFILES- 1736s # org.Project.IFace.rst 1736s # --pragma-once Use "pragma once" as the inclusion guard 1736s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1736s # Add annotation (may be used several times) 1736s # --glib-min-required VERSION 1736s # Minimum version of GLib to be supported by the 1736s # outputted code (default: 2.30) 1736s # --glib-max-allowed VERSION 1736s # Maximum version of GLib to be used by the outputted 1736s # code (default: current GLib version) 1736s # --symbol-decorator SYMBOL_DECORATOR 1736s # Macro used to decorate a symbol in the outputted 1736s # header, possibly to export symbols 1736s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1736s # Additional header required for decorator specified by 1736s # --symbol-decorator 1736s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1736s # Additional define required for decorator specified by 1736s # --symbol-decorator 1736s # --generate-c-code OUTFILES 1736s # Generate C code in OUTFILES.[ch] 1736s # --header Generate C headers 1736s # --body Generate C code 1736s # --interface-info-header 1736s # Generate GDBusInterfaceInfo C header 1736s # --interface-info-body 1736s # Generate GDBusInterfaceInfo C code 1736s # --output FILE Write output into the specified file 1736s # --output-directory OUTDIR 1736s # Location to output generated files 1737s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1737s # tmpdir: /tmp/tmp9w1lp6kz 1737s # codegen: /usr/bin/gdbus-codegen 1737s # /tmp/tmp9w1lp6kz/tmp_va8mxe4.xml: 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9w1lp6kz/tmp_va8mxe4.xml', '--generate-rst', 'test'] 1737s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1737s # Output: 1737s # /tmp/tmp9w1lp6kz/tmpp_0rezcf.xml: 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9w1lp6kz/tmpp_0rezcf.xml', '--generate-md', 'test'] 1737s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1737s # Output: 1737s # /tmp/tmp9w1lp6kz/tmpck9edtyc.xml: 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # 1737s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9w1lp6kz/tmpck9edtyc.xml', '--generate-docbook', 'test'] 1737s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1737s # Output: 1737s ok 37 __main__.TestCodegen.test_no_args 1737s # tmpdir: /tmp/tmpnwcbb94y 1737s # codegen: /usr/bin/gdbus-codegen 1737s # Running: ['/usr/bin/gdbus-codegen'] 1737s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1738s ok 38 __main__.TestCodegen.test_reproducible 1738s # tmpdir: /tmp/tmp6z7wyj00 1738s # codegen: /usr/bin/gdbus-codegen 1738s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6z7wyj00/tmprf23suk41.xml', '/tmp/tmp6z7wyj00/tmpwnn1qd5z2.xml', '--output', '-', '--header'] 1738s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1738s # Output: /* 1738s # * This file is generated by gdbus-codegen, do not modify it. 1738s # * 1738s # * The license of this code is the same as for the D-Bus interface description 1738s # * it was derived from. Note that it links to GLib, so must comply with the 1738s # * LGPL linking clauses. 1738s # */ 1738s # 1738s # #ifndef __STDOUT__ 1738s # #define __STDOUT__ 1738s # 1738s # #include 1738s # 1738s # G_BEGIN_DECLS 1738s # 1738s # 1738s # /* ------------------------------------------------------------------------ */ 1738s # /* Declarations for com.acme.Coyote */ 1738s # 1738s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1738s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1738s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1738s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1738s # 1738s # struct _ComAcmeCoyote; 1738s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1738s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1738s # 1738s # struct _ComAcmeCoyoteIface 1738s # { 1738s # GTypeInterface parent_iface; 1738s # 1738s # 1738s # 1738s # gboolean (*handle_attack) ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # gboolean (*handle_run) ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # gboolean (*handle_sleep) ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1738s # 1738s # void (*surprised) ( 1738s # ComAcmeCoyote *object); 1738s # 1738s # }; 1738s # 1738s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1738s # 1738s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1738s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1738s # 1738s # 1738s # /* D-Bus method call completion functions: */ 1738s # void com_acme_coyote_complete_run ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # void com_acme_coyote_complete_sleep ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # void com_acme_coyote_complete_attack ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # 1738s # 1738s # /* D-Bus signal emissions functions: */ 1738s # void com_acme_coyote_emit_surprised ( 1738s # ComAcmeCoyote *object); 1738s # 1738s # 1738s # 1738s # /* D-Bus method calls: */ 1738s # void com_acme_coyote_call_run ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean com_acme_coyote_call_run_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean com_acme_coyote_call_run_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void com_acme_coyote_call_sleep ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean com_acme_coyote_call_sleep_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean com_acme_coyote_call_sleep_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void com_acme_coyote_call_attack ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean com_acme_coyote_call_attack_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean com_acme_coyote_call_attack_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # 1738s # /* D-Bus property accessors: */ 1738s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1738s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1738s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1738s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1738s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1738s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1738s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1738s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1738s # 1738s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1738s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1738s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1738s # 1738s # struct _ComAcmeCoyoteProxy 1738s # { 1738s # /*< private >*/ 1738s # GDBusProxy parent_instance; 1738s # ComAcmeCoyoteProxyPrivate *priv; 1738s # }; 1738s # 1738s # struct _ComAcmeCoyoteProxyClass 1738s # { 1738s # GDBusProxyClass parent_class; 1738s # }; 1738s # 1738s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1738s # #endif 1738s # 1738s # void com_acme_coyote_proxy_new ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void com_acme_coyote_proxy_new_for_bus ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1738s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1738s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1738s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1738s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1738s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1738s # 1738s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1738s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1738s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1738s # 1738s # struct _ComAcmeCoyoteSkeleton 1738s # { 1738s # /*< private >*/ 1738s # GDBusInterfaceSkeleton parent_instance; 1738s # ComAcmeCoyoteSkeletonPrivate *priv; 1738s # }; 1738s # 1738s # struct _ComAcmeCoyoteSkeletonClass 1738s # { 1738s # GDBusInterfaceSkeletonClass parent_class; 1738s # }; 1738s # 1738s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1738s # #endif 1738s # 1738s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1738s # 1738s # 1738s # /* ------------------------------------------------------------------------ */ 1738s # /* Declarations for org.project.Bar.Frobnicator */ 1738s # 1738s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1738s # 1738s # struct _OrgProjectBarFrobnicator; 1738s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1738s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1738s # 1738s # struct _OrgProjectBarFrobnicatorIface 1738s # { 1738s # GTypeInterface parent_iface; 1738s # 1738s # gboolean (*handle_random_method) ( 1738s # OrgProjectBarFrobnicator *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # }; 1738s # 1738s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1738s # 1738s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1738s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1738s # 1738s # 1738s # /* D-Bus method call completion functions: */ 1738s # void org_project_bar_frobnicator_complete_random_method ( 1738s # OrgProjectBarFrobnicator *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # 1738s # 1738s # /* D-Bus method calls: */ 1738s # void org_project_bar_frobnicator_call_random_method ( 1738s # OrgProjectBarFrobnicator *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1738s # OrgProjectBarFrobnicator *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1738s # OrgProjectBarFrobnicator *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1738s # 1738s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1738s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1738s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1738s # 1738s # struct _OrgProjectBarFrobnicatorProxy 1738s # { 1738s # /*< private >*/ 1738s # GDBusProxy parent_instance; 1738s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1738s # }; 1738s # 1738s # struct _OrgProjectBarFrobnicatorProxyClass 1738s # { 1738s # GDBusProxyClass parent_class; 1738s # }; 1738s # 1738s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1738s # #endif 1738s # 1738s # void org_project_bar_frobnicator_proxy_new ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1738s # 1738s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1738s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1738s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1738s # 1738s # struct _OrgProjectBarFrobnicatorSkeleton 1738s # { 1738s # /*< private >*/ 1738s # GDBusInterfaceSkeleton parent_instance; 1738s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1738s # }; 1738s # 1738s # struct _OrgProjectBarFrobnicatorSkeletonClass 1738s # { 1738s # GDBusInterfaceSkeletonClass parent_class; 1738s # }; 1738s # 1738s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1738s # #endif 1738s # 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1738s # 1738s # 1738s # G_END_DECLS 1738s # 1738s # #endif /* __STDOUT__ */ 1738s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6z7wyj00/tmpwnn1qd5z2.xml', '/tmp/tmp6z7wyj00/tmprf23suk41.xml', '--output', '-', '--header'] 1738s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1738s # Output: /* 1738s # * This file is generated by gdbus-codegen, do not modify it. 1738s # * 1738s # * The license of this code is the same as for the D-Bus interface description 1738s # * it was derived from. Note that it links to GLib, so must comply with the 1738s # * LGPL linking clauses. 1738s # */ 1738s # 1738s # #ifndef __STDOUT__ 1738s # #define __STDOUT__ 1738s # 1738s # #include 1738s # 1738s # G_BEGIN_DECLS 1738s # 1738s # 1738s # /* ------------------------------------------------------------------------ */ 1738s # /* Declarations for com.acme.Coyote */ 1738s # 1738s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1738s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1738s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1738s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1738s # 1738s # struct _ComAcmeCoyote; 1738s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1738s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1738s # 1738s # struct _ComAcmeCoyoteIface 1738s # { 1738s # GTypeInterface parent_iface; 1738s # 1738s # 1738s # 1738s # gboolean (*handle_attack) ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # gboolean (*handle_run) ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # gboolean (*handle_sleep) ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1738s # 1738s # void (*surprised) ( 1738s # ComAcmeCoyote *object); 1738s # 1738s # }; 1738s # 1738s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1738s # 1738s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1738s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1738s # 1738s # 1738s # /* D-Bus method call completion functions: */ 1738s # void com_acme_coyote_complete_run ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # void com_acme_coyote_complete_sleep ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # void com_acme_coyote_complete_attack ( 1738s # ComAcmeCoyote *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # 1738s # 1738s # /* D-Bus signal emissions functions: */ 1738s # void com_acme_coyote_emit_surprised ( 1738s # ComAcmeCoyote *object); 1738s # 1738s # 1738s # 1738s # /* D-Bus method calls: */ 1738s # void com_acme_coyote_call_run ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean com_acme_coyote_call_run_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean com_acme_coyote_call_run_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void com_acme_coyote_call_sleep ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean com_acme_coyote_call_sleep_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean com_acme_coyote_call_sleep_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void com_acme_coyote_call_attack ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean com_acme_coyote_call_attack_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean com_acme_coyote_call_attack_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # 1738s # /* D-Bus property accessors: */ 1738s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1738s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1738s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1738s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1738s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1738s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1738s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1738s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1738s # 1738s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1738s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1738s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1738s # 1738s # struct _ComAcmeCoyoteProxy 1738s # { 1738s # /*< private >*/ 1738s # GDBusProxy parent_instance; 1738s # ComAcmeCoyoteProxyPrivate *priv; 1738s # }; 1738s # 1738s # struct _ComAcmeCoyoteProxyClass 1738s # { 1738s # GDBusProxyClass parent_class; 1738s # }; 1738s # 1738s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1738s # #endif 1738s # 1738s # void com_acme_coyote_proxy_new ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void com_acme_coyote_proxy_new_for_bus ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1738s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1738s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1738s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1738s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1738s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1738s # 1738s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1738s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1738s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1738s # 1738s # struct _ComAcmeCoyoteSkeleton 1738s # { 1738s # /*< private >*/ 1738s # GDBusInterfaceSkeleton parent_instance; 1738s # ComAcmeCoyoteSkeletonPrivate *priv; 1738s # }; 1738s # 1738s # struct _ComAcmeCoyoteSkeletonClass 1738s # { 1738s # GDBusInterfaceSkeletonClass parent_class; 1738s # }; 1738s # 1738s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1738s # #endif 1738s # 1738s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1738s # 1738s # 1738s # /* ------------------------------------------------------------------------ */ 1738s # /* Declarations for org.project.Bar.Frobnicator */ 1738s # 1738s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1738s # 1738s # struct _OrgProjectBarFrobnicator; 1738s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1738s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1738s # 1738s # struct _OrgProjectBarFrobnicatorIface 1738s # { 1738s # GTypeInterface parent_iface; 1738s # 1738s # gboolean (*handle_random_method) ( 1738s # OrgProjectBarFrobnicator *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # }; 1738s # 1738s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1738s # 1738s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1738s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1738s # 1738s # 1738s # /* D-Bus method call completion functions: */ 1738s # void org_project_bar_frobnicator_complete_random_method ( 1738s # OrgProjectBarFrobnicator *object, 1738s # GDBusMethodInvocation *invocation); 1738s # 1738s # 1738s # 1738s # /* D-Bus method calls: */ 1738s # void org_project_bar_frobnicator_call_random_method ( 1738s # OrgProjectBarFrobnicator *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # 1738s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1738s # OrgProjectBarFrobnicator *proxy, 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # 1738s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1738s # OrgProjectBarFrobnicator *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1738s # 1738s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1738s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1738s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1738s # 1738s # struct _OrgProjectBarFrobnicatorProxy 1738s # { 1738s # /*< private >*/ 1738s # GDBusProxy parent_instance; 1738s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1738s # }; 1738s # 1738s # struct _OrgProjectBarFrobnicatorProxyClass 1738s # { 1738s # GDBusProxyClass parent_class; 1738s # }; 1738s # 1738s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1738s # #endif 1738s # 1738s # void org_project_bar_frobnicator_proxy_new ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1738s # GAsyncResult *res, 1738s # GError **error); 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error); 1738s # 1738s # 1738s # /* ---- */ 1738s # 1738s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1738s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1738s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1738s # 1738s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1738s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1738s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1738s # 1738s # struct _OrgProjectBarFrobnicatorSkeleton 1738s # { 1738s # /*< private >*/ 1738s # GDBusInterfaceSkeleton parent_instance; 1738s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1738s # }; 1738s # 1738s # struct _OrgProjectBarFrobnicatorSkeletonClass 1738s # { 1738s # GDBusInterfaceSkeletonClass parent_class; 1738s # }; 1738s # 1738s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1738s # 1738s # #if GLIB_CHECK_VERSION(2, 44, 0) 1738s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1738s # #endif 1738s # 1738s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1738s # 1738s # 1738s # G_END_DECLS 1738s # 1738s # #endif /* __STDOUT__ */ 1738s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6z7wyj00/tmprf23suk41.xml', '/tmp/tmp6z7wyj00/tmpwnn1qd5z2.xml', '--output', '-', '--body'] 1738s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1738s # Output: /* 1738s # * This file is generated by gdbus-codegen, do not modify it. 1738s # * 1738s # * The license of this code is the same as for the D-Bus interface description 1738s # * it was derived from. Note that it links to GLib, so must comply with the 1738s # * LGPL linking clauses. 1738s # */ 1738s # 1738s # #ifdef HAVE_CONFIG_H 1738s # # include "config.h" 1738s # #endif 1738s # 1738s # #include 1738s # #ifdef G_OS_UNIX 1738s # # include 1738s # #endif 1738s # 1738s # #ifdef G_ENABLE_DEBUG 1738s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1738s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1738s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1738s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1738s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1738s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1738s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1738s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1738s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1738s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1738s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1738s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1738s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1738s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1738s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1738s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1738s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1738s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1738s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1738s # #else /* !G_ENABLE_DEBUG */ 1738s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1738s # * Do not access GValues directly in your code. Instead, use the 1738s # * g_value_get_*() functions 1738s # */ 1738s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1738s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1738s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1738s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1738s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1738s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1738s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1738s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1738s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1738s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1738s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1738s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1738s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1738s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1738s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1738s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1738s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1738s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1738s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1738s # #endif /* !G_ENABLE_DEBUG */ 1738s # 1738s # typedef struct 1738s # { 1738s # GDBusArgInfo parent_struct; 1738s # gboolean use_gvariant; 1738s # } _ExtendedGDBusArgInfo; 1738s # 1738s # typedef struct 1738s # { 1738s # GDBusMethodInfo parent_struct; 1738s # const gchar *signal_name; 1738s # gboolean pass_fdlist; 1738s # } _ExtendedGDBusMethodInfo; 1738s # 1738s # typedef struct 1738s # { 1738s # GDBusSignalInfo parent_struct; 1738s # const gchar *signal_name; 1738s # } _ExtendedGDBusSignalInfo; 1738s # 1738s # typedef struct 1738s # { 1738s # GDBusPropertyInfo parent_struct; 1738s # const gchar *hyphen_name; 1738s # guint use_gvariant : 1; 1738s # guint emits_changed_signal : 1; 1738s # } _ExtendedGDBusPropertyInfo; 1738s # 1738s # typedef struct 1738s # { 1738s # GDBusInterfaceInfo parent_struct; 1738s # const gchar *hyphen_name; 1738s # } _ExtendedGDBusInterfaceInfo; 1738s # 1738s # typedef struct 1738s # { 1738s # const _ExtendedGDBusPropertyInfo *info; 1738s # guint prop_id; 1738s # GValue orig_value; /* the value before the change */ 1738s # } ChangedProperty; 1738s # 1738s # static void 1738s # _changed_property_free (ChangedProperty *data) 1738s # { 1738s # g_value_unset (&data->orig_value); 1738s # g_free (data); 1738s # } 1738s # 1738s # static gboolean 1738s # _g_strv_equal0 (gchar **a, gchar **b) 1738s # { 1738s # gboolean ret = FALSE; 1738s # guint n; 1738s # if (a == NULL && b == NULL) 1738s # { 1738s # ret = TRUE; 1738s # goto out; 1738s # } 1738s # if (a == NULL || b == NULL) 1738s # goto out; 1738s # if (g_strv_length (a) != g_strv_length (b)) 1738s # goto out; 1738s # for (n = 0; a[n] != NULL; n++) 1738s # if (g_strcmp0 (a[n], b[n]) != 0) 1738s # goto out; 1738s # ret = TRUE; 1738s # out: 1738s # return ret; 1738s # } 1738s # 1738s # static gboolean 1738s # _g_variant_equal0 (GVariant *a, GVariant *b) 1738s # { 1738s # gboolean ret = FALSE; 1738s # if (a == NULL && b == NULL) 1738s # { 1738s # ret = TRUE; 1738s # goto out; 1738s # } 1738s # if (a == NULL || b == NULL) 1738s # goto out; 1738s # ret = g_variant_equal (a, b); 1738s # out: 1738s # return ret; 1738s # } 1738s # 1738s # G_GNUC_UNUSED static gboolean 1738s # _g_value_equal (const GValue *a, const GValue *b) 1738s # { 1738s # gboolean ret = FALSE; 1738s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1738s # switch (G_VALUE_TYPE (a)) 1738s # { 1738s # case G_TYPE_BOOLEAN: 1738s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1738s # break; 1738s # case G_TYPE_UCHAR: 1738s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1738s # break; 1738s # case G_TYPE_INT: 1738s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1738s # break; 1738s # case G_TYPE_UINT: 1738s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1738s # break; 1738s # case G_TYPE_INT64: 1738s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1738s # break; 1738s # case G_TYPE_UINT64: 1738s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1738s # break; 1738s # case G_TYPE_DOUBLE: 1738s # { 1738s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1738s # gdouble da = g_value_get_double (a); 1738s # gdouble db = g_value_get_double (b); 1738s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1738s # } 1738s # break; 1738s # case G_TYPE_STRING: 1738s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1738s # break; 1738s # case G_TYPE_VARIANT: 1738s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1738s # break; 1738s # default: 1738s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1738s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1738s # else 1738s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1738s # break; 1738s # } 1738s # return ret; 1738s # } 1738s # 1738s # static void 1738s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1738s # GClosure *closure, 1738s # GValue *return_value, 1738s # unsigned int n_param_values, 1738s # const GValue *param_values, 1738s # void *invocation_hint G_GNUC_UNUSED, 1738s # void *marshal_data) 1738s # { 1738s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1738s # (void *data1, 1738s # GDBusMethodInvocation *arg_method_invocation, 1738s # void *data2); 1738s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1738s # GCClosure *cc = (GCClosure*) closure; 1738s # void *data1, *data2; 1738s # gboolean v_return; 1738s # 1738s # g_return_if_fail (return_value != NULL); 1738s # g_return_if_fail (n_param_values == 2); 1738s # 1738s # if (G_CCLOSURE_SWAP_DATA (closure)) 1738s # { 1738s # data1 = closure->data; 1738s # data2 = g_value_peek_pointer (param_values + 0); 1738s # } 1738s # else 1738s # { 1738s # data1 = g_value_peek_pointer (param_values + 0); 1738s # data2 = closure->data; 1738s # } 1738s # 1738s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1738s # (marshal_data ? marshal_data : cc->callback); 1738s # 1738s # v_return = 1738s # callback (data1, 1738s # g_marshal_value_peek_object (param_values + 1), 1738s # data2); 1738s # 1738s # g_value_set_boolean (return_value, v_return); 1738s # } 1738s # 1738s # /* ------------------------------------------------------------------------ 1738s # * Code for interface com.acme.Coyote 1738s # * ------------------------------------------------------------------------ 1738s # */ 1738s # 1738s # /** 1738s # * SECTION:ComAcmeCoyote 1738s # * @title: ComAcmeCoyote 1738s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1738s # * 1738s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1738s # */ 1738s # 1738s # enum 1738s # { 1738s # _COM_ACME_COYOTE_SURPRISED, 1738s # }; 1738s # 1738s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1738s # 1738s # /* ---- Introspection data for com.acme.Coyote ---- */ 1738s # 1738s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1738s # { 1738s # { 1738s # -1, 1738s # (gchar *) "Run", 1738s # NULL, 1738s # NULL, 1738s # NULL 1738s # }, 1738s # "handle-run", 1738s # FALSE 1738s # }; 1738s # 1738s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1738s # { 1738s # { 1738s # -1, 1738s # (gchar *) "Sleep", 1738s # NULL, 1738s # NULL, 1738s # NULL 1738s # }, 1738s # "handle-sleep", 1738s # FALSE 1738s # }; 1738s # 1738s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1738s # { 1738s # { 1738s # -1, 1738s # (gchar *) "Attack", 1738s # NULL, 1738s # NULL, 1738s # NULL 1738s # }, 1738s # "handle-attack", 1738s # FALSE 1738s # }; 1738s # 1738s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1738s # { 1738s # &_com_acme_coyote_method_info_run.parent_struct, 1738s # &_com_acme_coyote_method_info_sleep.parent_struct, 1738s # &_com_acme_coyote_method_info_attack.parent_struct, 1738s # NULL 1738s # }; 1738s # 1738s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1738s # { 1738s # { 1738s # -1, 1738s # (gchar *) "Surprised", 1738s # NULL, 1738s # NULL 1738s # }, 1738s # "surprised" 1738s # }; 1738s # 1738s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1738s # { 1738s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1738s # NULL 1738s # }; 1738s # 1738s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1738s # { 1738s # { 1738s # -1, 1738s # (gchar *) "Mood", 1738s # (gchar *) "s", 1738s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1738s # NULL 1738s # }, 1738s # "mood", 1738s # FALSE, 1738s # TRUE 1738s # }; 1738s # 1738s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1738s # { 1738s # &_com_acme_coyote_property_info_mood.parent_struct, 1738s # NULL 1738s # }; 1738s # 1738s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1738s # { 1738s # { 1738s # -1, 1738s # (gchar *) "com.acme.Coyote", 1738s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1738s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1738s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1738s # NULL 1738s # }, 1738s # "com-acme-coyote", 1738s # }; 1738s # 1738s # 1738s # /** 1738s # * com_acme_coyote_interface_info: 1738s # * 1738s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1738s # * 1738s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1738s # */ 1738s # GDBusInterfaceInfo * 1738s # com_acme_coyote_interface_info (void) 1738s # { 1738s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_override_properties: 1738s # * @klass: The class structure for a #GObject derived class. 1738s # * @property_id_begin: The property id to assign to the first overridden property. 1738s # * 1738s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1738s # * The properties are overridden in the order they are defined. 1738s # * 1738s # * Returns: The last property id. 1738s # */ 1738s # guint 1738s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1738s # { 1738s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1738s # return property_id_begin - 1; 1738s # } 1738s # 1738s # 1738s # inline static void 1738s # com_acme_coyote_signal_marshal_surprised ( 1738s # GClosure *closure, 1738s # GValue *return_value, 1738s # unsigned int n_param_values, 1738s # const GValue *param_values, 1738s # void *invocation_hint, 1738s # void *marshal_data) 1738s # { 1738s # g_cclosure_marshal_VOID__VOID (closure, 1738s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1738s # } 1738s # 1738s # inline static void 1738s # com_acme_coyote_method_marshal_run ( 1738s # GClosure *closure, 1738s # GValue *return_value, 1738s # unsigned int n_param_values, 1738s # const GValue *param_values, 1738s # void *invocation_hint, 1738s # void *marshal_data) 1738s # { 1738s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1738s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1738s # } 1738s # 1738s # inline static void 1738s # com_acme_coyote_method_marshal_sleep ( 1738s # GClosure *closure, 1738s # GValue *return_value, 1738s # unsigned int n_param_values, 1738s # const GValue *param_values, 1738s # void *invocation_hint, 1738s # void *marshal_data) 1738s # { 1738s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1738s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1738s # } 1738s # 1738s # inline static void 1738s # com_acme_coyote_method_marshal_attack ( 1738s # GClosure *closure, 1738s # GValue *return_value, 1738s # unsigned int n_param_values, 1738s # const GValue *param_values, 1738s # void *invocation_hint, 1738s # void *marshal_data) 1738s # { 1738s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1738s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1738s # } 1738s # 1738s # 1738s # /** 1738s # * ComAcmeCoyote: 1738s # * 1738s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1738s # */ 1738s # 1738s # /** 1738s # * ComAcmeCoyoteIface: 1738s # * @parent_iface: The parent interface. 1738s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1738s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1738s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1738s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1738s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1738s # * 1738s # * Virtual table for the D-Bus interface com.acme.Coyote. 1738s # */ 1738s # 1738s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1738s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1738s # 1738s # static void 1738s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1738s # { 1738s # /* GObject signals for incoming D-Bus method calls: */ 1738s # /** 1738s # * ComAcmeCoyote::handle-run: 1738s # * @object: A #ComAcmeCoyote. 1738s # * @invocation: A #GDBusMethodInvocation. 1738s # * 1738s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1738s # * 1738s # * 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. 1738s # * 1738s # * 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. 1738s # */ 1738s # g_signal_new ("handle-run", 1738s # G_TYPE_FROM_INTERFACE (iface), 1738s # G_SIGNAL_RUN_LAST, 1738s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1738s # g_signal_accumulator_true_handled, 1738s # NULL, 1738s # com_acme_coyote_method_marshal_run, 1738s # G_TYPE_BOOLEAN, 1738s # 1, 1738s # G_TYPE_DBUS_METHOD_INVOCATION); 1738s # 1738s # /** 1738s # * ComAcmeCoyote::handle-sleep: 1738s # * @object: A #ComAcmeCoyote. 1738s # * @invocation: A #GDBusMethodInvocation. 1738s # * 1738s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1738s # * 1738s # * 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. 1738s # * 1738s # * 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. 1738s # */ 1738s # g_signal_new ("handle-sleep", 1738s # G_TYPE_FROM_INTERFACE (iface), 1738s # G_SIGNAL_RUN_LAST, 1738s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1738s # g_signal_accumulator_true_handled, 1738s # NULL, 1738s # com_acme_coyote_method_marshal_sleep, 1738s # G_TYPE_BOOLEAN, 1738s # 1, 1738s # G_TYPE_DBUS_METHOD_INVOCATION); 1738s # 1738s # /** 1738s # * ComAcmeCoyote::handle-attack: 1738s # * @object: A #ComAcmeCoyote. 1738s # * @invocation: A #GDBusMethodInvocation. 1738s # * 1738s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1738s # * 1738s # * 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. 1738s # * 1738s # * 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. 1738s # */ 1738s # g_signal_new ("handle-attack", 1738s # G_TYPE_FROM_INTERFACE (iface), 1738s # G_SIGNAL_RUN_LAST, 1738s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1738s # g_signal_accumulator_true_handled, 1738s # NULL, 1738s # com_acme_coyote_method_marshal_attack, 1738s # G_TYPE_BOOLEAN, 1738s # 1, 1738s # G_TYPE_DBUS_METHOD_INVOCATION); 1738s # 1738s # /* GObject signals for received D-Bus signals: */ 1738s # /** 1738s # * ComAcmeCoyote::surprised: 1738s # * @object: A #ComAcmeCoyote. 1738s # * 1738s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1738s # * 1738s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1738s # */ 1738s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1738s # g_signal_new ("surprised", 1738s # G_TYPE_FROM_INTERFACE (iface), 1738s # G_SIGNAL_RUN_LAST, 1738s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1738s # NULL, 1738s # NULL, 1738s # com_acme_coyote_signal_marshal_surprised, 1738s # G_TYPE_NONE, 1738s # 0); 1738s # 1738s # /* GObject properties for D-Bus properties: */ 1738s # /** 1738s # * ComAcmeCoyote:mood: 1738s # * 1738s # * Represents the D-Bus property "Mood". 1738s # * 1738s # * 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. 1738s # */ 1738s # g_object_interface_install_property (iface, 1738s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_get_mood: (skip) 1738s # * @object: A #ComAcmeCoyote. 1738s # * 1738s # * Gets the value of the "Mood" D-Bus property. 1738s # * 1738s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1738s # * 1738s # * 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. 1738s # * 1738s # * 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. 1738s # */ 1738s # const gchar * 1738s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1738s # { 1738s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1738s # 1738s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_dup_mood: (skip) 1738s # * @object: A #ComAcmeCoyote. 1738s # * 1738s # * Gets a copy of the "Mood" D-Bus property. 1738s # * 1738s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1738s # * 1738s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1738s # */ 1738s # gchar * 1738s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1738s # { 1738s # gchar *value; 1738s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1738s # return value; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_set_mood: (skip) 1738s # * @object: A #ComAcmeCoyote. 1738s # * @value: The value to set. 1738s # * 1738s # * Sets the "Mood" D-Bus property to @value. 1738s # * 1738s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1738s # */ 1738s # void 1738s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1738s # { 1738s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_emit_surprised: 1738s # * @object: A #ComAcmeCoyote. 1738s # * 1738s # * Emits the "Surprised" D-Bus signal. 1738s # */ 1738s # void 1738s # com_acme_coyote_emit_surprised ( 1738s # ComAcmeCoyote *object) 1738s # { 1738s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_run: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1738s # * @user_data: User data to pass to @callback. 1738s # * 1738s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1738s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1738s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1738s # * 1738s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1738s # */ 1738s # void 1738s # com_acme_coyote_call_run ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data) 1738s # { 1738s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1738s # "Run", 1738s # g_variant_new ("()"), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # cancellable, 1738s # callback, 1738s # user_data); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_run_finish: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1738s # * @error: Return location for error or %NULL. 1738s # * 1738s # * Finishes an operation started with com_acme_coyote_call_run(). 1738s # * 1738s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1738s # */ 1738s # gboolean 1738s # com_acme_coyote_call_run_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error) 1738s # { 1738s # GVariant *_ret; 1738s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1738s # if (_ret == NULL) 1738s # goto _out; 1738s # g_variant_get (_ret, 1738s # "()"); 1738s # g_variant_unref (_ret); 1738s # _out: 1738s # return _ret != NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_run_sync: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @error: Return location for error or %NULL. 1738s # * 1738s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1738s # * 1738s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1738s # * 1738s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1738s # */ 1738s # gboolean 1738s # com_acme_coyote_call_run_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error) 1738s # { 1738s # GVariant *_ret; 1738s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1738s # "Run", 1738s # g_variant_new ("()"), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # cancellable, 1738s # error); 1738s # if (_ret == NULL) 1738s # goto _out; 1738s # g_variant_get (_ret, 1738s # "()"); 1738s # g_variant_unref (_ret); 1738s # _out: 1738s # return _ret != NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_sleep: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1738s # * @user_data: User data to pass to @callback. 1738s # * 1738s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1738s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1738s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1738s # * 1738s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1738s # */ 1738s # void 1738s # com_acme_coyote_call_sleep ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data) 1738s # { 1738s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1738s # "Sleep", 1738s # g_variant_new ("()"), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # cancellable, 1738s # callback, 1738s # user_data); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_sleep_finish: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1738s # * @error: Return location for error or %NULL. 1738s # * 1738s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1738s # * 1738s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1738s # */ 1738s # gboolean 1738s # com_acme_coyote_call_sleep_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error) 1738s # { 1738s # GVariant *_ret; 1738s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1738s # if (_ret == NULL) 1738s # goto _out; 1738s # g_variant_get (_ret, 1738s # "()"); 1738s # g_variant_unref (_ret); 1738s # _out: 1738s # return _ret != NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_sleep_sync: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @error: Return location for error or %NULL. 1738s # * 1738s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1738s # * 1738s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1738s # * 1738s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1738s # */ 1738s # gboolean 1738s # com_acme_coyote_call_sleep_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error) 1738s # { 1738s # GVariant *_ret; 1738s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1738s # "Sleep", 1738s # g_variant_new ("()"), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # cancellable, 1738s # error); 1738s # if (_ret == NULL) 1738s # goto _out; 1738s # g_variant_get (_ret, 1738s # "()"); 1738s # g_variant_unref (_ret); 1738s # _out: 1738s # return _ret != NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_attack: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1738s # * @user_data: User data to pass to @callback. 1738s # * 1738s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1738s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1738s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1738s # * 1738s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1738s # */ 1738s # void 1738s # com_acme_coyote_call_attack ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data) 1738s # { 1738s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1738s # "Attack", 1738s # g_variant_new ("()"), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # cancellable, 1738s # callback, 1738s # user_data); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_attack_finish: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1738s # * @error: Return location for error or %NULL. 1738s # * 1738s # * Finishes an operation started with com_acme_coyote_call_attack(). 1738s # * 1738s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1738s # */ 1738s # gboolean 1738s # com_acme_coyote_call_attack_finish ( 1738s # ComAcmeCoyote *proxy, 1738s # GAsyncResult *res, 1738s # GError **error) 1738s # { 1738s # GVariant *_ret; 1738s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1738s # if (_ret == NULL) 1738s # goto _out; 1738s # g_variant_get (_ret, 1738s # "()"); 1738s # g_variant_unref (_ret); 1738s # _out: 1738s # return _ret != NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_call_attack_sync: 1738s # * @proxy: A #ComAcmeCoyoteProxy. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @error: Return location for error or %NULL. 1738s # * 1738s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1738s # * 1738s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1738s # * 1738s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1738s # */ 1738s # gboolean 1738s # com_acme_coyote_call_attack_sync ( 1738s # ComAcmeCoyote *proxy, 1738s # GCancellable *cancellable, 1738s # GError **error) 1738s # { 1738s # GVariant *_ret; 1738s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1738s # "Attack", 1738s # g_variant_new ("()"), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # cancellable, 1738s # error); 1738s # if (_ret == NULL) 1738s # goto _out; 1738s # g_variant_get (_ret, 1738s # "()"); 1738s # g_variant_unref (_ret); 1738s # _out: 1738s # return _ret != NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_complete_run: 1738s # * @object: A #ComAcmeCoyote. 1738s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1738s # * 1738s # * 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. 1738s # * 1738s # * This method will free @invocation, you cannot use it afterwards. 1738s # */ 1738s # void 1738s # com_acme_coyote_complete_run ( 1738s # ComAcmeCoyote *object G_GNUC_UNUSED, 1738s # GDBusMethodInvocation *invocation) 1738s # { 1738s # g_dbus_method_invocation_return_value (invocation, 1738s # g_variant_new ("()")); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_complete_sleep: 1738s # * @object: A #ComAcmeCoyote. 1738s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1738s # * 1738s # * 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. 1738s # * 1738s # * This method will free @invocation, you cannot use it afterwards. 1738s # */ 1738s # void 1738s # com_acme_coyote_complete_sleep ( 1738s # ComAcmeCoyote *object G_GNUC_UNUSED, 1738s # GDBusMethodInvocation *invocation) 1738s # { 1738s # g_dbus_method_invocation_return_value (invocation, 1738s # g_variant_new ("()")); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_complete_attack: 1738s # * @object: A #ComAcmeCoyote. 1738s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1738s # * 1738s # * 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. 1738s # * 1738s # * This method will free @invocation, you cannot use it afterwards. 1738s # */ 1738s # void 1738s # com_acme_coyote_complete_attack ( 1738s # ComAcmeCoyote *object G_GNUC_UNUSED, 1738s # GDBusMethodInvocation *invocation) 1738s # { 1738s # g_dbus_method_invocation_return_value (invocation, 1738s # g_variant_new ("()")); 1738s # } 1738s # 1738s # /* ------------------------------------------------------------------------ */ 1738s # 1738s # /** 1738s # * ComAcmeCoyoteProxy: 1738s # * 1738s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1738s # */ 1738s # 1738s # /** 1738s # * ComAcmeCoyoteProxyClass: 1738s # * @parent_class: The parent class. 1738s # * 1738s # * Class structure for #ComAcmeCoyoteProxy. 1738s # */ 1738s # 1738s # struct _ComAcmeCoyoteProxyPrivate 1738s # { 1738s # GData *qdata; 1738s # }; 1738s # 1738s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1738s # 1738s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1738s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1738s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1738s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1738s # 1738s # #else 1738s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1738s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1738s # 1738s # #endif 1738s # static void 1738s # com_acme_coyote_proxy_finalize (GObject *object) 1738s # { 1738s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1738s # g_datalist_clear (&proxy->priv->qdata); 1738s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_get_property (GObject *object, 1738s # guint prop_id, 1738s # GValue *value, 1738s # GParamSpec *pspec G_GNUC_UNUSED) 1738s # { 1738s # const _ExtendedGDBusPropertyInfo *info; 1738s # GVariant *variant; 1738s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1738s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1738s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1738s # if (info->use_gvariant) 1738s # { 1738s # g_value_set_variant (value, variant); 1738s # } 1738s # else 1738s # { 1738s # if (variant != NULL) 1738s # g_dbus_gvariant_to_gvalue (variant, value); 1738s # } 1738s # if (variant != NULL) 1738s # g_variant_unref (variant); 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1738s # GAsyncResult *res, 1738s # gpointer user_data) 1738s # { 1738s # const _ExtendedGDBusPropertyInfo *info = user_data; 1738s # GError *error; 1738s # GVariant *_ret; 1738s # error = NULL; 1738s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1738s # if (!_ret) 1738s # { 1738s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1738s # info->parent_struct.name, 1738s # error->message, g_quark_to_string (error->domain), error->code); 1738s # g_error_free (error); 1738s # } 1738s # else 1738s # { 1738s # g_variant_unref (_ret); 1738s # } 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_set_property (GObject *object, 1738s # guint prop_id, 1738s # const GValue *value, 1738s # GParamSpec *pspec G_GNUC_UNUSED) 1738s # { 1738s # const _ExtendedGDBusPropertyInfo *info; 1738s # GVariant *variant; 1738s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1738s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1738s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1738s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1738s # "org.freedesktop.DBus.Properties.Set", 1738s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1738s # G_DBUS_CALL_FLAGS_NONE, 1738s # -1, 1738s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1738s # g_variant_unref (variant); 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1738s # const gchar *sender_name G_GNUC_UNUSED, 1738s # const gchar *signal_name, 1738s # GVariant *parameters) 1738s # { 1738s # _ExtendedGDBusSignalInfo *info; 1738s # GVariantIter iter; 1738s # GVariant *child; 1738s # GValue *paramv; 1738s # gsize num_params; 1738s # gsize n; 1738s # guint signal_id; 1738s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1738s # if (info == NULL) 1738s # return; 1738s # num_params = g_variant_n_children (parameters); 1738s # paramv = g_new0 (GValue, num_params + 1); 1738s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1738s # g_value_set_object (¶mv[0], proxy); 1738s # g_variant_iter_init (&iter, parameters); 1738s # n = 1; 1738s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1738s # { 1738s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1738s # if (arg_info->use_gvariant) 1738s # { 1738s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1738s # g_value_set_variant (¶mv[n], child); 1738s # n++; 1738s # } 1738s # else 1738s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1738s # g_variant_unref (child); 1738s # } 1738s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1738s # g_signal_emitv (paramv, signal_id, 0, NULL); 1738s # for (n = 0; n < num_params + 1; n++) 1738s # g_value_unset (¶mv[n]); 1738s # g_free (paramv); 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1738s # GVariant *changed_properties, 1738s # const gchar *const *invalidated_properties) 1738s # { 1738s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1738s # guint n; 1738s # const gchar *key; 1738s # GVariantIter *iter; 1738s # _ExtendedGDBusPropertyInfo *info; 1738s # g_variant_get (changed_properties, "a{sv}", &iter); 1738s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1738s # { 1738s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1738s # g_datalist_remove_data (&proxy->priv->qdata, key); 1738s # if (info != NULL) 1738s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1738s # } 1738s # g_variant_iter_free (iter); 1738s # for (n = 0; invalidated_properties[n] != NULL; n++) 1738s # { 1738s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1738s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1738s # if (info != NULL) 1738s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1738s # } 1738s # } 1738s # 1738s # static const gchar * 1738s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1738s # { 1738s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1738s # GVariant *variant; 1738s # const gchar *value = NULL; 1738s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1738s # if (variant != NULL) 1738s # { 1738s # value = g_variant_get_string (variant, NULL); 1738s # g_variant_unref (variant); 1738s # } 1738s # return value; 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1738s # { 1738s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1738s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1738s # #else 1738s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1738s # #endif 1738s # 1738s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1738s # { 1738s # GObjectClass *gobject_class; 1738s # GDBusProxyClass *proxy_class; 1738s # 1738s # gobject_class = G_OBJECT_CLASS (klass); 1738s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1738s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1738s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1738s # 1738s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1738s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1738s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1738s # 1738s # com_acme_coyote_override_properties (gobject_class, 1); 1738s # 1738s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1738s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1738s # #endif 1738s # } 1738s # 1738s # static void 1738s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1738s # { 1738s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_proxy_new: 1738s # * @connection: A #GDBusConnection. 1738s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1738s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1738s # * @object_path: An object path. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1738s # * @user_data: User data to pass to @callback. 1738s # * 1738s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1738s # * 1738s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1738s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1738s # * 1738s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1738s # */ 1738s # void 1738s # com_acme_coyote_proxy_new ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data) 1738s # { 1738s # 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); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_proxy_new_finish: 1738s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1738s # * @error: Return location for error or %NULL 1738s # * 1738s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1738s # * 1738s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1738s # */ 1738s # ComAcmeCoyote * 1738s # com_acme_coyote_proxy_new_finish ( 1738s # GAsyncResult *res, 1738s # GError **error) 1738s # { 1738s # GObject *ret; 1738s # GObject *source_object; 1738s # source_object = g_async_result_get_source_object (res); 1738s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1738s # g_object_unref (source_object); 1738s # if (ret != NULL) 1738s # return COM_ACME_COYOTE (ret); 1738s # else 1738s # return NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_proxy_new_sync: 1738s # * @connection: A #GDBusConnection. 1738s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1738s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1738s # * @object_path: An object path. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @error: Return location for error or %NULL 1738s # * 1738s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1738s # * 1738s # * The calling thread is blocked until a reply is received. 1738s # * 1738s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1738s # * 1738s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1738s # */ 1738s # ComAcmeCoyote * 1738s # com_acme_coyote_proxy_new_sync ( 1738s # GDBusConnection *connection, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error) 1738s # { 1738s # GInitable *ret; 1738s # 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); 1738s # if (ret != NULL) 1738s # return COM_ACME_COYOTE (ret); 1738s # else 1738s # return NULL; 1738s # } 1738s # 1738s # 1738s # /** 1738s # * com_acme_coyote_proxy_new_for_bus: 1738s # * @bus_type: A #GBusType. 1738s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1738s # * @name: A bus name (well-known or unique). 1738s # * @object_path: An object path. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1738s # * @user_data: User data to pass to @callback. 1738s # * 1738s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1738s # * 1738s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1738s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1738s # * 1738s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1738s # */ 1738s # void 1738s # com_acme_coyote_proxy_new_for_bus ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GAsyncReadyCallback callback, 1738s # gpointer user_data) 1738s # { 1738s # 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); 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_proxy_new_for_bus_finish: 1738s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1738s # * @error: Return location for error or %NULL 1738s # * 1738s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1738s # * 1738s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1738s # */ 1738s # ComAcmeCoyote * 1738s # com_acme_coyote_proxy_new_for_bus_finish ( 1738s # GAsyncResult *res, 1738s # GError **error) 1738s # { 1738s # GObject *ret; 1738s # GObject *source_object; 1738s # source_object = g_async_result_get_source_object (res); 1738s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1738s # g_object_unref (source_object); 1738s # if (ret != NULL) 1738s # return COM_ACME_COYOTE (ret); 1738s # else 1738s # return NULL; 1738s # } 1738s # 1738s # /** 1738s # * com_acme_coyote_proxy_new_for_bus_sync: 1738s # * @bus_type: A #GBusType. 1738s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1738s # * @name: A bus name (well-known or unique). 1738s # * @object_path: An object path. 1738s # * @cancellable: (nullable): A #GCancellable or %NULL. 1738s # * @error: Return location for error or %NULL 1738s # * 1738s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1738s # * 1738s # * The calling thread is blocked until a reply is received. 1738s # * 1738s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1738s # * 1738s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1738s # */ 1738s # ComAcmeCoyote * 1738s # com_acme_coyote_proxy_new_for_bus_sync ( 1738s # GBusType bus_type, 1738s # GDBusProxyFlags flags, 1738s # const gchar *name, 1738s # const gchar *object_path, 1738s # GCancellable *cancellable, 1738s # GError **error) 1738s # { 1738s # GInitable *ret; 1738s # 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); 1738s # if (ret != NULL) 1738s # return COM_ACME_COYOTE (ret); 1738s # else 1738s # return NULL; 1738s # } 1738s # 1738s # 1738s # /* ------------------------------------------------------------------------ */ 1738s # 1738s # /** 1738s # * ComAcmeCoyoteSkeleton: 1738s # * 1738s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1738s # */ 1738s # 1738s # /** 1738s # * ComAcmeCoyoteSkeletonClass: 1738s # * @parent_class: The parent class. 1738s # * 1738s # * Class structure for #ComAcmeCoyoteSkeleton. 1738s # */ 1738s # 1738s # struct _ComAcmeCoyoteSkeletonPrivate 1738s # { 1738s # GValue *properties; 1738s # GList *changed_properties; 1738s # GSource *changed_properties_idle_source; 1738s # GMainContext *context; 1738s # GMutex lock; 1738s # }; 1738s # 1738s # static void 1738s # _com_acme_coyote_skeleton_handle_method_call ( 1738s # GDBusConnection *connection G_GNUC_UNUSED, 1738s # const gchar *sender G_GNUC_UNUSED, 1738s # const gchar *object_path G_GNUC_UNUSED, 1738s # const gchar *interface_name, 1738s # const gchar *method_name, 1738s # GVariant *parameters, 1738s # GDBusMethodInvocation *invocation, 1738s # gpointer user_data) 1738s # { 1738s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1738s # _ExtendedGDBusMethodInfo *info; 1738s # GVariantIter iter; 1738s # GVariant *child; 1738s # GValue *paramv; 1738s # gsize num_params; 1738s # guint num_extra; 1738s # gsize n; 1738s # guint signal_id; 1738s # GValue return_value = G_VALUE_INIT; 1738s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1738s # g_assert (info != NULL); 1738s # num_params = g_variant_n_children (parameters); 1738s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1738s # n = 0; 1738s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1738s # g_value_set_object (¶mv[n++], skeleton); 1738s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1738s # g_value_set_object (¶mv[n++], invocation); 1738s # if (info->pass_fdlist) 1738s # { 1738s # #ifdef G_OS_UNIX 1738s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1738s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1738s # #else 1738s # g_assert_not_reached (); 1738s # #endif 1738s # } 1738s # g_variant_iter_init (&iter, parameters); 1738s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1738s # { 1738s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1738s # if (arg_info->use_gvariant) 1738s # { 1738s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1738s # g_value_set_variant (¶mv[n], child); 1738s # n++; 1738s # } 1738s # else 1738s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1738s # g_variant_unref (child); 1738s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1739s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1739s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1739s # if (!g_value_get_boolean (&return_value)) 1739s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1739s # g_value_unset (&return_value); 1739s # for (n = 0; n < num_params + num_extra; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static GVariant * 1739s # _com_acme_coyote_skeleton_handle_get_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # GVariant *ret; 1739s # ret = NULL; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # g_value_init (&value, pspec->value_type); 1739s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1739s # g_value_unset (&value); 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static gboolean 1739s # _com_acme_coyote_skeleton_handle_set_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GVariant *variant, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # gboolean ret; 1739s # ret = FALSE; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # if (info->use_gvariant) 1739s # g_value_set_variant (&value, variant); 1739s # else 1739s # g_dbus_gvariant_to_gvalue (variant, &value); 1739s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # g_value_unset (&value); 1739s # ret = TRUE; 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1739s # { 1739s # _com_acme_coyote_skeleton_handle_method_call, 1739s # _com_acme_coyote_skeleton_handle_get_property, 1739s # _com_acme_coyote_skeleton_handle_set_property, 1739s # {NULL} 1739s # }; 1739s # 1739s # static GDBusInterfaceInfo * 1739s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return com_acme_coyote_interface_info (); 1739s # } 1739s # 1739s # static GDBusInterfaceVTable * 1739s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1739s # } 1739s # 1739s # static GVariant * 1739s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1739s # 1739s # GVariantBuilder builder; 1739s # guint n; 1739s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1739s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1739s # goto out; 1739s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1739s # { 1739s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1739s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1739s # { 1739s # GVariant *value; 1739s # 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); 1739s # if (value != NULL) 1739s # { 1739s # g_variant_take_ref (value); 1739s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1739s # g_variant_unref (value); 1739s # } 1739s # } 1739s # } 1739s # out: 1739s # return g_variant_builder_end (&builder); 1739s # } 1739s # 1739s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1739s # gboolean emit_changed = FALSE; 1739s # 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # if (skeleton->priv->changed_properties_idle_source != NULL) 1739s # { 1739s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1739s # skeleton->priv->changed_properties_idle_source = NULL; 1739s # emit_changed = TRUE; 1739s # } 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # 1739s # if (emit_changed) 1739s # _com_acme_coyote_emit_changed (skeleton); 1739s # } 1739s # 1739s # static void 1739s # _com_acme_coyote_on_signal_surprised ( 1739s # ComAcmeCoyote *object) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # 1739s # GList *connections, *l; 1739s # GVariant *signal_variant; 1739s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1739s # 1739s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1739s # for (l = connections; l != NULL; l = l->next) 1739s # { 1739s # GDBusConnection *connection = l->data; 1739s # g_dbus_connection_emit_signal (connection, 1739s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1739s # signal_variant, NULL); 1739s # } 1739s # g_variant_unref (signal_variant); 1739s # g_list_free_full (connections, g_object_unref); 1739s # } 1739s # 1739s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1739s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # com_acme_coyote_skeleton_finalize (GObject *object) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # guint n; 1739s # for (n = 0; n < 1; n++) 1739s # g_value_unset (&skeleton->priv->properties[n]); 1739s # g_free (skeleton->priv->properties); 1739s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1739s # if (skeleton->priv->changed_properties_idle_source != NULL) 1739s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1739s # g_main_context_unref (skeleton->priv->context); 1739s # g_mutex_clear (&skeleton->priv->lock); 1739s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_get_property (GObject *object, 1739s # guint prop_id, 1739s # GValue *value, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # } 1739s # 1739s # static gboolean 1739s # _com_acme_coyote_emit_changed (gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # GList *l; 1739s # GVariantBuilder builder; 1739s # GVariantBuilder invalidated_builder; 1739s # guint num_changes; 1739s # 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1739s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1739s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1739s # { 1739s # ChangedProperty *cp = l->data; 1739s # GVariant *variant; 1739s # const GValue *cur_value; 1739s # 1739s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1739s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1739s # { 1739s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1739s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1739s # g_variant_unref (variant); 1739s # num_changes++; 1739s # } 1739s # } 1739s # if (num_changes > 0) 1739s # { 1739s # GList *connections, *ll; 1739s # GVariant *signal_variant; 1739s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1739s # &builder, &invalidated_builder)); 1739s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1739s # for (ll = connections; ll != NULL; ll = ll->next) 1739s # { 1739s # GDBusConnection *connection = ll->data; 1739s # 1739s # g_dbus_connection_emit_signal (connection, 1739s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1739s # "org.freedesktop.DBus.Properties", 1739s # "PropertiesChanged", 1739s # signal_variant, 1739s # NULL); 1739s # } 1739s # g_variant_unref (signal_variant); 1739s # g_list_free_full (connections, g_object_unref); 1739s # } 1739s # else 1739s # { 1739s # g_variant_builder_clear (&builder); 1739s # g_variant_builder_clear (&invalidated_builder); 1739s # } 1739s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1739s # skeleton->priv->changed_properties = NULL; 1739s # skeleton->priv->changed_properties_idle_source = NULL; 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # return FALSE; 1739s # } 1739s # 1739s # static void 1739s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1739s # { 1739s # ChangedProperty *cp; 1739s # GList *l; 1739s # cp = NULL; 1739s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1739s # { 1739s # ChangedProperty *i_cp = l->data; 1739s # if (i_cp->info == info) 1739s # { 1739s # cp = i_cp; 1739s # break; 1739s # } 1739s # } 1739s # if (cp == NULL) 1739s # { 1739s # cp = g_new0 (ChangedProperty, 1); 1739s # cp->prop_id = prop_id; 1739s # cp->info = info; 1739s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1739s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1739s # g_value_copy (orig_value, &cp->orig_value); 1739s # } 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_notify (GObject *object, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # if (skeleton->priv->changed_properties != NULL && 1739s # skeleton->priv->changed_properties_idle_source == NULL) 1739s # { 1739s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1739s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1739s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1739s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1739s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1739s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1739s # } 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_set_property (GObject *object, 1739s # guint prop_id, 1739s # const GValue *value, 1739s # GParamSpec *pspec) 1739s # { 1739s # const _ExtendedGDBusPropertyInfo *info; 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1739s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # g_object_freeze_notify (object); 1739s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1739s # { 1739s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1739s # info->emits_changed_signal) 1739s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1739s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1739s # g_object_notify_by_pspec (object, pspec); 1739s # } 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # g_object_thaw_notify (object); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1739s # #else 1739s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1739s # #endif 1739s # 1739s # g_mutex_init (&skeleton->priv->lock); 1739s # skeleton->priv->context = g_main_context_ref_thread_default (); 1739s # skeleton->priv->properties = g_new0 (GValue, 1); 1739s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1739s # } 1739s # 1739s # static const gchar * 1739s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # const gchar *value; 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # return value; 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusInterfaceSkeletonClass *skeleton_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1739s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1739s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1739s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1739s # 1739s # 1739s # com_acme_coyote_override_properties (gobject_class, 1); 1739s # 1739s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1739s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1739s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1739s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1739s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1739s # { 1739s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1739s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_skeleton_new: 1739s # * 1739s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1739s # * 1739s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1739s # */ 1739s # ComAcmeCoyote * 1739s # com_acme_coyote_skeleton_new (void) 1739s # { 1739s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1739s # } 1739s # 1739s # /* ------------------------------------------------------------------------ 1739s # * Code for interface org.project.Bar.Frobnicator 1739s # * ------------------------------------------------------------------------ 1739s # */ 1739s # 1739s # /** 1739s # * SECTION:OrgProjectBarFrobnicator 1739s # * @title: OrgProjectBarFrobnicator 1739s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1739s # * 1739s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1739s # */ 1739s # 1739s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1739s # 1739s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "RandomMethod", 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "handle-random-method", 1739s # FALSE 1739s # }; 1739s # 1739s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1739s # { 1739s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1739s # NULL 1739s # }; 1739s # 1739s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "org.project.Bar.Frobnicator", 1739s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "org-project-bar-frobnicator", 1739s # }; 1739s # 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_interface_info: 1739s # * 1739s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1739s # * 1739s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1739s # */ 1739s # GDBusInterfaceInfo * 1739s # org_project_bar_frobnicator_interface_info (void) 1739s # { 1739s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_override_properties: 1739s # * @klass: The class structure for a #GObject derived class. 1739s # * @property_id_begin: The property id to assign to the first overridden property. 1739s # * 1739s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1739s # * The properties are overridden in the order they are defined. 1739s # * 1739s # * Returns: The last property id. 1739s # */ 1739s # guint 1739s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1739s # { 1739s # return property_id_begin - 1; 1739s # } 1739s # 1739s # 1739s # inline static void 1739s # org_project_bar_frobnicator_method_marshal_random_method ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint, 1739s # void *marshal_data) 1739s # { 1739s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1739s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1739s # } 1739s # 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicator: 1739s # * 1739s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1739s # */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorIface: 1739s # * @parent_iface: The parent interface. 1739s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1739s # * 1739s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1739s # */ 1739s # 1739s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1739s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1739s # { 1739s # /* GObject signals for incoming D-Bus method calls: */ 1739s # /** 1739s # * OrgProjectBarFrobnicator::handle-random-method: 1739s # * @object: A #OrgProjectBarFrobnicator. 1739s # * @invocation: A #GDBusMethodInvocation. 1739s # * 1739s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1739s # * 1739s # * 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. 1739s # * 1739s # * 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. 1739s # */ 1739s # g_signal_new ("handle-random-method", 1739s # G_TYPE_FROM_INTERFACE (iface), 1739s # G_SIGNAL_RUN_LAST, 1739s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1739s # g_signal_accumulator_true_handled, 1739s # NULL, 1739s # org_project_bar_frobnicator_method_marshal_random_method, 1739s # G_TYPE_BOOLEAN, 1739s # 1, 1739s # G_TYPE_DBUS_METHOD_INVOCATION); 1739s # 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_call_random_method: 1739s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1739s # * 1739s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_call_random_method ( 1739s # OrgProjectBarFrobnicator *proxy, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1739s # "RandomMethod", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # callback, 1739s # user_data); 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_call_random_method_finish: 1739s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # org_project_bar_frobnicator_call_random_method_finish ( 1739s # OrgProjectBarFrobnicator *proxy, 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_call_random_method_sync: 1739s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1739s # * 1739s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # org_project_bar_frobnicator_call_random_method_sync ( 1739s # OrgProjectBarFrobnicator *proxy, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1739s # "RandomMethod", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_complete_random_method: 1739s # * @object: A #OrgProjectBarFrobnicator. 1739s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1739s # * 1739s # * 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. 1739s # * 1739s # * This method will free @invocation, you cannot use it afterwards. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_complete_random_method ( 1739s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1739s # GDBusMethodInvocation *invocation) 1739s # { 1739s # g_dbus_method_invocation_return_value (invocation, 1739s # g_variant_new ("()")); 1739s # } 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorProxy: 1739s # * 1739s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1739s # */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorProxyClass: 1739s # * @parent_class: The parent class. 1739s # * 1739s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1739s # */ 1739s # 1739s # struct _OrgProjectBarFrobnicatorProxyPrivate 1739s # { 1739s # GData *qdata; 1739s # }; 1739s # 1739s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1739s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1739s # { 1739s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1739s # g_datalist_clear (&proxy->priv->qdata); 1739s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1739s # guint prop_id G_GNUC_UNUSED, 1739s # GValue *value G_GNUC_UNUSED, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1739s # guint prop_id G_GNUC_UNUSED, 1739s # const GValue *value G_GNUC_UNUSED, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1739s # const gchar *sender_name G_GNUC_UNUSED, 1739s # const gchar *signal_name, 1739s # GVariant *parameters) 1739s # { 1739s # _ExtendedGDBusSignalInfo *info; 1739s # GVariantIter iter; 1739s # GVariant *child; 1739s # GValue *paramv; 1739s # gsize num_params; 1739s # gsize n; 1739s # guint signal_id; 1739s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1739s # if (info == NULL) 1739s # return; 1739s # num_params = g_variant_n_children (parameters); 1739s # paramv = g_new0 (GValue, num_params + 1); 1739s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_value_set_object (¶mv[0], proxy); 1739s # g_variant_iter_init (&iter, parameters); 1739s # n = 1; 1739s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1739s # { 1739s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1739s # if (arg_info->use_gvariant) 1739s # { 1739s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1739s # g_value_set_variant (¶mv[n], child); 1739s # n++; 1739s # } 1739s # else 1739s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1739s # g_variant_unref (child); 1739s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_signal_emitv (paramv, signal_id, 0, NULL); 1739s # for (n = 0; n < num_params + 1; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1739s # GVariant *changed_properties, 1739s # const gchar *const *invalidated_properties) 1739s # { 1739s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1739s # guint n; 1739s # const gchar *key; 1739s # GVariantIter *iter; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # g_variant_get (changed_properties, "a{sv}", &iter); 1739s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1739s # { 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1739s # g_datalist_remove_data (&proxy->priv->qdata, key); 1739s # if (info != NULL) 1739s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1739s # } 1739s # g_variant_iter_free (iter); 1739s # for (n = 0; invalidated_properties[n] != NULL; n++) 1739s # { 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1739s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1739s # if (info != NULL) 1739s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1739s # } 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1739s # #else 1739s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1739s # #endif 1739s # 1739s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusProxyClass *proxy_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1739s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1739s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1739s # 1739s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1739s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1739s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new: 1739s # * @connection: A #GDBusConnection. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1739s # * 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_proxy_new ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # 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); 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_finish: 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_finish ( 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GObject *ret; 1739s # GObject *source_object; 1739s # source_object = g_async_result_get_source_object (res); 1739s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1739s # g_object_unref (source_object); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_sync: 1739s # * @connection: A #GDBusConnection. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1739s # * 1739s # * The calling thread is blocked until a reply is received. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_sync ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GInitable *ret; 1739s # 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); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_for_bus: 1739s # * @bus_type: A #GBusType. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: A bus name (well-known or unique). 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1739s # * 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_proxy_new_for_bus ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # 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); 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GObject *ret; 1739s # GObject *source_object; 1739s # source_object = g_async_result_get_source_object (res); 1739s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1739s # g_object_unref (source_object); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1739s # * @bus_type: A #GBusType. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: A bus name (well-known or unique). 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1739s # * 1739s # * The calling thread is blocked until a reply is received. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GInitable *ret; 1739s # 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); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorSkeleton: 1739s # * 1739s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1739s # */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorSkeletonClass: 1739s # * @parent_class: The parent class. 1739s # * 1739s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1739s # */ 1739s # 1739s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1739s # { 1739s # GValue *properties; 1739s # GList *changed_properties; 1739s # GSource *changed_properties_idle_source; 1739s # GMainContext *context; 1739s # GMutex lock; 1739s # }; 1739s # 1739s # static void 1739s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name, 1739s # const gchar *method_name, 1739s # GVariant *parameters, 1739s # GDBusMethodInvocation *invocation, 1739s # gpointer user_data) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1739s # _ExtendedGDBusMethodInfo *info; 1739s # GVariantIter iter; 1739s # GVariant *child; 1739s # GValue *paramv; 1739s # gsize num_params; 1739s # guint num_extra; 1739s # gsize n; 1739s # guint signal_id; 1739s # GValue return_value = G_VALUE_INIT; 1739s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1739s # g_assert (info != NULL); 1739s # num_params = g_variant_n_children (parameters); 1739s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1739s # n = 0; 1739s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_value_set_object (¶mv[n++], skeleton); 1739s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1739s # g_value_set_object (¶mv[n++], invocation); 1739s # if (info->pass_fdlist) 1739s # { 1739s # #ifdef G_OS_UNIX 1739s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1739s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1739s # #else 1739s # g_assert_not_reached (); 1739s # #endif 1739s # } 1739s # g_variant_iter_init (&iter, parameters); 1739s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1739s # { 1739s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1739s # if (arg_info->use_gvariant) 1739s # { 1739s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1739s # g_value_set_variant (¶mv[n], child); 1739s # n++; 1739s # } 1739s # else 1739s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1739s # g_variant_unref (child); 1739s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1739s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1739s # if (!g_value_get_boolean (&return_value)) 1739s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1739s # g_value_unset (&return_value); 1739s # for (n = 0; n < num_params + num_extra; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static GVariant * 1739s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # GVariant *ret; 1739s # ret = NULL; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # g_value_init (&value, pspec->value_type); 1739s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1739s # g_value_unset (&value); 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static gboolean 1739s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GVariant *variant, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # gboolean ret; 1739s # ret = FALSE; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # if (info->use_gvariant) 1739s # g_value_set_variant (&value, variant); 1739s # else 1739s # g_dbus_gvariant_to_gvalue (variant, &value); 1739s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # g_value_unset (&value); 1739s # ret = TRUE; 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1739s # { 1739s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1739s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1739s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1739s # {NULL} 1739s # }; 1739s # 1739s # static GDBusInterfaceInfo * 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return org_project_bar_frobnicator_interface_info (); 1739s # } 1739s # 1739s # static GDBusInterfaceVTable * 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1739s # } 1739s # 1739s # static GVariant * 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1739s # 1739s # GVariantBuilder builder; 1739s # guint n; 1739s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1739s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1739s # goto out; 1739s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1739s # { 1739s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1739s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1739s # { 1739s # GVariant *value; 1739s # 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); 1739s # if (value != NULL) 1739s # { 1739s # g_variant_take_ref (value); 1739s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1739s # g_variant_unref (value); 1739s # } 1739s # } 1739s # } 1739s # out: 1739s # return g_variant_builder_end (&builder); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1739s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1739s # if (skeleton->priv->changed_properties_idle_source != NULL) 1739s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1739s # g_main_context_unref (skeleton->priv->context); 1739s # g_mutex_clear (&skeleton->priv->lock); 1739s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1739s # #else 1739s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1739s # #endif 1739s # 1739s # g_mutex_init (&skeleton->priv->lock); 1739s # skeleton->priv->context = g_main_context_ref_thread_default (); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusInterfaceSkeletonClass *skeleton_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1739s # 1739s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1739s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1739s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1739s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1739s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_skeleton_new: 1739s # * 1739s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_skeleton_new (void) 1739s # { 1739s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1739s # } 1739s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6z7wyj00/tmpwnn1qd5z2.xml', '/tmp/tmp6z7wyj00/tmprf23suk41.xml', '--output', '-', '--body'] 1739s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1739s # Output: /* 1739s # * This file is generated by gdbus-codegen, do not modify it. 1739s # * 1739s # * The license of this code is the same as for the D-Bus interface description 1739s # * it was derived from. Note that it links to GLib, so must comply with the 1739s # * LGPL linking clauses. 1739s # */ 1739s # 1739s # #ifdef HAVE_CONFIG_H 1739s # # include "config.h" 1739s # #endif 1739s # 1739s # #include 1739s # #ifdef G_OS_UNIX 1739s # # include 1739s # #endif 1739s # 1739s # #ifdef G_ENABLE_DEBUG 1739s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1739s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1739s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1739s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1739s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1739s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1739s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1739s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1739s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1739s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1739s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1739s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1739s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1739s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1739s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1739s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1739s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1739s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1739s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1739s # #else /* !G_ENABLE_DEBUG */ 1739s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1739s # * Do not access GValues directly in your code. Instead, use the 1739s # * g_value_get_*() functions 1739s # */ 1739s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1739s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1739s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1739s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1739s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1739s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1739s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1739s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1739s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1739s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1739s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1739s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1739s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1739s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1739s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1739s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1739s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1739s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1739s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1739s # #endif /* !G_ENABLE_DEBUG */ 1739s # 1739s # typedef struct 1739s # { 1739s # GDBusArgInfo parent_struct; 1739s # gboolean use_gvariant; 1739s # } _ExtendedGDBusArgInfo; 1739s # 1739s # typedef struct 1739s # { 1739s # GDBusMethodInfo parent_struct; 1739s # const gchar *signal_name; 1739s # gboolean pass_fdlist; 1739s # } _ExtendedGDBusMethodInfo; 1739s # 1739s # typedef struct 1739s # { 1739s # GDBusSignalInfo parent_struct; 1739s # const gchar *signal_name; 1739s # } _ExtendedGDBusSignalInfo; 1739s # 1739s # typedef struct 1739s # { 1739s # GDBusPropertyInfo parent_struct; 1739s # const gchar *hyphen_name; 1739s # guint use_gvariant : 1; 1739s # guint emits_changed_signal : 1; 1739s # } _ExtendedGDBusPropertyInfo; 1739s # 1739s # typedef struct 1739s # { 1739s # GDBusInterfaceInfo parent_struct; 1739s # const gchar *hyphen_name; 1739s # } _ExtendedGDBusInterfaceInfo; 1739s # 1739s # typedef struct 1739s # { 1739s # const _ExtendedGDBusPropertyInfo *info; 1739s # guint prop_id; 1739s # GValue orig_value; /* the value before the change */ 1739s # } ChangedProperty; 1739s # 1739s # static void 1739s # _changed_property_free (ChangedProperty *data) 1739s # { 1739s # g_value_unset (&data->orig_value); 1739s # g_free (data); 1739s # } 1739s # 1739s # static gboolean 1739s # _g_strv_equal0 (gchar **a, gchar **b) 1739s # { 1739s # gboolean ret = FALSE; 1739s # guint n; 1739s # if (a == NULL && b == NULL) 1739s # { 1739s # ret = TRUE; 1739s # goto out; 1739s # } 1739s # if (a == NULL || b == NULL) 1739s # goto out; 1739s # if (g_strv_length (a) != g_strv_length (b)) 1739s # goto out; 1739s # for (n = 0; a[n] != NULL; n++) 1739s # if (g_strcmp0 (a[n], b[n]) != 0) 1739s # goto out; 1739s # ret = TRUE; 1739s # out: 1739s # return ret; 1739s # } 1739s # 1739s # static gboolean 1739s # _g_variant_equal0 (GVariant *a, GVariant *b) 1739s # { 1739s # gboolean ret = FALSE; 1739s # if (a == NULL && b == NULL) 1739s # { 1739s # ret = TRUE; 1739s # goto out; 1739s # } 1739s # if (a == NULL || b == NULL) 1739s # goto out; 1739s # ret = g_variant_equal (a, b); 1739s # out: 1739s # return ret; 1739s # } 1739s # 1739s # G_GNUC_UNUSED static gboolean 1739s # _g_value_equal (const GValue *a, const GValue *b) 1739s # { 1739s # gboolean ret = FALSE; 1739s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1739s # switch (G_VALUE_TYPE (a)) 1739s # { 1739s # case G_TYPE_BOOLEAN: 1739s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1739s # break; 1739s # case G_TYPE_UCHAR: 1739s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1739s # break; 1739s # case G_TYPE_INT: 1739s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1739s # break; 1739s # case G_TYPE_UINT: 1739s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1739s # break; 1739s # case G_TYPE_INT64: 1739s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1739s # break; 1739s # case G_TYPE_UINT64: 1739s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1739s # break; 1739s # case G_TYPE_DOUBLE: 1739s # { 1739s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1739s # gdouble da = g_value_get_double (a); 1739s # gdouble db = g_value_get_double (b); 1739s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1739s # } 1739s # break; 1739s # case G_TYPE_STRING: 1739s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1739s # break; 1739s # case G_TYPE_VARIANT: 1739s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1739s # break; 1739s # default: 1739s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1739s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1739s # else 1739s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1739s # break; 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static void 1739s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint G_GNUC_UNUSED, 1739s # void *marshal_data) 1739s # { 1739s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1739s # (void *data1, 1739s # GDBusMethodInvocation *arg_method_invocation, 1739s # void *data2); 1739s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1739s # GCClosure *cc = (GCClosure*) closure; 1739s # void *data1, *data2; 1739s # gboolean v_return; 1739s # 1739s # g_return_if_fail (return_value != NULL); 1739s # g_return_if_fail (n_param_values == 2); 1739s # 1739s # if (G_CCLOSURE_SWAP_DATA (closure)) 1739s # { 1739s # data1 = closure->data; 1739s # data2 = g_value_peek_pointer (param_values + 0); 1739s # } 1739s # else 1739s # { 1739s # data1 = g_value_peek_pointer (param_values + 0); 1739s # data2 = closure->data; 1739s # } 1739s # 1739s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1739s # (marshal_data ? marshal_data : cc->callback); 1739s # 1739s # v_return = 1739s # callback (data1, 1739s # g_marshal_value_peek_object (param_values + 1), 1739s # data2); 1739s # 1739s # g_value_set_boolean (return_value, v_return); 1739s # } 1739s # 1739s # /* ------------------------------------------------------------------------ 1739s # * Code for interface com.acme.Coyote 1739s # * ------------------------------------------------------------------------ 1739s # */ 1739s # 1739s # /** 1739s # * SECTION:ComAcmeCoyote 1739s # * @title: ComAcmeCoyote 1739s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1739s # * 1739s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1739s # */ 1739s # 1739s # enum 1739s # { 1739s # _COM_ACME_COYOTE_SURPRISED, 1739s # }; 1739s # 1739s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1739s # 1739s # /* ---- Introspection data for com.acme.Coyote ---- */ 1739s # 1739s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "Run", 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "handle-run", 1739s # FALSE 1739s # }; 1739s # 1739s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "Sleep", 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "handle-sleep", 1739s # FALSE 1739s # }; 1739s # 1739s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "Attack", 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "handle-attack", 1739s # FALSE 1739s # }; 1739s # 1739s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1739s # { 1739s # &_com_acme_coyote_method_info_run.parent_struct, 1739s # &_com_acme_coyote_method_info_sleep.parent_struct, 1739s # &_com_acme_coyote_method_info_attack.parent_struct, 1739s # NULL 1739s # }; 1739s # 1739s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "Surprised", 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "surprised" 1739s # }; 1739s # 1739s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1739s # { 1739s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1739s # NULL 1739s # }; 1739s # 1739s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "Mood", 1739s # (gchar *) "s", 1739s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1739s # NULL 1739s # }, 1739s # "mood", 1739s # FALSE, 1739s # TRUE 1739s # }; 1739s # 1739s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1739s # { 1739s # &_com_acme_coyote_property_info_mood.parent_struct, 1739s # NULL 1739s # }; 1739s # 1739s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "com.acme.Coyote", 1739s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1739s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1739s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1739s # NULL 1739s # }, 1739s # "com-acme-coyote", 1739s # }; 1739s # 1739s # 1739s # /** 1739s # * com_acme_coyote_interface_info: 1739s # * 1739s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1739s # * 1739s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1739s # */ 1739s # GDBusInterfaceInfo * 1739s # com_acme_coyote_interface_info (void) 1739s # { 1739s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_override_properties: 1739s # * @klass: The class structure for a #GObject derived class. 1739s # * @property_id_begin: The property id to assign to the first overridden property. 1739s # * 1739s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1739s # * The properties are overridden in the order they are defined. 1739s # * 1739s # * Returns: The last property id. 1739s # */ 1739s # guint 1739s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1739s # { 1739s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1739s # return property_id_begin - 1; 1739s # } 1739s # 1739s # 1739s # inline static void 1739s # com_acme_coyote_signal_marshal_surprised ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint, 1739s # void *marshal_data) 1739s # { 1739s # g_cclosure_marshal_VOID__VOID (closure, 1739s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1739s # } 1739s # 1739s # inline static void 1739s # com_acme_coyote_method_marshal_run ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint, 1739s # void *marshal_data) 1739s # { 1739s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1739s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1739s # } 1739s # 1739s # inline static void 1739s # com_acme_coyote_method_marshal_sleep ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint, 1739s # void *marshal_data) 1739s # { 1739s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1739s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1739s # } 1739s # 1739s # inline static void 1739s # com_acme_coyote_method_marshal_attack ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint, 1739s # void *marshal_data) 1739s # { 1739s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1739s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1739s # } 1739s # 1739s # 1739s # /** 1739s # * ComAcmeCoyote: 1739s # * 1739s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1739s # */ 1739s # 1739s # /** 1739s # * ComAcmeCoyoteIface: 1739s # * @parent_iface: The parent interface. 1739s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1739s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1739s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1739s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1739s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1739s # * 1739s # * Virtual table for the D-Bus interface com.acme.Coyote. 1739s # */ 1739s # 1739s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1739s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1739s # 1739s # static void 1739s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1739s # { 1739s # /* GObject signals for incoming D-Bus method calls: */ 1739s # /** 1739s # * ComAcmeCoyote::handle-run: 1739s # * @object: A #ComAcmeCoyote. 1739s # * @invocation: A #GDBusMethodInvocation. 1739s # * 1739s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1739s # * 1739s # * 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. 1739s # * 1739s # * 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. 1739s # */ 1739s # g_signal_new ("handle-run", 1739s # G_TYPE_FROM_INTERFACE (iface), 1739s # G_SIGNAL_RUN_LAST, 1739s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1739s # g_signal_accumulator_true_handled, 1739s # NULL, 1739s # com_acme_coyote_method_marshal_run, 1739s # G_TYPE_BOOLEAN, 1739s # 1, 1739s # G_TYPE_DBUS_METHOD_INVOCATION); 1739s # 1739s # /** 1739s # * ComAcmeCoyote::handle-sleep: 1739s # * @object: A #ComAcmeCoyote. 1739s # * @invocation: A #GDBusMethodInvocation. 1739s # * 1739s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1739s # * 1739s # * 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. 1739s # * 1739s # * 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. 1739s # */ 1739s # g_signal_new ("handle-sleep", 1739s # G_TYPE_FROM_INTERFACE (iface), 1739s # G_SIGNAL_RUN_LAST, 1739s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1739s # g_signal_accumulator_true_handled, 1739s # NULL, 1739s # com_acme_coyote_method_marshal_sleep, 1739s # G_TYPE_BOOLEAN, 1739s # 1, 1739s # G_TYPE_DBUS_METHOD_INVOCATION); 1739s # 1739s # /** 1739s # * ComAcmeCoyote::handle-attack: 1739s # * @object: A #ComAcmeCoyote. 1739s # * @invocation: A #GDBusMethodInvocation. 1739s # * 1739s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1739s # * 1739s # * 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. 1739s # * 1739s # * 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. 1739s # */ 1739s # g_signal_new ("handle-attack", 1739s # G_TYPE_FROM_INTERFACE (iface), 1739s # G_SIGNAL_RUN_LAST, 1739s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1739s # g_signal_accumulator_true_handled, 1739s # NULL, 1739s # com_acme_coyote_method_marshal_attack, 1739s # G_TYPE_BOOLEAN, 1739s # 1, 1739s # G_TYPE_DBUS_METHOD_INVOCATION); 1739s # 1739s # /* GObject signals for received D-Bus signals: */ 1739s # /** 1739s # * ComAcmeCoyote::surprised: 1739s # * @object: A #ComAcmeCoyote. 1739s # * 1739s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1739s # * 1739s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1739s # */ 1739s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1739s # g_signal_new ("surprised", 1739s # G_TYPE_FROM_INTERFACE (iface), 1739s # G_SIGNAL_RUN_LAST, 1739s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1739s # NULL, 1739s # NULL, 1739s # com_acme_coyote_signal_marshal_surprised, 1739s # G_TYPE_NONE, 1739s # 0); 1739s # 1739s # /* GObject properties for D-Bus properties: */ 1739s # /** 1739s # * ComAcmeCoyote:mood: 1739s # * 1739s # * Represents the D-Bus property "Mood". 1739s # * 1739s # * 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. 1739s # */ 1739s # g_object_interface_install_property (iface, 1739s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_get_mood: (skip) 1739s # * @object: A #ComAcmeCoyote. 1739s # * 1739s # * Gets the value of the "Mood" D-Bus property. 1739s # * 1739s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1739s # * 1739s # * 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. 1739s # * 1739s # * 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. 1739s # */ 1739s # const gchar * 1739s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1739s # { 1739s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1739s # 1739s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_dup_mood: (skip) 1739s # * @object: A #ComAcmeCoyote. 1739s # * 1739s # * Gets a copy of the "Mood" D-Bus property. 1739s # * 1739s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1739s # * 1739s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1739s # */ 1739s # gchar * 1739s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1739s # { 1739s # gchar *value; 1739s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1739s # return value; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_set_mood: (skip) 1739s # * @object: A #ComAcmeCoyote. 1739s # * @value: The value to set. 1739s # * 1739s # * Sets the "Mood" D-Bus property to @value. 1739s # * 1739s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1739s # */ 1739s # void 1739s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1739s # { 1739s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_emit_surprised: 1739s # * @object: A #ComAcmeCoyote. 1739s # * 1739s # * Emits the "Surprised" D-Bus signal. 1739s # */ 1739s # void 1739s # com_acme_coyote_emit_surprised ( 1739s # ComAcmeCoyote *object) 1739s # { 1739s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_run: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1739s # * 1739s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1739s # */ 1739s # void 1739s # com_acme_coyote_call_run ( 1739s # ComAcmeCoyote *proxy, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1739s # "Run", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # callback, 1739s # user_data); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_run_finish: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Finishes an operation started with com_acme_coyote_call_run(). 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # com_acme_coyote_call_run_finish ( 1739s # ComAcmeCoyote *proxy, 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_run_sync: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1739s # * 1739s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # com_acme_coyote_call_run_sync ( 1739s # ComAcmeCoyote *proxy, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1739s # "Run", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_sleep: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1739s # * 1739s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1739s # */ 1739s # void 1739s # com_acme_coyote_call_sleep ( 1739s # ComAcmeCoyote *proxy, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1739s # "Sleep", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # callback, 1739s # user_data); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_sleep_finish: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # com_acme_coyote_call_sleep_finish ( 1739s # ComAcmeCoyote *proxy, 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_sleep_sync: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1739s # * 1739s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # com_acme_coyote_call_sleep_sync ( 1739s # ComAcmeCoyote *proxy, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1739s # "Sleep", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_attack: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1739s # * 1739s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1739s # */ 1739s # void 1739s # com_acme_coyote_call_attack ( 1739s # ComAcmeCoyote *proxy, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1739s # "Attack", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # callback, 1739s # user_data); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_attack_finish: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Finishes an operation started with com_acme_coyote_call_attack(). 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # com_acme_coyote_call_attack_finish ( 1739s # ComAcmeCoyote *proxy, 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_call_attack_sync: 1739s # * @proxy: A #ComAcmeCoyoteProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1739s # * 1739s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # com_acme_coyote_call_attack_sync ( 1739s # ComAcmeCoyote *proxy, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1739s # "Attack", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_complete_run: 1739s # * @object: A #ComAcmeCoyote. 1739s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1739s # * 1739s # * 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. 1739s # * 1739s # * This method will free @invocation, you cannot use it afterwards. 1739s # */ 1739s # void 1739s # com_acme_coyote_complete_run ( 1739s # ComAcmeCoyote *object G_GNUC_UNUSED, 1739s # GDBusMethodInvocation *invocation) 1739s # { 1739s # g_dbus_method_invocation_return_value (invocation, 1739s # g_variant_new ("()")); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_complete_sleep: 1739s # * @object: A #ComAcmeCoyote. 1739s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1739s # * 1739s # * 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. 1739s # * 1739s # * This method will free @invocation, you cannot use it afterwards. 1739s # */ 1739s # void 1739s # com_acme_coyote_complete_sleep ( 1739s # ComAcmeCoyote *object G_GNUC_UNUSED, 1739s # GDBusMethodInvocation *invocation) 1739s # { 1739s # g_dbus_method_invocation_return_value (invocation, 1739s # g_variant_new ("()")); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_complete_attack: 1739s # * @object: A #ComAcmeCoyote. 1739s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1739s # * 1739s # * 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. 1739s # * 1739s # * This method will free @invocation, you cannot use it afterwards. 1739s # */ 1739s # void 1739s # com_acme_coyote_complete_attack ( 1739s # ComAcmeCoyote *object G_GNUC_UNUSED, 1739s # GDBusMethodInvocation *invocation) 1739s # { 1739s # g_dbus_method_invocation_return_value (invocation, 1739s # g_variant_new ("()")); 1739s # } 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # 1739s # /** 1739s # * ComAcmeCoyoteProxy: 1739s # * 1739s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1739s # */ 1739s # 1739s # /** 1739s # * ComAcmeCoyoteProxyClass: 1739s # * @parent_class: The parent class. 1739s # * 1739s # * Class structure for #ComAcmeCoyoteProxy. 1739s # */ 1739s # 1739s # struct _ComAcmeCoyoteProxyPrivate 1739s # { 1739s # GData *qdata; 1739s # }; 1739s # 1739s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1739s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1739s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1739s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # com_acme_coyote_proxy_finalize (GObject *object) 1739s # { 1739s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1739s # g_datalist_clear (&proxy->priv->qdata); 1739s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_get_property (GObject *object, 1739s # guint prop_id, 1739s # GValue *value, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # const _ExtendedGDBusPropertyInfo *info; 1739s # GVariant *variant; 1739s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1739s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1739s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1739s # if (info->use_gvariant) 1739s # { 1739s # g_value_set_variant (value, variant); 1739s # } 1739s # else 1739s # { 1739s # if (variant != NULL) 1739s # g_dbus_gvariant_to_gvalue (variant, value); 1739s # } 1739s # if (variant != NULL) 1739s # g_variant_unref (variant); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1739s # GAsyncResult *res, 1739s # gpointer user_data) 1739s # { 1739s # const _ExtendedGDBusPropertyInfo *info = user_data; 1739s # GError *error; 1739s # GVariant *_ret; 1739s # error = NULL; 1739s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1739s # if (!_ret) 1739s # { 1739s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1739s # info->parent_struct.name, 1739s # error->message, g_quark_to_string (error->domain), error->code); 1739s # g_error_free (error); 1739s # } 1739s # else 1739s # { 1739s # g_variant_unref (_ret); 1739s # } 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_set_property (GObject *object, 1739s # guint prop_id, 1739s # const GValue *value, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # const _ExtendedGDBusPropertyInfo *info; 1739s # GVariant *variant; 1739s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1739s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1739s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1739s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1739s # "org.freedesktop.DBus.Properties.Set", 1739s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1739s # g_variant_unref (variant); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1739s # const gchar *sender_name G_GNUC_UNUSED, 1739s # const gchar *signal_name, 1739s # GVariant *parameters) 1739s # { 1739s # _ExtendedGDBusSignalInfo *info; 1739s # GVariantIter iter; 1739s # GVariant *child; 1739s # GValue *paramv; 1739s # gsize num_params; 1739s # gsize n; 1739s # guint signal_id; 1739s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1739s # if (info == NULL) 1739s # return; 1739s # num_params = g_variant_n_children (parameters); 1739s # paramv = g_new0 (GValue, num_params + 1); 1739s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1739s # g_value_set_object (¶mv[0], proxy); 1739s # g_variant_iter_init (&iter, parameters); 1739s # n = 1; 1739s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1739s # { 1739s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1739s # if (arg_info->use_gvariant) 1739s # { 1739s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1739s # g_value_set_variant (¶mv[n], child); 1739s # n++; 1739s # } 1739s # else 1739s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1739s # g_variant_unref (child); 1739s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1739s # g_signal_emitv (paramv, signal_id, 0, NULL); 1739s # for (n = 0; n < num_params + 1; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1739s # GVariant *changed_properties, 1739s # const gchar *const *invalidated_properties) 1739s # { 1739s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1739s # guint n; 1739s # const gchar *key; 1739s # GVariantIter *iter; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # g_variant_get (changed_properties, "a{sv}", &iter); 1739s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1739s # { 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1739s # g_datalist_remove_data (&proxy->priv->qdata, key); 1739s # if (info != NULL) 1739s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1739s # } 1739s # g_variant_iter_free (iter); 1739s # for (n = 0; invalidated_properties[n] != NULL; n++) 1739s # { 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1739s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1739s # if (info != NULL) 1739s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1739s # } 1739s # } 1739s # 1739s # static const gchar * 1739s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1739s # { 1739s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1739s # GVariant *variant; 1739s # const gchar *value = NULL; 1739s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1739s # if (variant != NULL) 1739s # { 1739s # value = g_variant_get_string (variant, NULL); 1739s # g_variant_unref (variant); 1739s # } 1739s # return value; 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1739s # #else 1739s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1739s # #endif 1739s # 1739s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusProxyClass *proxy_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1739s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1739s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1739s # 1739s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1739s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1739s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1739s # 1739s # com_acme_coyote_override_properties (gobject_class, 1); 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1739s # { 1739s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_proxy_new: 1739s # * @connection: A #GDBusConnection. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1739s # * 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1739s # * 1739s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1739s # */ 1739s # void 1739s # com_acme_coyote_proxy_new ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # 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); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_proxy_new_finish: 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1739s # * 1739s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # ComAcmeCoyote * 1739s # com_acme_coyote_proxy_new_finish ( 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GObject *ret; 1739s # GObject *source_object; 1739s # source_object = g_async_result_get_source_object (res); 1739s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1739s # g_object_unref (source_object); 1739s # if (ret != NULL) 1739s # return COM_ACME_COYOTE (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_proxy_new_sync: 1739s # * @connection: A #GDBusConnection. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1739s # * 1739s # * The calling thread is blocked until a reply is received. 1739s # * 1739s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1739s # * 1739s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # ComAcmeCoyote * 1739s # com_acme_coyote_proxy_new_sync ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GInitable *ret; 1739s # 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); 1739s # if (ret != NULL) 1739s # return COM_ACME_COYOTE (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # 1739s # /** 1739s # * com_acme_coyote_proxy_new_for_bus: 1739s # * @bus_type: A #GBusType. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: A bus name (well-known or unique). 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1739s # * 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1739s # * 1739s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1739s # */ 1739s # void 1739s # com_acme_coyote_proxy_new_for_bus ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # 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); 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_proxy_new_for_bus_finish: 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1739s # * 1739s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # ComAcmeCoyote * 1739s # com_acme_coyote_proxy_new_for_bus_finish ( 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GObject *ret; 1739s # GObject *source_object; 1739s # source_object = g_async_result_get_source_object (res); 1739s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1739s # g_object_unref (source_object); 1739s # if (ret != NULL) 1739s # return COM_ACME_COYOTE (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_proxy_new_for_bus_sync: 1739s # * @bus_type: A #GBusType. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: A bus name (well-known or unique). 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1739s # * 1739s # * The calling thread is blocked until a reply is received. 1739s # * 1739s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1739s # * 1739s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # ComAcmeCoyote * 1739s # com_acme_coyote_proxy_new_for_bus_sync ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GInitable *ret; 1739s # 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); 1739s # if (ret != NULL) 1739s # return COM_ACME_COYOTE (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # 1739s # /** 1739s # * ComAcmeCoyoteSkeleton: 1739s # * 1739s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1739s # */ 1739s # 1739s # /** 1739s # * ComAcmeCoyoteSkeletonClass: 1739s # * @parent_class: The parent class. 1739s # * 1739s # * Class structure for #ComAcmeCoyoteSkeleton. 1739s # */ 1739s # 1739s # struct _ComAcmeCoyoteSkeletonPrivate 1739s # { 1739s # GValue *properties; 1739s # GList *changed_properties; 1739s # GSource *changed_properties_idle_source; 1739s # GMainContext *context; 1739s # GMutex lock; 1739s # }; 1739s # 1739s # static void 1739s # _com_acme_coyote_skeleton_handle_method_call ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name, 1739s # const gchar *method_name, 1739s # GVariant *parameters, 1739s # GDBusMethodInvocation *invocation, 1739s # gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # _ExtendedGDBusMethodInfo *info; 1739s # GVariantIter iter; 1739s # GVariant *child; 1739s # GValue *paramv; 1739s # gsize num_params; 1739s # guint num_extra; 1739s # gsize n; 1739s # guint signal_id; 1739s # GValue return_value = G_VALUE_INIT; 1739s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1739s # g_assert (info != NULL); 1739s # num_params = g_variant_n_children (parameters); 1739s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1739s # n = 0; 1739s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1739s # g_value_set_object (¶mv[n++], skeleton); 1739s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1739s # g_value_set_object (¶mv[n++], invocation); 1739s # if (info->pass_fdlist) 1739s # { 1739s # #ifdef G_OS_UNIX 1739s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1739s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1739s # #else 1739s # g_assert_not_reached (); 1739s # #endif 1739s # } 1739s # g_variant_iter_init (&iter, parameters); 1739s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1739s # { 1739s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1739s # if (arg_info->use_gvariant) 1739s # { 1739s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1739s # g_value_set_variant (¶mv[n], child); 1739s # n++; 1739s # } 1739s # else 1739s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1739s # g_variant_unref (child); 1739s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1739s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1739s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1739s # if (!g_value_get_boolean (&return_value)) 1739s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1739s # g_value_unset (&return_value); 1739s # for (n = 0; n < num_params + num_extra; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static GVariant * 1739s # _com_acme_coyote_skeleton_handle_get_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # GVariant *ret; 1739s # ret = NULL; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # g_value_init (&value, pspec->value_type); 1739s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1739s # g_value_unset (&value); 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static gboolean 1739s # _com_acme_coyote_skeleton_handle_set_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GVariant *variant, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # gboolean ret; 1739s # ret = FALSE; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # if (info->use_gvariant) 1739s # g_value_set_variant (&value, variant); 1739s # else 1739s # g_dbus_gvariant_to_gvalue (variant, &value); 1739s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # g_value_unset (&value); 1739s # ret = TRUE; 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1739s # { 1739s # _com_acme_coyote_skeleton_handle_method_call, 1739s # _com_acme_coyote_skeleton_handle_get_property, 1739s # _com_acme_coyote_skeleton_handle_set_property, 1739s # {NULL} 1739s # }; 1739s # 1739s # static GDBusInterfaceInfo * 1739s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return com_acme_coyote_interface_info (); 1739s # } 1739s # 1739s # static GDBusInterfaceVTable * 1739s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1739s # } 1739s # 1739s # static GVariant * 1739s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1739s # 1739s # GVariantBuilder builder; 1739s # guint n; 1739s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1739s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1739s # goto out; 1739s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1739s # { 1739s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1739s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1739s # { 1739s # GVariant *value; 1739s # 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); 1739s # if (value != NULL) 1739s # { 1739s # g_variant_take_ref (value); 1739s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1739s # g_variant_unref (value); 1739s # } 1739s # } 1739s # } 1739s # out: 1739s # return g_variant_builder_end (&builder); 1739s # } 1739s # 1739s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1739s # gboolean emit_changed = FALSE; 1739s # 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # if (skeleton->priv->changed_properties_idle_source != NULL) 1739s # { 1739s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1739s # skeleton->priv->changed_properties_idle_source = NULL; 1739s # emit_changed = TRUE; 1739s # } 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # 1739s # if (emit_changed) 1739s # _com_acme_coyote_emit_changed (skeleton); 1739s # } 1739s # 1739s # static void 1739s # _com_acme_coyote_on_signal_surprised ( 1739s # ComAcmeCoyote *object) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # 1739s # GList *connections, *l; 1739s # GVariant *signal_variant; 1739s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1739s # 1739s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1739s # for (l = connections; l != NULL; l = l->next) 1739s # { 1739s # GDBusConnection *connection = l->data; 1739s # g_dbus_connection_emit_signal (connection, 1739s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1739s # signal_variant, NULL); 1739s # } 1739s # g_variant_unref (signal_variant); 1739s # g_list_free_full (connections, g_object_unref); 1739s # } 1739s # 1739s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1739s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # com_acme_coyote_skeleton_finalize (GObject *object) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # guint n; 1739s # for (n = 0; n < 1; n++) 1739s # g_value_unset (&skeleton->priv->properties[n]); 1739s # g_free (skeleton->priv->properties); 1739s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1739s # if (skeleton->priv->changed_properties_idle_source != NULL) 1739s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1739s # g_main_context_unref (skeleton->priv->context); 1739s # g_mutex_clear (&skeleton->priv->lock); 1739s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_get_property (GObject *object, 1739s # guint prop_id, 1739s # GValue *value, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # } 1739s # 1739s # static gboolean 1739s # _com_acme_coyote_emit_changed (gpointer user_data) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1739s # GList *l; 1739s # GVariantBuilder builder; 1739s # GVariantBuilder invalidated_builder; 1739s # guint num_changes; 1739s # 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1739s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1739s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1739s # { 1739s # ChangedProperty *cp = l->data; 1739s # GVariant *variant; 1739s # const GValue *cur_value; 1739s # 1739s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1739s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1739s # { 1739s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1739s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1739s # g_variant_unref (variant); 1739s # num_changes++; 1739s # } 1739s # } 1739s # if (num_changes > 0) 1739s # { 1739s # GList *connections, *ll; 1739s # GVariant *signal_variant; 1739s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1739s # &builder, &invalidated_builder)); 1739s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1739s # for (ll = connections; ll != NULL; ll = ll->next) 1739s # { 1739s # GDBusConnection *connection = ll->data; 1739s # 1739s # g_dbus_connection_emit_signal (connection, 1739s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1739s # "org.freedesktop.DBus.Properties", 1739s # "PropertiesChanged", 1739s # signal_variant, 1739s # NULL); 1739s # } 1739s # g_variant_unref (signal_variant); 1739s # g_list_free_full (connections, g_object_unref); 1739s # } 1739s # else 1739s # { 1739s # g_variant_builder_clear (&builder); 1739s # g_variant_builder_clear (&invalidated_builder); 1739s # } 1739s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1739s # skeleton->priv->changed_properties = NULL; 1739s # skeleton->priv->changed_properties_idle_source = NULL; 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # return FALSE; 1739s # } 1739s # 1739s # static void 1739s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1739s # { 1739s # ChangedProperty *cp; 1739s # GList *l; 1739s # cp = NULL; 1739s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1739s # { 1739s # ChangedProperty *i_cp = l->data; 1739s # if (i_cp->info == info) 1739s # { 1739s # cp = i_cp; 1739s # break; 1739s # } 1739s # } 1739s # if (cp == NULL) 1739s # { 1739s # cp = g_new0 (ChangedProperty, 1); 1739s # cp->prop_id = prop_id; 1739s # cp->info = info; 1739s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1739s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1739s # g_value_copy (orig_value, &cp->orig_value); 1739s # } 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_notify (GObject *object, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # if (skeleton->priv->changed_properties != NULL && 1739s # skeleton->priv->changed_properties_idle_source == NULL) 1739s # { 1739s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1739s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1739s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1739s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1739s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1739s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1739s # } 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_set_property (GObject *object, 1739s # guint prop_id, 1739s # const GValue *value, 1739s # GParamSpec *pspec) 1739s # { 1739s # const _ExtendedGDBusPropertyInfo *info; 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1739s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # g_object_freeze_notify (object); 1739s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1739s # { 1739s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1739s # info->emits_changed_signal) 1739s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1739s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1739s # g_object_notify_by_pspec (object, pspec); 1739s # } 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # g_object_thaw_notify (object); 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1739s # #else 1739s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1739s # #endif 1739s # 1739s # g_mutex_init (&skeleton->priv->lock); 1739s # skeleton->priv->context = g_main_context_ref_thread_default (); 1739s # skeleton->priv->properties = g_new0 (GValue, 1); 1739s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1739s # } 1739s # 1739s # static const gchar * 1739s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1739s # { 1739s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1739s # const gchar *value; 1739s # g_mutex_lock (&skeleton->priv->lock); 1739s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1739s # g_mutex_unlock (&skeleton->priv->lock); 1739s # return value; 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusInterfaceSkeletonClass *skeleton_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1739s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1739s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1739s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1739s # 1739s # 1739s # com_acme_coyote_override_properties (gobject_class, 1); 1739s # 1739s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1739s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1739s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1739s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1739s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1739s # { 1739s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1739s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1739s # } 1739s # 1739s # /** 1739s # * com_acme_coyote_skeleton_new: 1739s # * 1739s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1739s # * 1739s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1739s # */ 1739s # ComAcmeCoyote * 1739s # com_acme_coyote_skeleton_new (void) 1739s # { 1739s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1739s # } 1739s # 1739s # /* ------------------------------------------------------------------------ 1739s # * Code for interface org.project.Bar.Frobnicator 1739s # * ------------------------------------------------------------------------ 1739s # */ 1739s # 1739s # /** 1739s # * SECTION:OrgProjectBarFrobnicator 1739s # * @title: OrgProjectBarFrobnicator 1739s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1739s # * 1739s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1739s # */ 1739s # 1739s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1739s # 1739s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "RandomMethod", 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "handle-random-method", 1739s # FALSE 1739s # }; 1739s # 1739s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1739s # { 1739s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1739s # NULL 1739s # }; 1739s # 1739s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1739s # { 1739s # { 1739s # -1, 1739s # (gchar *) "org.project.Bar.Frobnicator", 1739s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1739s # NULL, 1739s # NULL, 1739s # NULL 1739s # }, 1739s # "org-project-bar-frobnicator", 1739s # }; 1739s # 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_interface_info: 1739s # * 1739s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1739s # * 1739s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1739s # */ 1739s # GDBusInterfaceInfo * 1739s # org_project_bar_frobnicator_interface_info (void) 1739s # { 1739s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_override_properties: 1739s # * @klass: The class structure for a #GObject derived class. 1739s # * @property_id_begin: The property id to assign to the first overridden property. 1739s # * 1739s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1739s # * The properties are overridden in the order they are defined. 1739s # * 1739s # * Returns: The last property id. 1739s # */ 1739s # guint 1739s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1739s # { 1739s # return property_id_begin - 1; 1739s # } 1739s # 1739s # 1739s # inline static void 1739s # org_project_bar_frobnicator_method_marshal_random_method ( 1739s # GClosure *closure, 1739s # GValue *return_value, 1739s # unsigned int n_param_values, 1739s # const GValue *param_values, 1739s # void *invocation_hint, 1739s # void *marshal_data) 1739s # { 1739s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1739s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1739s # } 1739s # 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicator: 1739s # * 1739s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1739s # */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorIface: 1739s # * @parent_iface: The parent interface. 1739s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1739s # * 1739s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1739s # */ 1739s # 1739s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1739s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1739s # { 1739s # /* GObject signals for incoming D-Bus method calls: */ 1739s # /** 1739s # * OrgProjectBarFrobnicator::handle-random-method: 1739s # * @object: A #OrgProjectBarFrobnicator. 1739s # * @invocation: A #GDBusMethodInvocation. 1739s # * 1739s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1739s # * 1739s # * 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. 1739s # * 1739s # * 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. 1739s # */ 1739s # g_signal_new ("handle-random-method", 1739s # G_TYPE_FROM_INTERFACE (iface), 1739s # G_SIGNAL_RUN_LAST, 1739s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1739s # g_signal_accumulator_true_handled, 1739s # NULL, 1739s # org_project_bar_frobnicator_method_marshal_random_method, 1739s # G_TYPE_BOOLEAN, 1739s # 1, 1739s # G_TYPE_DBUS_METHOD_INVOCATION); 1739s # 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_call_random_method: 1739s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1739s # * 1739s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_call_random_method ( 1739s # OrgProjectBarFrobnicator *proxy, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1739s # "RandomMethod", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # callback, 1739s # user_data); 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_call_random_method_finish: 1739s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # org_project_bar_frobnicator_call_random_method_finish ( 1739s # OrgProjectBarFrobnicator *proxy, 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_call_random_method_sync: 1739s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL. 1739s # * 1739s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1739s # * 1739s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1739s # * 1739s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1739s # */ 1739s # gboolean 1739s # org_project_bar_frobnicator_call_random_method_sync ( 1739s # OrgProjectBarFrobnicator *proxy, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GVariant *_ret; 1739s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1739s # "RandomMethod", 1739s # g_variant_new ("()"), 1739s # G_DBUS_CALL_FLAGS_NONE, 1739s # -1, 1739s # cancellable, 1739s # error); 1739s # if (_ret == NULL) 1739s # goto _out; 1739s # g_variant_get (_ret, 1739s # "()"); 1739s # g_variant_unref (_ret); 1739s # _out: 1739s # return _ret != NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_complete_random_method: 1739s # * @object: A #OrgProjectBarFrobnicator. 1739s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1739s # * 1739s # * 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. 1739s # * 1739s # * This method will free @invocation, you cannot use it afterwards. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_complete_random_method ( 1739s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1739s # GDBusMethodInvocation *invocation) 1739s # { 1739s # g_dbus_method_invocation_return_value (invocation, 1739s # g_variant_new ("()")); 1739s # } 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorProxy: 1739s # * 1739s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1739s # */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorProxyClass: 1739s # * @parent_class: The parent class. 1739s # * 1739s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1739s # */ 1739s # 1739s # struct _OrgProjectBarFrobnicatorProxyPrivate 1739s # { 1739s # GData *qdata; 1739s # }; 1739s # 1739s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1739s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1739s # { 1739s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1739s # g_datalist_clear (&proxy->priv->qdata); 1739s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1739s # guint prop_id G_GNUC_UNUSED, 1739s # GValue *value G_GNUC_UNUSED, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1739s # guint prop_id G_GNUC_UNUSED, 1739s # const GValue *value G_GNUC_UNUSED, 1739s # GParamSpec *pspec G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1739s # const gchar *sender_name G_GNUC_UNUSED, 1739s # const gchar *signal_name, 1739s # GVariant *parameters) 1739s # { 1739s # _ExtendedGDBusSignalInfo *info; 1739s # GVariantIter iter; 1739s # GVariant *child; 1739s # GValue *paramv; 1739s # gsize num_params; 1739s # gsize n; 1739s # guint signal_id; 1739s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1739s # if (info == NULL) 1739s # return; 1739s # num_params = g_variant_n_children (parameters); 1739s # paramv = g_new0 (GValue, num_params + 1); 1739s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_value_set_object (¶mv[0], proxy); 1739s # g_variant_iter_init (&iter, parameters); 1739s # n = 1; 1739s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1739s # { 1739s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1739s # if (arg_info->use_gvariant) 1739s # { 1739s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1739s # g_value_set_variant (¶mv[n], child); 1739s # n++; 1739s # } 1739s # else 1739s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1739s # g_variant_unref (child); 1739s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_signal_emitv (paramv, signal_id, 0, NULL); 1739s # for (n = 0; n < num_params + 1; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1739s # GVariant *changed_properties, 1739s # const gchar *const *invalidated_properties) 1739s # { 1739s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1739s # guint n; 1739s # const gchar *key; 1739s # GVariantIter *iter; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # g_variant_get (changed_properties, "a{sv}", &iter); 1739s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1739s # { 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1739s # g_datalist_remove_data (&proxy->priv->qdata, key); 1739s # if (info != NULL) 1739s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1739s # } 1739s # g_variant_iter_free (iter); 1739s # for (n = 0; invalidated_properties[n] != NULL; n++) 1739s # { 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1739s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1739s # if (info != NULL) 1739s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1739s # } 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1739s # #else 1739s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1739s # #endif 1739s # 1739s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusProxyClass *proxy_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1739s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1739s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1739s # 1739s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1739s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1739s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new: 1739s # * @connection: A #GDBusConnection. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1739s # * 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_proxy_new ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # 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); 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_finish: 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_finish ( 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GObject *ret; 1739s # GObject *source_object; 1739s # source_object = g_async_result_get_source_object (res); 1739s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1739s # g_object_unref (source_object); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_sync: 1739s # * @connection: A #GDBusConnection. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1739s # * 1739s # * The calling thread is blocked until a reply is received. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_sync ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GInitable *ret; 1739s # 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); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_for_bus: 1739s # * @bus_type: A #GBusType. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: A bus name (well-known or unique). 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1739s # * @user_data: User data to pass to @callback. 1739s # * 1739s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1739s # * 1739s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1739s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1739s # */ 1739s # void 1739s # org_project_bar_frobnicator_proxy_new_for_bus ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data) 1739s # { 1739s # 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); 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1739s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1739s # GAsyncResult *res, 1739s # GError **error) 1739s # { 1739s # GObject *ret; 1739s # GObject *source_object; 1739s # source_object = g_async_result_get_source_object (res); 1739s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1739s # g_object_unref (source_object); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1739s # * @bus_type: A #GBusType. 1739s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1739s # * @name: A bus name (well-known or unique). 1739s # * @object_path: An object path. 1739s # * @cancellable: (nullable): A #GCancellable or %NULL. 1739s # * @error: Return location for error or %NULL 1739s # * 1739s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1739s # * 1739s # * The calling thread is blocked until a reply is received. 1739s # * 1739s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error) 1739s # { 1739s # GInitable *ret; 1739s # 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); 1739s # if (ret != NULL) 1739s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1739s # else 1739s # return NULL; 1739s # } 1739s # 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorSkeleton: 1739s # * 1739s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1739s # */ 1739s # 1739s # /** 1739s # * OrgProjectBarFrobnicatorSkeletonClass: 1739s # * @parent_class: The parent class. 1739s # * 1739s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1739s # */ 1739s # 1739s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1739s # { 1739s # GValue *properties; 1739s # GList *changed_properties; 1739s # GSource *changed_properties_idle_source; 1739s # GMainContext *context; 1739s # GMutex lock; 1739s # }; 1739s # 1739s # static void 1739s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name, 1739s # const gchar *method_name, 1739s # GVariant *parameters, 1739s # GDBusMethodInvocation *invocation, 1739s # gpointer user_data) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1739s # _ExtendedGDBusMethodInfo *info; 1739s # GVariantIter iter; 1739s # GVariant *child; 1739s # GValue *paramv; 1739s # gsize num_params; 1739s # guint num_extra; 1739s # gsize n; 1739s # guint signal_id; 1739s # GValue return_value = G_VALUE_INIT; 1739s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1739s # g_assert (info != NULL); 1739s # num_params = g_variant_n_children (parameters); 1739s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1739s # n = 0; 1739s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_value_set_object (¶mv[n++], skeleton); 1739s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1739s # g_value_set_object (¶mv[n++], invocation); 1739s # if (info->pass_fdlist) 1739s # { 1739s # #ifdef G_OS_UNIX 1739s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1739s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1739s # #else 1739s # g_assert_not_reached (); 1739s # #endif 1739s # } 1739s # g_variant_iter_init (&iter, parameters); 1739s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1739s # { 1739s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1739s # if (arg_info->use_gvariant) 1739s # { 1739s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1739s # g_value_set_variant (¶mv[n], child); 1739s # n++; 1739s # } 1739s # else 1739s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1739s # g_variant_unref (child); 1739s # } 1739s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1739s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1739s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1739s # if (!g_value_get_boolean (&return_value)) 1739s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1739s # g_value_unset (&return_value); 1739s # for (n = 0; n < num_params + num_extra; n++) 1739s # g_value_unset (¶mv[n]); 1739s # g_free (paramv); 1739s # } 1739s # 1739s # static GVariant * 1739s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # GVariant *ret; 1739s # ret = NULL; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # g_value_init (&value, pspec->value_type); 1739s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1739s # g_value_unset (&value); 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static gboolean 1739s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1739s # GDBusConnection *connection G_GNUC_UNUSED, 1739s # const gchar *sender G_GNUC_UNUSED, 1739s # const gchar *object_path G_GNUC_UNUSED, 1739s # const gchar *interface_name G_GNUC_UNUSED, 1739s # const gchar *property_name, 1739s # GVariant *variant, 1739s # GError **error, 1739s # gpointer user_data) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1739s # GValue value = G_VALUE_INIT; 1739s # GParamSpec *pspec; 1739s # _ExtendedGDBusPropertyInfo *info; 1739s # gboolean ret; 1739s # ret = FALSE; 1739s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1739s # g_assert (info != NULL); 1739s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1739s # if (pspec == NULL) 1739s # { 1739s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1739s # } 1739s # else 1739s # { 1739s # if (info->use_gvariant) 1739s # g_value_set_variant (&value, variant); 1739s # else 1739s # g_dbus_gvariant_to_gvalue (variant, &value); 1739s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1739s # g_value_unset (&value); 1739s # ret = TRUE; 1739s # } 1739s # return ret; 1739s # } 1739s # 1739s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1739s # { 1739s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1739s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1739s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1739s # {NULL} 1739s # }; 1739s # 1739s # static GDBusInterfaceInfo * 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return org_project_bar_frobnicator_interface_info (); 1739s # } 1739s # 1739s # static GDBusInterfaceVTable * 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1739s # { 1739s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1739s # } 1739s # 1739s # static GVariant * 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1739s # 1739s # GVariantBuilder builder; 1739s # guint n; 1739s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1739s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1739s # goto out; 1739s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1739s # { 1739s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1739s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1739s # { 1739s # GVariant *value; 1739s # 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); 1739s # if (value != NULL) 1739s # { 1739s # g_variant_take_ref (value); 1739s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1739s # g_variant_unref (value); 1739s # } 1739s # } 1739s # } 1739s # out: 1739s # return g_variant_builder_end (&builder); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1739s # 1739s # #else 1739s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1739s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1739s # 1739s # #endif 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1739s # { 1739s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1739s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1739s # if (skeleton->priv->changed_properties_idle_source != NULL) 1739s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1739s # g_main_context_unref (skeleton->priv->context); 1739s # g_mutex_clear (&skeleton->priv->lock); 1739s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1739s # { 1739s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1739s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1739s # #else 1739s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1739s # #endif 1739s # 1739s # g_mutex_init (&skeleton->priv->lock); 1739s # skeleton->priv->context = g_main_context_ref_thread_default (); 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1739s # { 1739s # GObjectClass *gobject_class; 1739s # GDBusInterfaceSkeletonClass *skeleton_class; 1739s # 1739s # gobject_class = G_OBJECT_CLASS (klass); 1739s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1739s # 1739s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1739s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1739s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1739s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1739s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1739s # 1739s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1739s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1739s # #endif 1739s # } 1739s # 1739s # static void 1739s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1739s # { 1739s # } 1739s # 1739s # /** 1739s # * org_project_bar_frobnicator_skeleton_new: 1739s # * 1739s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1739s # * 1739s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1739s # */ 1739s # OrgProjectBarFrobnicator * 1739s # org_project_bar_frobnicator_skeleton_new (void) 1739s # { 1739s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1739s # } 1739s # Executing: glib/codegen.py.test 1739s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1739s # tmpdir: /tmp/tmpvui3wjjh 1739s # codegen: /usr/bin/gdbus-codegen 1739s # /tmp/tmpvui3wjjh/tmpv22ho04n.xml: 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvui3wjjh/tmpv22ho04n.xml', '--output', '-', '--header'] 1739s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1739s # Output: /* 1739s # * This file is generated by gdbus-codegen, do not modify it. 1739s # * 1739s # * The license of this code is the same as for the D-Bus interface description 1739s # * it was derived from. Note that it links to GLib, so must comply with the 1739s # * LGPL linking clauses. 1739s # */ 1739s # 1739s # #ifndef __STDOUT__ 1739s # #define __STDOUT__ 1739s # 1739s # #include 1739s # 1739s # G_BEGIN_DECLS 1739s # 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # /* Declarations for FDPassing */ 1739s # 1739s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1739s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1739s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1739s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1739s # 1739s # struct _FDPassing; 1739s # typedef struct _FDPassing FDPassing; 1739s # typedef struct _FDPassingIface FDPassingIface; 1739s # 1739s # struct _FDPassingIface 1739s # { 1739s # GTypeInterface parent_iface; 1739s # 1739s # gboolean (*handle_hello_fd) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # const gchar *arg_greeting); 1739s # 1739s # gboolean (*handle_no_annotation) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale); 1739s # 1739s # gboolean (*handle_no_annotation_nested) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GVariant *arg_files); 1739s # 1739s # }; 1739s # 1739s # GType fdpassing_get_type (void) G_GNUC_CONST; 1739s # 1739s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1739s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1739s # 1739s # 1739s # /* D-Bus method call completion functions: */ 1739s # void fdpassing_complete_hello_fd ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # const gchar *response); 1739s # 1739s # void fdpassing_complete_no_annotation ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GVariant *response, 1739s # const gchar *response_locale); 1739s # 1739s # void fdpassing_complete_no_annotation_nested ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation); 1739s # 1739s # 1739s # 1739s # /* D-Bus method calls: */ 1739s # void fdpassing_call_hello_fd ( 1739s # FDPassing *proxy, 1739s # const gchar *arg_greeting, 1739s # GUnixFDList *fd_list, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_hello_fd_finish ( 1739s # FDPassing *proxy, 1739s # gchar **out_response, 1739s # GUnixFDList **out_fd_list, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_hello_fd_sync ( 1739s # FDPassing *proxy, 1739s # const gchar *arg_greeting, 1739s # GUnixFDList *fd_list, 1739s # gchar **out_response, 1739s # GUnixFDList **out_fd_list, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_call_no_annotation ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_no_annotation_finish ( 1739s # FDPassing *proxy, 1739s # GVariant **out_response, 1739s # gchar **out_response_locale, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_no_annotation_sync ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale, 1739s # GVariant **out_response, 1739s # gchar **out_response_locale, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_call_no_annotation_nested ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_files, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_no_annotation_nested_finish ( 1739s # FDPassing *proxy, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_no_annotation_nested_sync ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_files, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # 1739s # 1739s # /* ---- */ 1739s # 1739s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1739s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1739s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1739s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1739s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1739s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1739s # 1739s # typedef struct _FDPassingProxy FDPassingProxy; 1739s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1739s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1739s # 1739s # struct _FDPassingProxy 1739s # { 1739s # /*< private >*/ 1739s # GDBusProxy parent_instance; 1739s # FDPassingProxyPrivate *priv; 1739s # }; 1739s # 1739s # struct _FDPassingProxyClass 1739s # { 1739s # GDBusProxyClass parent_class; 1739s # }; 1739s # 1739s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1739s # 1739s # #if GLIB_CHECK_VERSION(2, 44, 0) 1739s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1739s # #endif 1739s # 1739s # void fdpassing_proxy_new ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # FDPassing *fdpassing_proxy_new_finish ( 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # FDPassing *fdpassing_proxy_new_sync ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_proxy_new_for_bus ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # 1739s # /* ---- */ 1739s # 1739s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1739s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1739s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1739s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1739s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1739s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1739s # 1739s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1739s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1739s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1739s # 1739s # struct _FDPassingSkeleton 1739s # { 1739s # /*< private >*/ 1739s # GDBusInterfaceSkeleton parent_instance; 1739s # FDPassingSkeletonPrivate *priv; 1739s # }; 1739s # 1739s # struct _FDPassingSkeletonClass 1739s # { 1739s # GDBusInterfaceSkeletonClass parent_class; 1739s # }; 1739s # 1739s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1739s # 1739s # #if GLIB_CHECK_VERSION(2, 44, 0) 1739s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1739s # #endif 1739s # 1739s # FDPassing *fdpassing_skeleton_new (void); 1739s # 1739s # 1739s # G_END_DECLS 1739s # 1739s # #endif /* __STDOUT__ */ 1739s # /tmp/tmpvui3wjjh/tmptasxecr2.xml: 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvui3wjjh/tmptasxecr2.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1739s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1739s # Output: /* 1739s # * This file is generated by gdbus-codegen, do not modify it. 1739s # * 1739s # * The license of this code is the same as for the D-Bus interface description 1739s # * it was derived from. Note that it links to GLib, so must comply with the 1739s # * LGPL linking clauses. 1739s # */ 1739s # 1739s # #ifndef __STDOUT__ 1739s # #define __STDOUT__ 1739s # 1739s # #include 1739s # 1739s # G_BEGIN_DECLS 1739s # 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # /* Declarations for FDPassing */ 1739s # 1739s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1739s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1739s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1739s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1739s # 1739s # struct _FDPassing; 1739s # typedef struct _FDPassing FDPassing; 1739s # typedef struct _FDPassingIface FDPassingIface; 1739s # 1739s # struct _FDPassingIface 1739s # { 1739s # GTypeInterface parent_iface; 1739s # 1739s # gboolean (*handle_hello_fd) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # const gchar *arg_greeting); 1739s # 1739s # gboolean (*handle_no_annotation) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale); 1739s # 1739s # gboolean (*handle_no_annotation_nested) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GVariant *arg_files); 1739s # 1739s # }; 1739s # 1739s # GType fdpassing_get_type (void) G_GNUC_CONST; 1739s # 1739s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1739s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1739s # 1739s # 1739s # /* D-Bus method call completion functions: */ 1739s # void fdpassing_complete_hello_fd ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # const gchar *response); 1739s # 1739s # void fdpassing_complete_no_annotation ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GVariant *response, 1739s # const gchar *response_locale); 1739s # 1739s # void fdpassing_complete_no_annotation_nested ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation); 1739s # 1739s # 1739s # 1739s # /* D-Bus method calls: */ 1739s # void fdpassing_call_hello_fd ( 1739s # FDPassing *proxy, 1739s # const gchar *arg_greeting, 1739s # GUnixFDList *fd_list, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_hello_fd_finish ( 1739s # FDPassing *proxy, 1739s # gchar **out_response, 1739s # GUnixFDList **out_fd_list, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_hello_fd_sync ( 1739s # FDPassing *proxy, 1739s # const gchar *arg_greeting, 1739s # GUnixFDList *fd_list, 1739s # gchar **out_response, 1739s # GUnixFDList **out_fd_list, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_call_no_annotation ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_no_annotation_finish ( 1739s # FDPassing *proxy, 1739s # GVariant **out_response, 1739s # gchar **out_response_locale, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_no_annotation_sync ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale, 1739s # GVariant **out_response, 1739s # gchar **out_response_locale, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_call_no_annotation_nested ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_files, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_no_annotation_nested_finish ( 1739s # FDPassing *proxy, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_no_annotation_nested_sync ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_files, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # 1739s # 1739s # /* ---- */ 1739s # 1739s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1739s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1739s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1739s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1739s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1739s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1739s # 1739s # typedef struct _FDPassingProxy FDPassingProxy; 1739s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1739s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1739s # 1739s # struct _FDPassingProxy 1739s # { 1739s # /*< private >*/ 1739s # GDBusProxy parent_instance; 1739s # FDPassingProxyPrivate *priv; 1739s # }; 1739s # 1739s # struct _FDPassingProxyClass 1739s # { 1739s # GDBusProxyClass parent_class; 1739s # }; 1739s # 1739s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1739s # 1739s # #if GLIB_CHECK_VERSION(2, 44, 0) 1739s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1739s # #endif 1739s # 1739s # void fdpassing_proxy_new ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # FDPassing *fdpassing_proxy_new_finish ( 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # FDPassing *fdpassing_proxy_new_sync ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_proxy_new_for_bus ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # 1739s # /* ---- */ 1739s # 1739s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1739s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1739s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1739s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1739s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1739s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1739s # 1739s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1739s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1739s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1739s # 1739s # struct _FDPassingSkeleton 1739s # { 1739s # /*< private >*/ 1739s # GDBusInterfaceSkeleton parent_instance; 1739s # FDPassingSkeletonPrivate *priv; 1739s # }; 1739s # 1739s # struct _FDPassingSkeletonClass 1739s # { 1739s # GDBusInterfaceSkeletonClass parent_class; 1739s # }; 1739s # 1739s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1739s # 1739s # #if GLIB_CHECK_VERSION(2, 44, 0) 1739s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1739s # #endif 1739s # 1739s # FDPassing *fdpassing_skeleton_new (void); 1739s # 1739s # 1739s # G_END_DECLS 1739s # 1739s # #endif /* __STDOUT__ */ 1739s # /tmp/tmpvui3wjjh/tmp3vfqzs1e.xml: 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # 1739s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvui3wjjh/tmp3vfqzs1e.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1739s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1739s # Output: /* 1739s # * This file is generated by gdbus-codegen, do not modify it. 1739s # * 1739s # * The license of this code is the same as for the D-Bus interface description 1739s # * it was derived from. Note that it links to GLib, so must comply with the 1739s # * LGPL linking clauses. 1739s # */ 1739s # 1739s # #ifndef __STDOUT__ 1739s # #define __STDOUT__ 1739s # 1739s # #include 1739s # 1739s # G_BEGIN_DECLS 1739s # 1739s # 1739s # /* ------------------------------------------------------------------------ */ 1739s # /* Declarations for FDPassing */ 1739s # 1739s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1739s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1739s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1739s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1739s # 1739s # struct _FDPassing; 1739s # typedef struct _FDPassing FDPassing; 1739s # typedef struct _FDPassingIface FDPassingIface; 1739s # 1739s # struct _FDPassingIface 1739s # { 1739s # GTypeInterface parent_iface; 1739s # 1739s # gboolean (*handle_hello_fd) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # const gchar *arg_greeting); 1739s # 1739s # gboolean (*handle_no_annotation) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale); 1739s # 1739s # gboolean (*handle_no_annotation_nested) ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # GVariant *arg_files); 1739s # 1739s # }; 1739s # 1739s # GType fdpassing_get_type (void) G_GNUC_CONST; 1739s # 1739s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1739s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1739s # 1739s # 1739s # /* D-Bus method call completion functions: */ 1739s # void fdpassing_complete_hello_fd ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # const gchar *response); 1739s # 1739s # void fdpassing_complete_no_annotation ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list, 1739s # GVariant *response, 1739s # const gchar *response_locale); 1739s # 1739s # void fdpassing_complete_no_annotation_nested ( 1739s # FDPassing *object, 1739s # GDBusMethodInvocation *invocation, 1739s # GUnixFDList *fd_list); 1739s # 1739s # 1739s # 1739s # /* D-Bus method calls: */ 1739s # void fdpassing_call_hello_fd ( 1739s # FDPassing *proxy, 1739s # const gchar *arg_greeting, 1739s # GDBusCallFlags call_flags, 1739s # gint timeout_msec, 1739s # GUnixFDList *fd_list, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_hello_fd_finish ( 1739s # FDPassing *proxy, 1739s # gchar **out_response, 1739s # GUnixFDList **out_fd_list, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_hello_fd_sync ( 1739s # FDPassing *proxy, 1739s # const gchar *arg_greeting, 1739s # GDBusCallFlags call_flags, 1739s # gint timeout_msec, 1739s # GUnixFDList *fd_list, 1739s # gchar **out_response, 1739s # GUnixFDList **out_fd_list, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_call_no_annotation ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale, 1739s # GDBusCallFlags call_flags, 1739s # gint timeout_msec, 1739s # GUnixFDList *fd_list, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_no_annotation_finish ( 1739s # FDPassing *proxy, 1739s # GVariant **out_response, 1739s # gchar **out_response_locale, 1739s # GUnixFDList **out_fd_list, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_no_annotation_sync ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_greeting, 1739s # const gchar *arg_greeting_locale, 1739s # GDBusCallFlags call_flags, 1739s # gint timeout_msec, 1739s # GUnixFDList *fd_list, 1739s # GVariant **out_response, 1739s # gchar **out_response_locale, 1739s # GUnixFDList **out_fd_list, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_call_no_annotation_nested ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_files, 1739s # GDBusCallFlags call_flags, 1739s # gint timeout_msec, 1739s # GUnixFDList *fd_list, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # 1739s # gboolean fdpassing_call_no_annotation_nested_finish ( 1739s # FDPassing *proxy, 1739s # GUnixFDList **out_fd_list, 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # 1739s # gboolean fdpassing_call_no_annotation_nested_sync ( 1739s # FDPassing *proxy, 1739s # GVariant *arg_files, 1739s # GDBusCallFlags call_flags, 1739s # gint timeout_msec, 1739s # GUnixFDList *fd_list, 1739s # GUnixFDList **out_fd_list, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # 1739s # 1739s # /* ---- */ 1739s # 1739s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1739s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1739s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1739s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1739s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1739s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1739s # 1739s # typedef struct _FDPassingProxy FDPassingProxy; 1739s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1739s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1739s # 1739s # struct _FDPassingProxy 1739s # { 1739s # /*< private >*/ 1739s # GDBusProxy parent_instance; 1739s # FDPassingProxyPrivate *priv; 1739s # }; 1739s # 1739s # struct _FDPassingProxyClass 1739s # { 1739s # GDBusProxyClass parent_class; 1739s # }; 1739s # 1739s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1739s # 1739s # #if GLIB_CHECK_VERSION(2, 44, 0) 1739s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1739s # #endif 1739s # 1739s # void fdpassing_proxy_new ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # FDPassing *fdpassing_proxy_new_finish ( 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # FDPassing *fdpassing_proxy_new_sync ( 1739s # GDBusConnection *connection, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # void fdpassing_proxy_new_for_bus ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GAsyncReadyCallback callback, 1739s # gpointer user_data); 1739s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1739s # GAsyncResult *res, 1739s # GError **error); 1739s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1739s # GBusType bus_type, 1739s # GDBusProxyFlags flags, 1739s # const gchar *name, 1739s # const gchar *object_path, 1739s # GCancellable *cancellable, 1739s # GError **error); 1739s # 1739s # 1739s # /* ---- */ 1739s # 1739s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1739s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1739s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1739s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1739s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1739s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1739s # 1739s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1739s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1739s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1739s # 1739s # struct _FDPassingSkeleton 1739s # { 1739s # /*< private >*/ 1739s # GDBusInterfaceSkeleton parent_instance; 1739s # FDPassingSkeletonPrivate *priv; 1739s # }; 1739s # 1739s # struct _FDPassingSkeletonClass 1739s # { 1739s # GDBusInterfaceSkeletonClass parent_class; 1739s # }; 1739s # 1739s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1739s # 1739s # #if GLIB_CHECK_VERSION(2, 44, 0) 1739s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1739s # #endif 1739s # 1739s # FDPassing *fdpassing_skeleton_new (void); 1739s # 1739s # 1739s # G_END_DECLS 1739s # 1739s # #endif /* __STDOUT__ */ 1739s 1..39 1739s ok - glib/codegen.py.test 1739s # Running test: glib/thread-pool.test 1739s TAP version 13 1739s # random seed: R02S39b2c896e995bed7327bf857a4b4dc9e 1739s 1..5 1739s # Start of thread_pool tests 1739s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1739s ok 1 /thread_pool/shared 1739s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1739s ok 2 /thread_pool/exclusive 1739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1739s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1739s ok 3 /thread_pool/create_shared_after_exclusive 1739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1739s ok 4 /thread_pool/create_full 1739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1739s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1739s ok 5 /thread_pool/create_exclusive_after_shared 1739s # End of thread_pool tests 1739s ok - glib/thread-pool.test 1739s # Running test: glib/gutils-user-database.test 1739s TAP version 13 1739s # random seed: R02S471edafed3f94fc15cc64ffd218f0c06 1739s 1..1 1739s # Start of gutils tests 1739s ok 1 /gutils/get_user_database_entry 1739s # End of gutils tests 1739s ok - glib/gutils-user-database.test 1739s # Running test: glib/application-command-line.test 1739s TAP version 13 1739s # random seed: R02Sa7f6f8fe7fc42bf57848002dd38428e1 1739s 1..1 1739s # Start of application-command-line tests 1739s ok 1 /application-command-line/basic-properties 1739s # End of application-command-line tests 1739s ok - glib/application-command-line.test 1739s # Running test: glib/scannerapi.test 1739s TAP version 13 1739s # random seed: R02Se2c9ea9abd4e1d77c3895b6d4c3c2e8a 1739s 1..4 1739s # Start of scanner tests 1739s ok 1 /scanner/warn 1739s ok 2 /scanner/error 1739s ok 3 /scanner/symbols 1739s ok 4 /scanner/tokens 1739s # End of scanner tests 1739s ok - glib/scannerapi.test 1739s # Running test: glib/type.test 1739s TAP version 13 1739s # random seed: R02S31115d83a4a7877e87e43f5e7019e620 1739s 1..6 1739s # Start of type tests 1739s ok 1 /type/registration-serial 1739s ok 2 /type/interface-prerequisite 1739s ok 3 /type/interface-check 1739s ok 4 /type/next-base 1739s ok 5 /type/is-a 1739s # Invalid types can?t be queried. 1739s # Unclassed types can?t be queried. 1739s ok 6 /type/query 1739s # End of type tests 1739s ok - glib/type.test 1739s # Running test: glib/atomic.test 1739s TAP version 13 1739s # random seed: R02Scf49b5b5db7a71a7445f65b154872472 1739s 1..2 1739s # Start of atomic tests 1739s ok 1 /atomic/types 1740s ok 2 /atomic/threaded 1740s # slow test /atomic/threaded executed in 0.78 secs 1740s # End of atomic tests 1740s ok - glib/atomic.test 1740s # Running test: glib/timer.test 1740s TAP version 13 1740s # random seed: R02Se1f02a5afb938675f0b436cac0db5aa6 1740s 1..10 1740s # Start of timer tests 1740s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1740s ok 2 /timer/stop 1740s ok 3 /timer/continue 1740s ok 4 /timer/reset 1740s ok 5 /timer/is_active 1740s # End of timer tests 1740s # Start of timeval tests 1740s ok 6 /timeval/add 1740s ok 7 /timeval/from-iso8601 1740s ok 8 /timeval/to-iso8601 1740s # Start of to-iso8601 tests 1740s ok 9 /timeval/to-iso8601/overflow 1740s # End of to-iso8601 tests 1740s # End of timeval tests 1740s # Start of usleep tests 1740s ok 10 /usleep/with-zero-wait 1740s # End of usleep tests 1740s ok - glib/timer.test 1740s # Running test: glib/module-test-library.test 1740s TAP version 13 1740s # random seed: R02Sd3ea31a1f87b7bc332019361cf5568a3 1740s 1..2 1740s # Start of module tests 1740s ok 1 /module/basics 1740s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1740s ok 2 /module/invalid-libtool-archive 1740s # End of module tests 1740s ok - glib/module-test-library.test 1740s # Running test: glib/gdbus-peer.test 1740s TAP version 13 1740s # random seed: R02Sab01edc3c85a02a2e57581ebf13db8bc 1740s 1..12 1740s # Start of gdbus tests 1740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/home 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/cache 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/system-config2 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/config 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/system-data2 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/data 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/state 1740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/.dirs/runtime 1740s # Testing with unix:dir address 1741s # Testing with unix:tmpdir address 1741s # Testing with unix:path address 1741s ok 1 /gdbus/peer-to-peer 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/delayed-message-processing/.dirs/runtime 1741s # Testing with unix:dir address 1741s ok 2 /gdbus/delayed-message-processing 1741s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/nonce-tcp/.dirs/runtime 1741s ok 3 /gdbus/nonce-tcp 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/tcp-anonymous/.dirs/runtime 1741s ok 4 /gdbus/tcp-anonymous 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/credentials/.dirs/runtime 1741s ok 5 /gdbus/credentials 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1741s # Testing with unix:dir address 1741s # Machine ID: 57a25fb8e4a3442c968cb928e4f2da59 1742s ok 6 /gdbus/codegen-peer-to-peer 1742s # slow test /gdbus/codegen-peer-to-peer executed in 1.15 secs 1742s # Start of peer-to-peer tests 1742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/home 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/cache 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/config 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/data 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/state 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/signals/.dirs/runtime 1742s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1742s # Testing with unix:dir address 1742s ok 7 /gdbus/peer-to-peer/signals 1742s # Start of invalid tests 1742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1742s ok 8 /gdbus/peer-to-peer/invalid/server 1742s # Start of conn tests 1742s # Start of stream tests 1742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1742s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1743s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1743s # End of stream tests 1743s # Start of addr tests 1743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1743s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OLUYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1743s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1743s # End of addr tests 1743s # End of conn tests 1743s # End of invalid tests 1743s # End of peer-to-peer tests 1743s # End of gdbus tests 1743s ok - glib/gdbus-peer.test 1743s # Running test: glib/gdbus-address-get-session.test 1743s TAP version 13 1743s # random seed: R02S59812382cd6e07b8e4a29defd8ed0ba5 1743s 1..2 1743s # Start of gdbus tests 1743s ok 1 /gdbus/x11-autolaunch 1743s ok 2 /gdbus/xdg-runtime 1743s # End of gdbus tests 1743s ok - glib/gdbus-address-get-session.test 1743s # Running test: glib/assert-msg-test.py.test 1743s TAP version 13 1743s ok 1 __main__.TestAssertMessage.test_gassert 1743s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1743s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1743s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FeeFe6d9J0,guid=84ed1b1f44aef6666bfb3e7665f59b91', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.NjkkEa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.wXjFUF15kh', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.W650Ax/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.NjkkEa/wrapper.sh --artifacts=/tmp/autopkgtest.NjkkEa/installed-tests-artifacts --chdir=/tmp/autopkgtest.NjkkEa/build.7J4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.NjkkEa/installed-tests-stderr --stdout=/tmp/autopkgtest.NjkkEa/installed-tests-stdout --tmp=/tmp/autopkgtest.NjkkEa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests -- /tmp/autopkgtest.NjkkEa/build.7J4/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.NjkkEa/build.7J4/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NjkkEa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1743s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1743s # Error: ** 1743s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1743s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1743s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1743s 1..2 1743s ok - glib/assert-msg-test.py.test 1743s # Running test: glib/memory-input-stream.test 1743s TAP version 13 1743s # random seed: R02S63eb9eac9429352cc771bcb0447d9777 1743s 1..6 1743s # Start of memory-input-stream tests 1743s ok 1 /memory-input-stream/read-chunks 1743s ok 2 /memory-input-stream/async 1743s ok 3 /memory-input-stream/seek 1743s ok 4 /memory-input-stream/truncate 1743s ok 5 /memory-input-stream/read-bytes 1743s ok 6 /memory-input-stream/from-bytes 1743s # End of memory-input-stream tests 1743s ok - glib/memory-input-stream.test 1743s # Running test: glib/deprecated-properties.test 1743s TAP version 13 1743s # random seed: R02S0f7d99393111d832fd5b481ac4649b50 1743s 1..3 1743s # Start of deprecated-properties tests 1743s ok 1 /deprecated-properties/construct 1743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1743s ok 2 /deprecated-properties/default-construct 1743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1743s ok 3 /deprecated-properties/set 1743s # End of deprecated-properties tests 1743s ok - glib/deprecated-properties.test 1743s # Running test: glib/gdbus-proxy-threads.test 1743s TAP version 13 1743s # random seed: R02Sbfafe849e2f643a659572d0eccaa7805 1743s 1..1 1743s # Start of gdbus tests 1743s # Start of proxy tests 1743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/home 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/cache 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/system-config2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/config 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/system-data2 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/data 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/state 1743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_DXZ3K2/gdbus/proxy/vs-threads/.dirs/runtime 1743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1744s # Executing: glib/gdbus-proxy-threads.test 1749s # Executing: glib/gdbus-proxy-threads.test 1752s ok 1 /gdbus/proxy/vs-threads 1752s # slow test /gdbus/proxy/vs-threads executed in 8.97 secs 1752s # End of proxy tests 1752s # End of gdbus tests 1752s ok - glib/gdbus-proxy-threads.test 1752s cleaning up pid 15075 1752s # Running test: glib/cmph-bdz.test 1752s TAP version 13 1752s # random seed: R02S9ef86ea314731385a1a0b31b1a337e3a 1752s 1..2 1752s # Start of cmph-bdz tests 1752s ok 1 /cmph-bdz/search 1752s ok 2 /cmph-bdz/search-packed 1752s # End of cmph-bdz tests 1752s ok - glib/cmph-bdz.test 1752s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=291.2s; system=200.0s; maxrss=167808 1753s autopkgtest [13:30:09]: test installed-tests: -----------------------] 1754s installed-tests PASS 1754s autopkgtest [13:30:10]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1755s autopkgtest [13:30:11]: test closure-refcount: preparing testbed 1758s Reading package lists... 1758s Building dependency tree... 1758s Reading state information... 1760s Starting pkgProblemResolver with broken count: 0 1760s Starting 2 pkgProblemResolver with broken count: 0 1760s Done 1763s The following NEW packages will be installed: 1763s autopkgtest-satdep 1763s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1763s Need to get 0 B/772 B of archives. 1763s After this operation, 0 B of additional disk space will be used. 1763s Get:1 /tmp/autopkgtest.NjkkEa/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1764s Selecting previously unselected package autopkgtest-satdep. 1764s (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 ... 76889 files and directories currently installed.) 1764s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1764s Unpacking autopkgtest-satdep (0) ... 1764s Setting up autopkgtest-satdep (0) ... 1771s (Reading database ... 76889 files and directories currently installed.) 1771s Removing autopkgtest-satdep (0) ... 1773s autopkgtest [13:30:29]: test closure-refcount: [----------------------- 1773s Running test: glib/closure-refcount.test 1773s TAP version 13 1773s # random seed: R02S245a6488093c88942e35cc8e05debe3d 1773s 1..1 1773s # Start of closure tests 1773s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1773s # End of closure tests 1773s PASS: glib/closure-refcount.test 1773s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 1774s autopkgtest [13:30:30]: test closure-refcount: -----------------------] 1775s autopkgtest [13:30:31]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1775s closure-refcount PASS 1775s autopkgtest [13:30:31]: test debugcontroller: preparing testbed 1777s Reading package lists... 1778s Building dependency tree... 1778s Reading state information... 1779s Starting pkgProblemResolver with broken count: 0 1780s Starting 2 pkgProblemResolver with broken count: 0 1780s Done 1782s The following NEW packages will be installed: 1782s autopkgtest-satdep 1782s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1782s Need to get 0 B/772 B of archives. 1782s After this operation, 0 B of additional disk space will be used. 1782s Get:1 /tmp/autopkgtest.NjkkEa/5-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1783s Selecting previously unselected package autopkgtest-satdep. 1783s (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 ... 76889 files and directories currently installed.) 1783s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1783s Unpacking autopkgtest-satdep (0) ... 1784s Setting up autopkgtest-satdep (0) ... 1789s (Reading database ... 76889 files and directories currently installed.) 1789s Removing autopkgtest-satdep (0) ... 1791s autopkgtest [13:30:47]: test debugcontroller: [----------------------- 1791s Running test: glib/debugcontroller.test 1791s TAP version 13 1791s # random seed: R02S9de43621542831dbf15b74996892bbd5 1791s 1..3 1791s # Start of debug-controller tests 1791s # Start of dbus tests 1791s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1791s # GLib-GIO-DEBUG: Debug output enabled 1791s # GLib-GIO-DEBUG: Debug output disabled 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s ok 1 /debug-controller/dbus/basic 1791s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s ok 2 /debug-controller/dbus/duplicate 1791s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1791s # GLib-GIO-DEBUG: Debug output enabled 1791s # GLib-GIO-DEBUG: Debug output disabled 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1791s ok 3 /debug-controller/dbus/properties 1791s # End of dbus tests 1791s # End of debug-controller tests 1791s PASS: glib/debugcontroller.test 1791s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5888 1792s autopkgtest [13:30:48]: test debugcontroller: -----------------------] 1792s debugcontroller PASS 1792s autopkgtest [13:30:48]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1793s autopkgtest [13:30:49]: test gdbus-server-auth: preparing testbed 1795s Reading package lists... 1796s Building dependency tree... 1796s Reading state information... 1797s Starting pkgProblemResolver with broken count: 0 1797s Starting 2 pkgProblemResolver with broken count: 0 1797s Done 1799s The following NEW packages will be installed: 1799s autopkgtest-satdep 1799s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1799s Need to get 0 B/776 B of archives. 1799s After this operation, 0 B of additional disk space will be used. 1799s Get:1 /tmp/autopkgtest.NjkkEa/6-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1801s Selecting previously unselected package autopkgtest-satdep. 1801s (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 ... 76889 files and directories currently installed.) 1801s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1801s Unpacking autopkgtest-satdep (0) ... 1801s Setting up autopkgtest-satdep (0) ... 1807s (Reading database ... 76889 files and directories currently installed.) 1807s Removing autopkgtest-satdep (0) ... 1808s autopkgtest [13:31:04]: test gdbus-server-auth: [----------------------- 1809s Running test: glib/gdbus-server-auth.test 1809s TAP version 13 1809s # random seed: R02Sfefa18e6219f6aa2127b13c3497203a3 1809s 1..9 1809s # Start of gdbus tests 1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/home 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/cache 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/system-config2 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/config 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/system-data2 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/data 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/state 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/.dirs/runtime 1809s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-YMARK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1809s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-YMARK2/dbus-CeH4KNoP 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15839 1809s ok 1 /gdbus/server-auth 1809s # Start of server-auth tests 1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/home 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/cache 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/system-config2 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/config 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/system-data2 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/data 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/state 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/abstract/.dirs/runtime 1809s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-S3CKK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1809s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-S3CKK2/dbus-qu4Ci93Y 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15839 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1809s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15839 1809s ok 2 /gdbus/server-auth/abstract 1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/home 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/cache 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/system-config2 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/config 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/system-data2 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/data 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/state 1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/tcp/.dirs/runtime 1809s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1809s # Connectable address: tcp:host=127.0.0.1,port=44791 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1809s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1809s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1809s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1809s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1809s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1810s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1810s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1810s ok 3 /gdbus/server-auth/tcp 1810s # slow test /gdbus/server-auth/tcp executed in 1.03 secs 1810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/home 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/cache 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/system-config2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/config 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/system-data2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/data 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/state 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/.dirs/runtime 1810s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-O6UMK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1810s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-O6UMK2/dbus-i8Vw5PNv 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15839 1810s ok 4 /gdbus/server-auth/anonymous 1810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/home 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/cache 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/system-config2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/config 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/system-data2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/data 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/state 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/.dirs/runtime 1810s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-85C1K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1810s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-85C1K2/dbus-PovQ4aXX 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1810s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15839 1810s ok 5 /gdbus/server-auth/external 1810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/home 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/cache 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/system-config2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/config 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/system-data2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/data 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/state 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/.dirs/runtime 1810s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-6DIZK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1810s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-6DIZK2/dbus-Vk4j8VkA 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15839 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1810s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15839 1810s ok 6 /gdbus/server-auth/sha1 1810s # Start of anonymous tests 1810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1810s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1810s # Connectable address: tcp:host=127.0.0.1,port=45439 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1810s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1810s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1810s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1810s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1810s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1811s ok 7 /gdbus/server-auth/anonymous/tcp 1811s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.97 secs 1811s # End of anonymous tests 1811s # Start of external tests 1811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/home 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/config 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/data 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/state 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1811s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-06C2K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1811s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4H0QK2/gdbus-server-auth-06C2K2/dbus-3d3TPBNF 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15839 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15839,uid=1000,gid=1000 1811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15839 1811s ok 8 /gdbus/server-auth/external/require-same-user 1811s # End of external tests 1811s # Start of sha1 tests 1811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/home 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/config 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/data 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/state 1811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4H0QK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1811s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1811s # Connectable address: tcp:host=127.0.0.1,port=37823 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1811s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1811s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1811s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1812s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1812s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1812s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1812s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1812s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1812s ok 9 /gdbus/server-auth/sha1/tcp 1812s # slow test /gdbus/server-auth/sha1/tcp executed in 1.04 secs 1812s # End of sha1 tests 1812s # End of server-auth tests 1812s # End of gdbus tests 1812s PASS: glib/gdbus-server-auth.test 1812s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.5s; maxrss=8576 1813s autopkgtest [13:31:09]: test gdbus-server-auth: -----------------------] 1814s autopkgtest [13:31:10]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1814s gdbus-server-auth PASS 1814s autopkgtest [13:31:10]: test gdbus-threading: preparing testbed 1817s Reading package lists... 1818s Building dependency tree... 1818s Reading state information... 1819s Starting pkgProblemResolver with broken count: 0 1819s Starting 2 pkgProblemResolver with broken count: 0 1819s Done 1821s The following NEW packages will be installed: 1821s autopkgtest-satdep 1821s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1821s Need to get 0 B/772 B of archives. 1821s After this operation, 0 B of additional disk space will be used. 1821s Get:1 /tmp/autopkgtest.NjkkEa/7-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1823s Selecting previously unselected package autopkgtest-satdep. 1823s (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 ... 76889 files and directories currently installed.) 1823s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1823s Unpacking autopkgtest-satdep (0) ... 1823s Setting up autopkgtest-satdep (0) ... 1831s (Reading database ... 76889 files and directories currently installed.) 1831s Removing autopkgtest-satdep (0) ... 1832s autopkgtest [13:31:28]: test gdbus-threading: [----------------------- 1833s Running test: glib/gdbus-threading.test 1833s TAP version 13 1833s # random seed: R02Sa80f2cdf222491bc43ccdcb875d8719c 1833s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1833s 1..3 1833s # Start of gdbus tests 1833s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/home 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/cache 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/system-config2 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/config 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/system-data2 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/data 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/state 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W3GPK2/gdbus/delivery-in-thread/.dirs/runtime 1833s # GLib-GIO-DEBUG: refcount of 0xc7ad41b41100 is not right (2 rather than 1) in test_delivery_in_thread(), sleeping 1833s ok 1 /gdbus/delivery-in-thread 1833s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/home 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/cache 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/system-config2 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/config 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/system-data2 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/data 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/state 1833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W3GPK2/gdbus/method-calls-in-thread/.dirs/runtime 1834s # GLib-GIO-DEBUG: refcount of 0xc7ad41b41100 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 1834s # GLib-GIO-DEBUG: refcount of 0xc7ad41b41100 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 1834s ok 2 /gdbus/method-calls-in-thread 1834s # slow test /gdbus/method-calls-in-thread executed in 0.98 secs 1834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/home 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/cache 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/system-config2 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/config 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/system-data2 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/data 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/state 1834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W3GPK2/gdbus/threaded-singleton/.dirs/runtime 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604004990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604005b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: refcount of 0xff1604005b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff1604004db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff16040050e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: refcount of 0xff16040050e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1834s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff16040062f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: refcount of 0xff16040062f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff16040062f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff16040062f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff1604003b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff1604003b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff1604003b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff1604003b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: refcount of 0xff1604003b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff1604005bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff16040066b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: refcount of 0xff1604003f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1835s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604003b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: refcount of 0xff1604003b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604003b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604003f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604006930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff16040047c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604007460 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604003f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1836s # GLib-GIO-DEBUG: refcount of 0xff1604004280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff1604003500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff1604003500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: refcount of 0xff1604003500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: refcount of 0xff1604003500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff16040009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff16040009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff16040050b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff16040050b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: refcount of 0xff16040050b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff16040050b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff1604007090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1837s # GLib-GIO-DEBUG: refcount of 0xff1604007090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1837s # GLib-GIO-DEBUG: refcount of 0xff1604007090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604007090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: refcount of 0xff1604007090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604007090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff16040069a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s Executing: glib/gdbus-threading.test 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604004ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff16040073f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604006960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604007b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604007b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604006fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1838s # GLib-GIO-DEBUG: refcount of 0xff1604001910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604001910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604002c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604002c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604002c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604002c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604004790 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff16040062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff16040073d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1839s # GLib-GIO-DEBUG: refcount of 0xff1604007db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1839s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604008310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604008310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: refcount of 0xff1604008310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604008310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604008310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604000e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604000e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604000e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: refcount of 0xff1604000e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604000e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff1604007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1840s # GLib-GIO-DEBUG: refcount of 0xff16040072a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff16040071c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604008cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: refcount of 0xff1604008cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff16040024b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff16040024b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff16040024b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff16040024b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604008340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: refcount of 0xff1604008340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604007630 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604006960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604006960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604006960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1841s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1841s # GLib-GIO-DEBUG: refcount of 0xff1604006960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: refcount of 0xff1604008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: refcount of 0xff1604008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604007650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff16040057b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604007e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff16040057b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff16040057b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff16040057b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: refcount of 0xff16040057b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff16040068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff16040089c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff1604008990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff16040081a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s Executing: glib/gdbus-threading.test 1843s # GLib-GIO-DEBUG: refcount of 0xff16040081a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff16040089c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff1604008220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff1604008220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff1604008290 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1843s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1843s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604008990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604008640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604008330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: refcount of 0xff1604007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff16040092b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1844s # GLib-GIO-DEBUG: refcount of 0xff1604007400 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604009160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff16040068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff16040068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff16040068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff16040068e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff16040095a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604007f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1845s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604007ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff16040094e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1846s # GLib-GIO-DEBUG: refcount of 0xff1604009390 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604009390 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604007540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1847s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1847s # GLib-GIO-DEBUG: refcount of 0xff1604008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s Executing: glib/gdbus-threading.test 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff16040083e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff16040083e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff16040083e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1848s # GLib-GIO-DEBUG: refcount of 0xff16040080e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff16040080e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff16040080e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604007ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff16040082c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: refcount of 0xff16040082c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1849s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604008840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff16040097b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: refcount of 0xff16040097b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1850s # GLib-GIO-DEBUG: refcount of 0xff16040097b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff16040093c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1851s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff1604002470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff1604009720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff16040097d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s # GLib-GIO-DEBUG: refcount of 0xff16040097d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: refcount of 0xff16040097d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1852s ok 3 /gdbus/threaded-singleton 1852s # slow test /gdbus/threaded-singleton executed in 18.55 secs 1852s # End of gdbus tests 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1852s PASS: glib/gdbus-threading.test 1852s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.3s; system=1.9s; maxrss=5760 1853s autopkgtest [13:31:49]: test gdbus-threading: -----------------------] 1853s gdbus-threading PASS 1853s autopkgtest [13:31:49]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1854s autopkgtest [13:31:50]: test gmenumodel: preparing testbed 1856s Reading package lists... 1857s Building dependency tree... 1857s Reading state information... 1858s Starting pkgProblemResolver with broken count: 0 1858s Starting 2 pkgProblemResolver with broken count: 0 1858s Done 1860s The following NEW packages will be installed: 1860s autopkgtest-satdep 1860s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1860s Need to get 0 B/772 B of archives. 1860s After this operation, 0 B of additional disk space will be used. 1860s Get:1 /tmp/autopkgtest.NjkkEa/8-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1861s Selecting previously unselected package autopkgtest-satdep. 1862s (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 ... 76889 files and directories currently installed.) 1862s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1862s Unpacking autopkgtest-satdep (0) ... 1862s Setting up autopkgtest-satdep (0) ... 1868s (Reading database ... 76889 files and directories currently installed.) 1868s Removing autopkgtest-satdep (0) ... 1869s autopkgtest [13:32:05]: test gmenumodel: [----------------------- 1870s Running test: glib/gmenumodel.test 1870s TAP version 13 1870s # random seed: R02Sab2c2347e0b6778252305636101d8d5a 1870s 1..14 1870s # Start of gmenu tests 1872s ok 1 /gmenu/equality 1872s # slow test /gmenu/equality executed in 2.50 secs 1875s Executing: glib/gmenumodel.test 1876s ok 2 /gmenu/random 1876s # slow test /gmenu/random executed in 3.34 secs 1876s ok 3 /gmenu/attributes 1876s ok 4 /gmenu/links 1876s ok 5 /gmenu/mutable 1876s ok 6 /gmenu/convenience 1876s ok 7 /gmenu/menuitem 1876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1876s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1876s ok 8 /gmenu/input-validation 1876s # Start of dbus tests 1876s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1877s ok 9 /gmenu/dbus/roundtrip 1877s # slow test /gmenu/dbus/roundtrip executed in 1.20 secs 1877s ok 10 /gmenu/dbus/subscriptions 1880s Executing: glib/gmenumodel.test 1882s ok 11 /gmenu/dbus/threaded 1882s # slow test /gmenu/dbus/threaded executed in 4.86 secs 1882s # Start of peer tests 1883s ok 12 /gmenu/dbus/peer/roundtrip 1883s # slow test /gmenu/dbus/peer/roundtrip executed in 1.19 secs 1884s ok 13 /gmenu/dbus/peer/subscriptions 1884s # End of peer tests 1884s # End of dbus tests 1884s # Start of attributes tests 1884s ok 14 /gmenu/attributes/iterate 1884s # End of attributes tests 1884s # End of gmenu tests 1884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1884s PASS: glib/gmenumodel.test 1884s cleaning up pid 17362 1884s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=11.1s; system=0.7s; maxrss=10880 1884s autopkgtest [13:32:20]: test gmenumodel: -----------------------] 1885s gmenumodel PASS 1885s autopkgtest [13:32:21]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1886s autopkgtest [13:32:22]: test mainloop: preparing testbed 1888s Reading package lists... 1888s Building dependency tree... 1888s Reading state information... 1889s Starting pkgProblemResolver with broken count: 0 1890s Starting 2 pkgProblemResolver with broken count: 0 1890s Done 1892s The following NEW packages will be installed: 1892s autopkgtest-satdep 1892s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1892s Need to get 0 B/772 B of archives. 1892s After this operation, 0 B of additional disk space will be used. 1892s Get:1 /tmp/autopkgtest.NjkkEa/9-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1893s Selecting previously unselected package autopkgtest-satdep. 1893s (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 ... 76889 files and directories currently installed.) 1893s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1893s Unpacking autopkgtest-satdep (0) ... 1893s Setting up autopkgtest-satdep (0) ... 1899s (Reading database ... 76889 files and directories currently installed.) 1899s Removing autopkgtest-satdep (0) ... 1901s autopkgtest [13:32:37]: test mainloop: [----------------------- 1901s Running test: glib/mainloop.test 1901s TAP version 13 1901s # random seed: R02S7d9fe058cc89dc08af373d9e0b4527e9 1901s 1..45 1901s # Start of maincontext tests 1901s ok 1 /maincontext/basic 1901s # Add same-priority sources: 72 1901s # Find each source: 19 1901s # Remove in random order: 110 1901s ok 2 /maincontext/nsources_same_priority 1901s # Add different-priority sources: 59 1901s # Find each source: 20 1902s # Remove in random order: 129 1902s ok 3 /maincontext/nsources_different_priority 1902s # Add sources from threads: 790 1903s # Remove sources from threads: 139 1903s ok 4 /maincontext/nsources_threadpool 1903s # slow test /maincontext/nsources_threadpool executed in 0.97 secs 1903s ok 5 /maincontext/source_finalization 1903s # /maincontext/idle-once summary: Test g_idle_add_once() works 1903s ok 6 /maincontext/idle-once 1903s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1903s ok 7 /maincontext/timeout-once 1903s # Start of source_finalization_from_source tests 1903s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 8 /maincontext/source_finalization_from_source/0 1903s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 9 /maincontext/source_finalization_from_source/1 1903s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 10 /maincontext/source_finalization_from_source/2 1903s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 11 /maincontext/source_finalization_from_source/3 1903s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 12 /maincontext/source_finalization_from_source/4 1903s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 13 /maincontext/source_finalization_from_source/5 1903s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 14 /maincontext/source_finalization_from_source/6 1903s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 15 /maincontext/source_finalization_from_source/7 1903s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 16 /maincontext/source_finalization_from_source/8 1903s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1903s ok 17 /maincontext/source_finalization_from_source/9 1903s # End of source_finalization_from_source tests 1903s # Start of source_finalization_from_dispatch tests 1903s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1903s ok 18 /maincontext/source_finalization_from_dispatch/0 1903s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1903s ok 19 /maincontext/source_finalization_from_dispatch/1 1903s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1903s ok 20 /maincontext/source_finalization_from_dispatch/2 1903s # End of source_finalization_from_dispatch tests 1903s # End of maincontext tests 1903s # Start of mainloop tests 1903s ok 21 /mainloop/basic 1903s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1903s ok 23 /mainloop/priorities 1903s ok 24 /mainloop/invoke 1903s # slow test /mainloop/invoke executed in 0.50 secs 1904s ok 25 /mainloop/child_sources 1904s # slow test /mainloop/child_sources executed in 1.26 secs 1906s Executing: glib/mainloop.test 1907s ok 26 /mainloop/recursive_child_sources 1907s # slow test /mainloop/recursive_child_sources executed in 2.29 secs 1907s ok 27 /mainloop/recursive_loop_child_sources 1907s ok 28 /mainloop/swapping_child_sources 1907s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1907s ok 29 /mainloop/blocked_child_sources 1908s ok 30 /mainloop/source_time 1908s # slow test /mainloop/source_time executed in 1.00 secs 1908s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1908s ok 31 /mainloop/overflow 1908s ok 32 /mainloop/ready-time 1908s # slow test /mainloop/ready-time executed in 0.50 secs 1908s ok 33 /mainloop/wakeup 1908s ok 34 /mainloop/remove-invalid 1908s ok 35 /mainloop/unref-while-pending 1911s Executing: glib/mainloop.test 1912s ok 36 /mainloop/unix-fd 1912s # slow test /mainloop/unix-fd executed in 4.20 secs 1912s ok 37 /mainloop/unix-fd-source 1912s ok 38 /mainloop/source-unix-fd-api 1913s ok 39 /mainloop/wait 1913s ok 40 /mainloop/unix-file-poll 1913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1913s ok 41 /mainloop/unix-fd-priority 1913s ok 42 /mainloop/nfds 1913s ok 43 /mainloop/steal-fd 1913s # Start of ownerless-polling tests 1913s ok 44 /mainloop/ownerless-polling/attach-first 1913s ok 45 /mainloop/ownerless-polling/pop-first 1913s # End of ownerless-polling tests 1913s # End of mainloop tests 1913s PASS: glib/mainloop.test 1913s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.1s; system=3.9s; maxrss=15656 1913s autopkgtest [13:32:49]: test mainloop: -----------------------] 1914s mainloop PASS 1914s autopkgtest [13:32:50]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1914s autopkgtest [13:32:50]: test memory-monitor-dbus: preparing testbed 1916s Reading package lists... 1917s Building dependency tree... 1917s Reading state information... 1918s Starting pkgProblemResolver with broken count: 0 1918s Starting 2 pkgProblemResolver with broken count: 0 1918s Done 1920s The following NEW packages will be installed: 1920s autopkgtest-satdep 1921s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1921s Need to get 0 B/772 B of archives. 1921s After this operation, 0 B of additional disk space will be used. 1921s Get:1 /tmp/autopkgtest.NjkkEa/10-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1922s Selecting previously unselected package autopkgtest-satdep. 1922s (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 ... 76889 files and directories currently installed.) 1922s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1922s Unpacking autopkgtest-satdep (0) ... 1922s Setting up autopkgtest-satdep (0) ... 1928s (Reading database ... 76889 files and directories currently installed.) 1928s Removing autopkgtest-satdep (0) ... 1929s autopkgtest [13:33:05]: test memory-monitor-dbus: [----------------------- 1930s Running test: glib/memory-monitor-dbus.test 1931s TAP version 13 1931s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1931s # Received memory warning signal, level 1931s # Received memory warning signal, level 1931s # Received memory warning signal, level 1931s # Received memory warning signal, level 1931s 1..1 1931s PASS: glib/memory-monitor-dbus.test 1931s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.2s; maxrss=24800 1931s autopkgtest [13:33:07]: test memory-monitor-dbus: -----------------------] 1932s memory-monitor-dbus PASS 1932s autopkgtest [13:33:08]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1932s autopkgtest [13:33:08]: test socket: preparing testbed 1934s Reading package lists... 1935s Building dependency tree... 1935s Reading state information... 1936s Starting pkgProblemResolver with broken count: 0 1936s Starting 2 pkgProblemResolver with broken count: 0 1936s Done 1938s The following NEW packages will be installed: 1938s autopkgtest-satdep 1938s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1938s Need to get 0 B/776 B of archives. 1938s After this operation, 0 B of additional disk space will be used. 1938s Get:1 /tmp/autopkgtest.NjkkEa/11-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1940s Selecting previously unselected package autopkgtest-satdep. 1940s (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 ... 76889 files and directories currently installed.) 1940s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1940s Unpacking autopkgtest-satdep (0) ... 1940s Setting up autopkgtest-satdep (0) ... 1947s (Reading database ... 76889 files and directories currently installed.) 1947s Removing autopkgtest-satdep (0) ... 1948s autopkgtest [13:33:24]: test socket: [----------------------- 1948s Running test: glib/socket.test 1948s TAP version 13 1948s # random seed: R02S80830033d38da746b8dbeeeae2b9a398 1948s 1..28 1948s # Start of socket tests 1949s ok 1 /socket/ipv4_sync 1949s # slow test /socket/ipv4_sync executed in 1.00 secs 1950s ok 2 /socket/ipv4_async 1950s # slow test /socket/ipv4_async executed in 1.00 secs 1950s ok 3 /socket/ipv6_sync 1950s ok 4 /socket/ipv6_async 1950s ok 5 /socket/ipv6_v4mapped 1951s ok 6 /socket/close_graceful 1951s # slow test /socket/close_graceful executed in 1.00 secs 1951s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1951s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1951s ok 8 /socket/fd_reuse 1951s ok 9 /socket/address 1951s ok 10 /socket/unix-from-fd 1951s ok 11 /socket/unix-connection 1951s ok 12 /socket/unix-connection-ancillary-data 1951s ok 13 /socket/source-postmortem 1951s ok 14 /socket/read_write 1951s ok 15 /socket/read_writev 1951s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1951s ok 16 /socket/receive_bytes 1951s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1951s ok 17 /socket/receive_bytes_from 1951s # Start of ipv4_sync tests 1951s ok 18 /socket/ipv4_sync/datagram 1951s # Start of datagram tests 1952s ok 19 /socket/ipv4_sync/datagram/timeouts 1952s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1952s # End of datagram tests 1952s # End of ipv4_sync tests 1952s # Start of ipv6_sync tests 1952s ok 20 /socket/ipv6_sync/datagram 1952s # Start of datagram tests 1953s ok 21 /socket/ipv6_sync/datagram/timeouts 1953s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.11 secs 1953s # End of datagram tests 1953s # End of ipv6_sync tests 1953s # Start of reuse tests 1953s ok 22 /socket/reuse/tcp 1953s ok 23 /socket/reuse/udp 1953s # End of reuse tests 1953s # Start of get_available tests 1954s ok 24 /socket/get_available/datagram 1954s ok 25 /socket/get_available/stream 1954s # End of get_available tests 1954s # Start of credentials tests 1954s # Supported on this OS: GCredentials:linux-ucred:pid=0 1954s ok 26 /socket/credentials/tcp_client 1954s # Supported on this OS: GCredentials:linux-ucred:pid=0 1954s ok 27 /socket/credentials/tcp_server 1954s # Supported on this OS: GCredentials:linux-ucred:pid=18180,uid=1000,gid=1000 1954s ok 28 /socket/credentials/unix_socketpair 1954s # End of credentials tests 1954s # End of socket tests 1954s PASS: glib/socket.test 1954s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 1954s autopkgtest [13:33:30]: test socket: -----------------------] 1955s socket PASS 1955s autopkgtest [13:33:31]: test socket: - - - - - - - - - - results - - - - - - - - - - 1955s autopkgtest [13:33:31]: test testfilemonitor: preparing testbed 1958s Reading package lists... 1958s Building dependency tree... 1958s Reading state information... 1959s Starting pkgProblemResolver with broken count: 0 1960s Starting 2 pkgProblemResolver with broken count: 0 1960s Done 1962s The following NEW packages will be installed: 1962s autopkgtest-satdep 1962s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1962s Need to get 0 B/776 B of archives. 1962s After this operation, 0 B of additional disk space will be used. 1962s Get:1 /tmp/autopkgtest.NjkkEa/12-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1963s Selecting previously unselected package autopkgtest-satdep. 1964s (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 ... 76889 files and directories currently installed.) 1964s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1964s Unpacking autopkgtest-satdep (0) ... 1964s Setting up autopkgtest-satdep (0) ... 1970s (Reading database ... 76889 files and directories currently installed.) 1970s Removing autopkgtest-satdep (0) ... 1971s autopkgtest [13:33:47]: test testfilemonitor: [----------------------- 1972s Running test: glib/testfilemonitor.test 1972s TAP version 13 1972s # random seed: R02Sb515d287a1ff025cdacc25dbb865bcd1 1972s 1..8 1972s # Start of monitor tests 1972s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1972s # Using temporary directory: /tmp/gio-test-testfilemonitor_32AJK2 1972s # Using GFileMonitor GInotifyFileMonitor 1974s ok 1 /monitor/atomic-replace 1974s # slow test /monitor/atomic-replace executed in 2.01 secs 1974s # Using temporary directory: /tmp/gio-test-testfilemonitor_IUHJK2 1974s # Using GFileMonitor GInotifyFileMonitor 1976s ok 2 /monitor/file-changes 1976s # slow test /monitor/file-changes executed in 2.51 secs 1976s # Using temporary directory: /tmp/gio-test-testfilemonitor_M6DUK2 1976s # Using GFileMonitor GInotifyFileMonitor 1977s Executing: glib/testfilemonitor.test 1980s ok 3 /monitor/dir-monitor 1980s # slow test /monitor/dir-monitor executed in 3.51 secs 1980s # Using temporary directory: /tmp/gio-test-testfilemonitor_SOFIK2 1980s # Using GFileMonitor GInotifyFileMonitor 1982s Executing: glib/testfilemonitor.test 1987s Executing: glib/testfilemonitor.test 1992s Executing: glib/testfilemonitor.test 1997s Executing: glib/testfilemonitor.test 2002s Executing: glib/testfilemonitor.test 2005s ok 4 /monitor/dir-not-existent 2005s # slow test /monitor/dir-not-existent executed in 25.03 secs 2005s # Using temporary directory: /tmp/gio-test-testfilemonitor_JJHNK2 2005s # Using GFileMonitor 0 GInotifyFileMonitor 2005s # Using GFileMonitor 1 GInotifyFileMonitor 2007s Executing: glib/testfilemonitor.test 2007s ok 5 /monitor/cross-dir-moves 2007s # slow test /monitor/cross-dir-moves executed in 2.01 secs 2007s # Using temporary directory: /tmp/gio-test-testfilemonitor_1QCNK2 2007s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2007s ok 6 /monitor/finalize-in-callback 2007s # Using temporary directory: /tmp/gio-test-testfilemonitor_8M0MK2 2007s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2007s ok 7 /monitor/root 2007s # Start of file tests 2007s # Using temporary directory: /tmp/gio-test-testfilemonitor_26YMK2 2007s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2007s # Running with hard link tests 2007s # Using GFileMonitor GInotifyFileMonitor 2010s # Event 0 at expected index 7 skipped because it is marked as optional 2010s # Event 2 at expected index 11 skipped because it is marked as optional 2010s ok 8 /monitor/file/hard-links 2010s # slow test /monitor/file/hard-links executed in 3.51 secs 2010s # End of file tests 2010s # End of monitor tests 2010s PASS: glib/testfilemonitor.test 2010s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5248 2011s autopkgtest [13:34:27]: test testfilemonitor: -----------------------] 2012s testfilemonitor PASS 2012s autopkgtest [13:34:28]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2012s autopkgtest [13:34:28]: test thread-pool-slow: preparing testbed 2014s Reading package lists... 2015s Building dependency tree... 2015s Reading state information... 2016s Starting pkgProblemResolver with broken count: 0 2016s Starting 2 pkgProblemResolver with broken count: 0 2016s Done 2018s The following NEW packages will be installed: 2018s autopkgtest-satdep 2018s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2018s Need to get 0 B/776 B of archives. 2018s After this operation, 0 B of additional disk space will be used. 2018s Get:1 /tmp/autopkgtest.NjkkEa/13-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 2019s Selecting previously unselected package autopkgtest-satdep. 2019s (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 ... 76889 files and directories currently installed.) 2019s Preparing to unpack .../13-autopkgtest-satdep.deb ... 2019s Unpacking autopkgtest-satdep (0) ... 2019s Setting up autopkgtest-satdep (0) ... 2025s (Reading database ... 76889 files and directories currently installed.) 2025s Removing autopkgtest-satdep (0) ... 2027s autopkgtest [13:34:43]: test thread-pool-slow: [----------------------- 2027s Running test: glib/thread-pool-slow.test 2027s TAP version 13 2027s # random seed: R02S6e180120344e9838c436155d6295a3e5 2027s 1..7 2027s # Start of threadpool tests 2027s ok 1 /threadpool/functions 2027s ok 2 /threadpool/stop-unused 2027s # slow test /threadpool/stop-unused executed in 0.52 secs 2028s ok 3 /threadpool/pools 2028s # [unsorted] ===> pushed new thread with id:67, number of threads:1, unprocessed:1 2028s # [unsorted] ===> pushed new thread with id:54, number of threads:2, unprocessed:1 2028s # [unsorted] ===> pushed new thread with id:92, number of threads:3, unprocessed:1 2028s # [unsorted] ===> pushed new thread with id:2, number of threads:4, unprocessed:2 2028s # [unsorted] ===> pushed new thread with id:53, number of threads:5, unprocessed:3 2028s # [unsorted] ===> pushed new thread with id:30, number of threads:6, unprocessed:4 2028s # [unsorted] ===> pushed new thread with id:50, number of threads:7, unprocessed:5 2028s # [unsorted] ===> pushed new thread with id:76, number of threads:8, unprocessed:6 2028s # [unsorted] ===> pushed new thread with id:54, number of threads:9, unprocessed:7 2028s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:8 2028s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:9 2028s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:10 2028s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:11 2028s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:12 2028s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:13 2028s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:14 2028s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:15 2028s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:16 2028s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:17 2028s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:18 2028s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:19 2028s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:20 2028s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:21 2028s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:22 2028s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:23 2028s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:24 2028s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:25 2028s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:26 2028s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:27 2028s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:28 2028s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:29 2028s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:30 2028s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:31 2028s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:32 2028s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:33 2028s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:34 2028s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:35 2028s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:36 2028s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:37 2028s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:38 2028s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:39 2028s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:40 2028s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:41 2028s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:42 2028s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:43 2028s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:44 2028s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:45 2028s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:46 2028s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:47 2028s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:48 2028s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:49 2028s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:50 2028s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:51 2028s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:52 2028s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:53 2028s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:54 2028s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:55 2028s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:56 2028s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:57 2028s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:58 2028s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:59 2028s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60 2028s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:61 2028s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:62 2028s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:63 2028s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:64 2028s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:65 2028s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:66 2028s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:67 2028s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:68 2028s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:69 2028s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:70 2028s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:71 2028s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:72 2028s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:73 2028s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:74 2028s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:75 2028s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:76 2028s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:77 2028s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:78 2028s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:79 2028s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:80 2028s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:81 2028s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:82 2028s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:83 2028s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:84 2028s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:85 2028s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:86 2028s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:87 2028s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:88 2028s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:89 2028s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:90 2028s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:91 2028s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:92 2028s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:93 2028s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:94 2028s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:95 2028s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:96 2028s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:97 2028s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:98 2028s ok 4 /threadpool/no-sort 2028s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:1 2028s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:2 2028s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:3 2028s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:4 2028s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:5 2028s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:6 2028s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:7 2028s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:8 2028s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:9 2028s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:10 2028s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:11 2028s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:12 2028s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:13 2028s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:14 2028s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:15 2028s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:16 2028s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:17 2028s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:18 2028s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:19 2028s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:20 2028s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:21 2028s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:22 2028s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:23 2028s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:24 2028s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:25 2028s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:26 2028s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:27 2028s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:28 2028s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:29 2028s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:30 2028s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:31 2028s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:32 2028s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:33 2028s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:34 2028s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:35 2028s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:36 2028s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:37 2028s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:38 2028s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:39 2028s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:40 2028s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:41 2028s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:42 2028s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:43 2028s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:44 2028s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:45 2028s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:46 2028s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:47 2028s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:48 2028s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:49 2028s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:50 2028s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:51 2028s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:52 2028s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:53 2028s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:54 2028s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:55 2028s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:56 2028s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:57 2028s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:58 2028s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:59 2028s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:60 2028s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:61 2028s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:62 2028s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:63 2028s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:64 2028s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:65 2028s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:66 2028s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:67 2028s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:68 2028s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:69 2028s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:70 2028s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:71 2028s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:72 2028s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:73 2028s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:74 2028s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:75 2028s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:76 2028s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:77 2028s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:78 2028s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:79 2028s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:80 2028s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:81 2028s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:82 2028s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:83 2028s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:84 2028s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:85 2028s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:86 2028s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:87 2028s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:88 2028s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:89 2028s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:90 2028s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:91 2028s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:92 2028s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:93 2028s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:94 2028s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:95 2028s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:96 2028s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:97 2028s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:98 2028s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:99 2028s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:100 2028s # Starting thread pool processing 2028s ok 5 /threadpool/sort 2028s ok 6 /threadpool/stop-unused-multiple 2028s # slow test /threadpool/stop-unused-multiple executed in 0.55 secs 2028s # Pool idle thread count: 0, unprocessed jobs: 40 2029s # Pool idle thread count: 0, unprocessed jobs: 0 2029s # Pool idle thread count: 0, unprocessed jobs: 0 2029s # Pool idle thread count: 10, unprocessed jobs: 0 2029s # Pool idle thread count: 10, unprocessed jobs: 0 2030s # Pool idle thread count: 10, unprocessed jobs: 0 2030s # Pool idle thread count: 10, unprocessed jobs: 0 2030s # Pool idle thread count: 10, unprocessed jobs: 0 2030s # Pool idle thread count: 10, unprocessed jobs: 0 2031s # Pool idle thread count: 10, unprocessed jobs: 0 2031s # Pool idle thread count: 10, unprocessed jobs: 0 2031s # Pool idle thread count: 10, unprocessed jobs: 0 2031s # Pool idle thread count: 10, unprocessed jobs: 0 2032s # Pool idle thread count: 10, unprocessed jobs: 0 2032s # Pool idle thread count: 10, unprocessed jobs: 0 2032s Executing: glib/thread-pool-slow.test 2032s # Pool idle thread count: 10, unprocessed jobs: 0 2032s # Pool idle thread count: 10, unprocessed jobs: 0 2033s # Pool idle thread count: 10, unprocessed jobs: 0 2033s # Pool idle thread count: 10, unprocessed jobs: 0 2033s # Pool idle thread count: 10, unprocessed jobs: 0 2033s # Pool idle thread count: 10, unprocessed jobs: 0 2034s # Pool idle thread count: 10, unprocessed jobs: 0 2034s # Pool idle thread count: 10, unprocessed jobs: 0 2034s # Pool idle thread count: 10, unprocessed jobs: 0 2034s # Pool idle thread count: 10, unprocessed jobs: 0 2035s # Pool idle thread count: 10, unprocessed jobs: 0 2035s # Pool idle thread count: 10, unprocessed jobs: 0 2035s # Pool idle thread count: 10, unprocessed jobs: 0 2035s # Pool idle thread count: 10, unprocessed jobs: 0 2036s # Pool idle thread count: 10, unprocessed jobs: 0 2036s # Pool idle thread count: 10, unprocessed jobs: 0 2036s # Pool idle thread count: 10, unprocessed jobs: 0 2036s # Pool idle thread count: 10, unprocessed jobs: 0 2037s # Pool idle thread count: 10, unprocessed jobs: 0 2037s # Pool idle thread count: 10, unprocessed jobs: 0 2037s Executing: glib/thread-pool-slow.test 2037s # Pool idle thread count: 10, unprocessed jobs: 2 2037s # Pool idle thread count: 10, unprocessed jobs: 2 2037s # Pool idle thread count: 8, unprocessed jobs: 0 2037s # Pool idle thread count: 8, unprocessed jobs: 0 2038s # Pool idle thread count: 10, unprocessed jobs: 0 2038s # Pool idle thread count: 10, unprocessed jobs: 0 2038s # Pool idle thread count: 10, unprocessed jobs: 0 2038s # Pool idle thread count: 10, unprocessed jobs: 0 2039s # Pool idle thread count: 10, unprocessed jobs: 0 2039s # Pool idle thread count: 10, unprocessed jobs: 0 2039s # Pool idle thread count: 2, unprocessed jobs: 0 2039s # Pool idle thread count: 2, unprocessed jobs: 0 2040s # Pool idle thread count: 2, unprocessed jobs: 0 2040s # Pool idle thread count: 2, unprocessed jobs: 0 2040s # Pool idle thread count: 2, unprocessed jobs: 0 2040s # Pool idle thread count: 2, unprocessed jobs: 0 2041s # Pool idle thread count: 2, unprocessed jobs: 0 2041s # Pool idle thread count: 2, unprocessed jobs: 0 2041s # Pool idle thread count: 2, unprocessed jobs: 0 2041s # Pool idle thread count: 2, unprocessed jobs: 0 2042s # Pool idle thread count: 2, unprocessed jobs: 0 2042s # Pool idle thread count: 2, unprocessed jobs: 0 2042s Executing: glib/thread-pool-slow.test 2042s # Pool idle thread count: 2, unprocessed jobs: 0 2042s # Pool idle thread count: 2, unprocessed jobs: 0 2043s # Pool idle thread count: 2, unprocessed jobs: 0 2043s # Pool idle thread count: 2, unprocessed jobs: 0 2043s # Pool idle thread count: 2, unprocessed jobs: 0 2043s # Pool idle thread count: 2, unprocessed jobs: 0 2044s # Pool idle thread count: 2, unprocessed jobs: 0 2044s # Pool idle thread count: 2, unprocessed jobs: 0 2044s # Pool idle thread count: 2, unprocessed jobs: 0 2044s # Pool idle thread count: 2, unprocessed jobs: 0 2045s # Pool idle thread count: 2, unprocessed jobs: 0 2045s # Pool idle thread count: 2, unprocessed jobs: 0 2045s # Pool idle thread count: 2, unprocessed jobs: 0 2045s # Pool idle thread count: 2, unprocessed jobs: 0 2046s # Pool idle thread count: 2, unprocessed jobs: 0 2046s # Pool idle thread count: 2, unprocessed jobs: 0 2046s # Pool idle thread count: 2, unprocessed jobs: 0 2046s # Pool idle thread count: 2, unprocessed jobs: 0 2047s # Pool idle thread count: 2, unprocessed jobs: 0 2047s # Pool idle thread count: 2, unprocessed jobs: 0 2047s Executing: glib/thread-pool-slow.test 2047s # Pool idle thread count: 2, unprocessed jobs: 0 2047s # Pool idle thread count: 2, unprocessed jobs: 0 2048s ok 7 /threadpool/idle-time 2048s # slow test /threadpool/idle-time executed in 19.54 secs 2048s # End of threadpool tests 2048s PASS: glib/thread-pool-slow.test 2048s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=3200 2048s autopkgtest [13:35:04]: test thread-pool-slow: -----------------------] 2049s thread-pool-slow PASS 2049s autopkgtest [13:35:05]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2049s autopkgtest [13:35:05]: test threadtests: preparing testbed 2052s Reading package lists... 2052s Building dependency tree... 2052s Reading state information... 2053s Starting pkgProblemResolver with broken count: 0 2054s Starting 2 pkgProblemResolver with broken count: 0 2054s Done 2056s The following NEW packages will be installed: 2056s autopkgtest-satdep 2056s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2056s Need to get 0 B/772 B of archives. 2056s After this operation, 0 B of additional disk space will be used. 2056s Get:1 /tmp/autopkgtest.NjkkEa/14-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 2058s Selecting previously unselected package autopkgtest-satdep. 2058s (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 ... 76889 files and directories currently installed.) 2058s Preparing to unpack .../14-autopkgtest-satdep.deb ... 2058s Unpacking autopkgtest-satdep (0) ... 2058s Setting up autopkgtest-satdep (0) ... 2064s (Reading database ... 76889 files and directories currently installed.) 2064s Removing autopkgtest-satdep (0) ... 2066s autopkgtest [13:35:22]: test threadtests: [----------------------- 2066s Running test: glib/threadtests.test 2066s TAP version 13 2066s # random seed: R02S29a4ac467f6f21e756efa078d0e62083 2066s 1..5 2066s # Start of GObject tests 2066s ok 1 /GObject/threaded-object-init 2069s ok 2 /GObject/threaded-weak-ref 2069s # slow test /GObject/threaded-weak-ref executed in 2.58 secs 2069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2069s # /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 2071s Executing: glib/threadtests.test 2073s ok 3 /GObject/threaded-toggle-notify 2073s # slow test /GObject/threaded-toggle-notify executed in 4.35 secs 2073s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2073s # Start of threaded-weak-ref tests 2073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2073s # /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. 2073s ok 5 /GObject/threaded-weak-ref/on-finalization 2073s # End of threaded-weak-ref tests 2073s # End of GObject tests 2073s PASS: glib/threadtests.test 2073s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=4.6s; system=2.2s; maxrss=3200 2074s autopkgtest [13:35:30]: test threadtests: -----------------------] 2074s autopkgtest [13:35:30]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2074s threadtests PASS 2075s autopkgtest [13:35:31]: test timeout: preparing testbed 2079s Reading package lists... 2080s Building dependency tree... 2080s Reading state information... 2081s Starting pkgProblemResolver with broken count: 0 2081s Starting 2 pkgProblemResolver with broken count: 0 2081s Done 2083s The following NEW packages will be installed: 2083s autopkgtest-satdep 2084s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2084s Need to get 0 B/772 B of archives. 2084s After this operation, 0 B of additional disk space will be used. 2084s Get:1 /tmp/autopkgtest.NjkkEa/15-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 2085s Selecting previously unselected package autopkgtest-satdep. 2085s (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 ... 76889 files and directories currently installed.) 2085s Preparing to unpack .../15-autopkgtest-satdep.deb ... 2085s Unpacking autopkgtest-satdep (0) ... 2085s Setting up autopkgtest-satdep (0) ... 2093s (Reading database ... 76889 files and directories currently installed.) 2093s Removing autopkgtest-satdep (0) ... 2094s autopkgtest [13:35:50]: test timeout: [----------------------- 2095s Running test: glib/timeout.test 2095s TAP version 13 2095s # random seed: R02S02620f68772f2b554d90752d712c1d25 2095s 1..5 2095s # Start of timeout tests 2095s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2097s ok 1 /timeout/seconds 2097s # slow test /timeout/seconds executed in 2.10 secs 2099s ok 2 /timeout/seconds-once 2099s # slow test /timeout/seconds-once executed in 2.10 secs 2099s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2100s Executing: glib/timeout.test 2101s ok 3 /timeout/weeks-overflow 2101s # slow test /timeout/weeks-overflow executed in 2.10 secs 2101s ok 4 /timeout/far-future-ready-time 2105s Executing: glib/timeout.test 2110s Executing: glib/timeout.test 2111s ok 5 /timeout/rounding 2111s # slow test /timeout/rounding executed in 10.14 secs 2111s # End of timeout tests 2111s PASS: glib/timeout.test 2111s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2111s autopkgtest [13:36:07]: test timeout: -----------------------] 2112s autopkgtest [13:36:08]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2112s timeout PASS 2113s autopkgtest [13:36:09]: test timer: preparing testbed 2116s Reading package lists... 2116s Building dependency tree... 2116s Reading state information... 2117s Starting pkgProblemResolver with broken count: 0 2118s Starting 2 pkgProblemResolver with broken count: 0 2118s Done 2120s The following NEW packages will be installed: 2120s autopkgtest-satdep 2120s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2120s Need to get 0 B/772 B of archives. 2120s After this operation, 0 B of additional disk space will be used. 2120s Get:1 /tmp/autopkgtest.NjkkEa/16-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 2122s Selecting previously unselected package autopkgtest-satdep. 2122s (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 ... 76889 files and directories currently installed.) 2122s Preparing to unpack .../16-autopkgtest-satdep.deb ... 2122s Unpacking autopkgtest-satdep (0) ... 2122s Setting up autopkgtest-satdep (0) ... 2129s (Reading database ... 76889 files and directories currently installed.) 2129s Removing autopkgtest-satdep (0) ... 2130s autopkgtest [13:36:26]: test timer: [----------------------- 2130s Running test: glib/timer.test 2130s TAP version 13 2130s # random seed: R02S5e851b2a33072ddc7b39d738305ec4ac 2130s 1..10 2130s # Start of timer tests 2130s ok 1 /timer/basic 2130s ok 2 /timer/stop 2130s ok 3 /timer/continue 2130s ok 4 /timer/reset 2130s ok 5 /timer/is_active 2130s # End of timer tests 2130s # Start of timeval tests 2130s ok 6 /timeval/add 2130s ok 7 /timeval/from-iso8601 2130s ok 8 /timeval/to-iso8601 2130s # Start of to-iso8601 tests 2130s ok 9 /timeval/to-iso8601/overflow 2130s # End of to-iso8601 tests 2130s # End of timeval tests 2130s # Start of usleep tests 2130s ok 10 /usleep/with-zero-wait 2130s # End of usleep tests 2130s PASS: glib/timer.test 2130s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2131s autopkgtest [13:36:27]: test timer: -----------------------] 2132s timer PASS 2132s autopkgtest [13:36:28]: test timer: - - - - - - - - - - results - - - - - - - - - - 2132s autopkgtest [13:36:28]: @@@@@@@@@@@@@@@@@@@@ summary 2132s build PASS (superficial) 2132s build-static PASS (superficial) 2132s installed-tests PASS 2132s closure-refcount PASS 2132s debugcontroller PASS 2132s gdbus-server-auth PASS 2132s gdbus-threading PASS 2132s gmenumodel PASS 2132s mainloop PASS 2132s memory-monitor-dbus PASS 2132s socket PASS 2132s testfilemonitor PASS 2132s thread-pool-slow PASS 2132s threadtests PASS 2132s timeout PASS 2132s timer PASS 2144s Creating nova instance adt-noble-arm64-glib2.0-20240316-130056-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240316.img (UUID 9d2e92bf-2787-45c2-ae22-99fb4bcc175e)... 2144s Creating nova instance adt-noble-arm64-glib2.0-20240316-130056-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240316.img (UUID 9d2e92bf-2787-45c2-ae22-99fb4bcc175e)...